From 354d1e8f75b96d63c2a65d19faafb08199dd58e4 Mon Sep 17 00:00:00 2001 From: elforjani13 <39470382+elforjani13@users.noreply.github.com> Date: Mon, 24 Jan 2022 13:55:44 +0200 Subject: [PATCH] feat(P&L Comparisons): add P&L comparisons. --- .../ProfitLossSheet/ProfitLossSheetHeader.js | 6 + .../ProfitLossSheetHeaderComparisonPanel.js | 170 ++++++++++++++++++ src/lang/en/index.json | 11 +- 3 files changed, 186 insertions(+), 1 deletion(-) create mode 100644 src/containers/FinancialStatements/ProfitLossSheet/ProfitLossSheetHeaderComparisonPanel.js diff --git a/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossSheetHeader.js b/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossSheetHeader.js index 5e6ef56e1..6f33077e2 100644 --- a/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossSheetHeader.js +++ b/src/containers/FinancialStatements/ProfitLossSheet/ProfitLossSheetHeader.js @@ -8,6 +8,7 @@ import { Tabs, Tab, Button, Intent } from '@blueprintjs/core'; import FinancialStatementHeader from 'containers/FinancialStatements/FinancialStatementHeader'; import ProfitLossSheetHeaderGeneralPane from './ProfitLossSheetHeaderGeneralPane'; +import ProfitLossSheetHeaderComparisonPanel from './ProfitLossSheetHeaderComparisonPanel'; import withProfitLoss from './withProfitLoss'; import withProfitLossActions from './withProfitLossActions'; @@ -75,6 +76,11 @@ function ProfitLossHeader({ title={} panel={} /> + } + panel={} + />