优化
This commit is contained in:
@@ -207,8 +207,7 @@ async function recoverExistingDemo(context, reportPath) {
|
||||
continue
|
||||
}
|
||||
const approved = await approveAndInclude(context, { feeSourceId: payableIds[index] }, role)
|
||||
const existing = approved?.statementGenerated === true
|
||||
? await recoverPayable(context, matrix.payableSettlements[role], payableIds[index]) : null
|
||||
const existing = await recoverPayable(context, matrix.payableSettlements[role], payableIds[index])
|
||||
const recoverySupplierId = role === 'apPartial'
|
||||
? id(matrix.payableSettlements?.apPaid?.supplierId)
|
||||
: id(fixture.supplier?.supplierId)
|
||||
|
||||
Reference in New Issue
Block a user