fix: branch & warehouse multi select.

This commit is contained in:
elforjani13
2022-03-16 22:59:26 +02:00
parent d85133b35e
commit 7f3a494c8d
9 changed files with 14 additions and 12 deletions

View File

@@ -51,13 +51,12 @@ function ARAgingSummaryHeader({
branchesIds: [],
filterByOption: 'without-zero-balance',
};
// Initial values.
const initialValues = transformToForm(
{
...pageFilter,
asDate: moment(pageFilter.asDate).toDate(),
branchesIds: [],
},
defaultValues,
);

View File

@@ -15,5 +15,6 @@ export const getDefaultARAgingSummaryQuery = () => {
agingPeriods: 3,
customersIds: [],
filterByOption: 'without-zero-balance',
branchesIds: [],
};
};