feat(financial reports): add branch multi select.

This commit is contained in:
elforjani13
2022-02-16 20:43:00 +02:00
parent c01fa85198
commit cffcef6f43
18 changed files with 392 additions and 31 deletions

View File

@@ -8,6 +8,7 @@ import { FormattedMessage as T } from 'components';
import FinancialStatementHeader from 'containers/FinancialStatements/FinancialStatementHeader';
import ProfitLossSheetHeaderGeneralPane from './ProfitLossSheetHeaderGeneralPane';
import ProfitLossSheetHeaderComparisonPanel from './ProfitLossSheetHeaderComparisonPanel';
import ProfitLossSheetHeaderDimensionsPanel from './ProfitLossSheetHeaderDimensionsPanel';
import withProfitLoss from './withProfitLoss';
import withProfitLossActions from './withProfitLossActions';
@@ -52,7 +53,7 @@ function ProfitLossHeader({
toggleFilterDrawer(false);
};
return (
return (
<FinancialStatementHeader
isOpen={profitLossDrawerFilter}
drawerProps={{ onClose: handleDrawerClose }}
@@ -74,6 +75,11 @@ function ProfitLossHeader({
title={<T id={'profit_loss_sheet.comparisons'} />}
panel={<ProfitLossSheetHeaderComparisonPanel />}
/>
<Tab
id="dimensions"
title={'Dimensions'}
panel={<ProfitLossSheetHeaderDimensionsPanel />}
/>
</Tabs>
<div class="financial-header-drawer__footer">