mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
BIG-3: refactoring financial reports filtering.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -35,7 +35,7 @@ function GLHeaderGeneralPaneContent() {
|
||||
<FinancialStatementDateRange />
|
||||
<FinancialStatementsFilter
|
||||
items={filterAccountsOptions}
|
||||
initialSelectedItem={'all-accounts'}
|
||||
initialSelectedItem={'with-transactions'}
|
||||
/>
|
||||
<Row>
|
||||
<Col xs={4}>
|
||||
|
||||
Reference in New Issue
Block a user