BIG-3: refactoring financial reports filtering.

This commit is contained in:
elforjani13
2021-09-25 21:17:17 +02:00
parent 010b660318
commit cd5116dbcb
30 changed files with 188 additions and 185 deletions

View File

@@ -34,7 +34,7 @@ function GeneralLedger({
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
toDate: moment().endOf('year').format('YYYY-MM-DD'),
basis: 'accural',
accountsFilter: 'with-transactions',
filterByOption: 'with-transactions',
});
// Handle financial statement filter change.

View File

@@ -35,7 +35,7 @@ function GLHeaderGeneralPaneContent() {
<FinancialStatementDateRange />
<FinancialStatementsFilter
items={filterAccountsOptions}
initialSelectedItem={'all-accounts'}
initialSelectedItem={'with-transactions'}
/>
<Row>
<Col xs={4}>