fix: BIG-206 Reconcilate credit note and vendor credit with invoices should amount to credit be max the invoice remaining amount.

This commit is contained in:
a.bouhuolia
2021-12-30 15:39:22 +02:00
parent 0bd11419bb
commit 0173630e80
6 changed files with 105 additions and 13 deletions

View File

@@ -58,7 +58,6 @@ function ReconcileCreditNoteForm({
...values,
entries: entries,
};
// Handle the request success.
const onSuccess = (response) => {
AppToaster.show({
@@ -68,7 +67,6 @@ function ReconcileCreditNoteForm({
setSubmitting(false);
closeDialog(dialogName);
};
// Handle the request error.
const onError = ({
response: {