Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
Fix: Sum In Payment Assignment (#2999)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricargame authored Nov 20, 2024
1 parent 6dcae00 commit 7e4fc4c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,11 @@ export default defineComponent({
const { transaction_type } = list
if (list.type === 'isInvoce') {
if (transaction_type.value === 'R') {
return -(list.open_amount)
return -(list.amountApplied)
}
return list.open_amount
return list.applied
}
return list.open_amount
return list.applied
})
const sumPayment = selectListAll.value.filter(list => {
return list.type !== 'isInvoce'
Expand Down

0 comments on commit 7e4fc4c

Please sign in to comment.