fix: cancel button in payment made.

This commit is contained in:
elforjani13
2021-09-21 19:50:14 +02:00
parent a880d8cd85
commit 0f444a0c66
2 changed files with 4 additions and 2 deletions

View File

@@ -32,7 +32,9 @@ function PaymentMadeDeleteAlert({
useDeletePaymentMade();
// Handle cancel payment made.
const handleCancelPaymentMadeDelete = () => {};
const handleCancelPaymentMadeDelete = () => {
closeAlert(name);
};
// Handle confirm delete payment made
const handleConfirmPaymentMadeDelete = () => {

View File

@@ -31,7 +31,7 @@ export const usePaymentReceiveEntriesColumns = () =>
},
{
Header: intl.get('amount_due'),
accessor: 'invoice.amount_due',
accessor: 'invoice.due_amount',
Cell: FormatNumberCell,
align: 'right',
width: 100,