fix: BIG-132 AR/AP aging summary report filter by none transactions/zero contacts.

This commit is contained in:
a.bouhuolia
2021-10-31 12:35:50 +02:00
parent 60f45f281a
commit cbce9f6d50
32 changed files with 241 additions and 122 deletions

View File

@@ -49,6 +49,7 @@ function APAgingSummaryHeader({
agingDaysBefore: 30,
agingPeriods: 3,
vendorsIds: [],
filterByOption: 'without-zero-balance',
};
// Formik initial values.
const initialValues = transformToForm(pageFilter, defaultValues);
@@ -61,10 +62,14 @@ function APAgingSummaryHeader({
};
// Handle cancel button click.
const handleCancelClick = () => { toggleFilterDrawerDisplay(false); };
const handleCancelClick = () => {
toggleFilterDrawerDisplay(false);
};
// Handle the drawer closing.
const handleDrawerClose = () => { toggleFilterDrawerDisplay(false); };
const handleDrawerClose = () => {
toggleFilterDrawerDisplay(false);
};
return (
<FinancialStatementHeader