fix: realized and unrealized report.

This commit is contained in:
a.bouhuolia
2022-02-13 15:12:50 +02:00
parent dd7516f6b2
commit 9463d8dc1c
2 changed files with 0 additions and 16 deletions

View File

@@ -1,11 +1,9 @@
import React from 'react'; import React from 'react';
import { FinancialStatement } from 'components'; import { FinancialStatement } from 'components';
import DashboardPageContent from 'components/Dashboard/DashboardPageContent'; import DashboardPageContent from 'components/Dashboard/DashboardPageContent';
import RealizedGainOrLossHeader from './RealizedGainOrLossHeader'; import RealizedGainOrLossHeader from './RealizedGainOrLossHeader';
import RealizedGainOrLossTable from './RealizedGainOrLossTable';
import RealizedGainOrLossActionsBar from './RealizedGainOrLossActionsBar'; import RealizedGainOrLossActionsBar from './RealizedGainOrLossActionsBar';
import withCurrentOrganization from '../../Organization/withCurrentOrganization'; import withCurrentOrganization from '../../Organization/withCurrentOrganization';
@@ -28,9 +26,6 @@ function RealizedGainOrLoss({
// Handle refetch realized Gain or Loss after filter change. // Handle refetch realized Gain or Loss after filter change.
const handleFilterSubmit = (filter) => {}; const handleFilterSubmit = (filter) => {};
// Handle format number submit.
const handleNumberFormatSubmit = (values) => {};
React.useEffect( React.useEffect(
() => () => { () => () => {
toggleRealizedGainOrLossFilterDrawer(false); toggleRealizedGainOrLossFilterDrawer(false);
@@ -49,10 +44,6 @@ function RealizedGainOrLoss({
onSubmitFilter={handleFilterSubmit} onSubmitFilter={handleFilterSubmit}
/> />
<RealizedGainOrLossLoadingBar /> <RealizedGainOrLossLoadingBar />
<div className="financial-statement__body">
<RealizedGainOrLossTable companyName={organizationName} />
</div>
</FinancialStatement> </FinancialStatement>
</DashboardPageContent> </DashboardPageContent>
</RealizedGainOrLossProvider> </RealizedGainOrLossProvider>

View File

@@ -4,7 +4,6 @@ import { FinancialStatement } from 'components';
import DashboardPageContent from 'components/Dashboard/DashboardPageContent'; import DashboardPageContent from 'components/Dashboard/DashboardPageContent';
import UnrealizedGainOrLossHeader from './UnrealizedGainOrLossHeader'; import UnrealizedGainOrLossHeader from './UnrealizedGainOrLossHeader';
import UnrealizedGainOrLossTable from './UnrealizedGainOrLossTable';
import UnrealizedGainOrLossActionsBar from './UnrealizedGainOrLossActionsBar'; import UnrealizedGainOrLossActionsBar from './UnrealizedGainOrLossActionsBar';
import withCurrentOrganization from '../../Organization/withCurrentOrganization'; import withCurrentOrganization from '../../Organization/withCurrentOrganization';
@@ -27,9 +26,6 @@ function UnrealizedGainOrLoss({
// Handle refetch unrealized Gain or Loss after filter change. // Handle refetch unrealized Gain or Loss after filter change.
const handleFilterSubmit = (filter) => {}; const handleFilterSubmit = (filter) => {};
// Handle format number submit.
const handleNumberFormatSubmit = (values) => {};
React.useEffect( React.useEffect(
() => () => { () => () => {
toggleUnrealizedGainOrLossFilterDrawer(false); toggleUnrealizedGainOrLossFilterDrawer(false);
@@ -48,9 +44,6 @@ function UnrealizedGainOrLoss({
/> />
<UnrealizedGainOrLossLoadingBar /> <UnrealizedGainOrLossLoadingBar />
<div className="financial-statement__body">
<UnrealizedGainOrLossTable companyName={organizationName} />
</div>
</FinancialStatement> </FinancialStatement>
</DashboardPageContent> </DashboardPageContent>
</UnrealizedGainOrLossProvider> </UnrealizedGainOrLossProvider>