fix: add credited_amount & calculate remaining.

This commit is contained in:
elforjani13
2021-12-09 16:55:29 +02:00
parent ca746df86d
commit 91d1dddfed
6 changed files with 28 additions and 19 deletions

View File

@@ -64,7 +64,7 @@ export const statusAccessor = (row) => {
animate={false}
stripes={false}
intent={Intent.PRIMARY}
value={calculateStatus(row.payment_amount, row.balance)}
value={calculateStatus(row.credited_amount, row.balance)}
/>
</If>
</Choose.When>