feat: add reconcile vendor credit.

This commit is contained in:
elforjani13
2021-12-08 14:33:33 +02:00
parent 80b8083059
commit 5963d14fdd
19 changed files with 628 additions and 4 deletions

View File

@@ -51,7 +51,7 @@ function ReconcileCreditNoteForm({
// Filters the entries.
const entries = values.entries
.filter((entry) => entry.id && entry.amount)
.filter((entry) => entry.invoice_id && entry.amount)
.map((entry) => transformToForm(entry, defaultInitialValues.entries[0]));
const form = {

View File

@@ -32,7 +32,7 @@ function ReconcileCreditNoteFormFloatingActions({
</Button>
<Button
intent={Intent.PRIMARY}
style={{ minWidth: '85px' }}
style={{ minWidth: '95px' }}
type="submit"
loading={isSubmitting}
>