mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
fix: realized and unrealized report.
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import React from 'react';
|
||||
|
||||
import { FinancialStatement } from 'components';
|
||||
|
||||
import DashboardPageContent from 'components/Dashboard/DashboardPageContent';
|
||||
|
||||
import RealizedGainOrLossHeader from './RealizedGainOrLossHeader';
|
||||
import RealizedGainOrLossTable from './RealizedGainOrLossTable';
|
||||
import RealizedGainOrLossActionsBar from './RealizedGainOrLossActionsBar';
|
||||
|
||||
import withCurrentOrganization from '../../Organization/withCurrentOrganization';
|
||||
@@ -28,9 +26,6 @@ function RealizedGainOrLoss({
|
||||
// Handle refetch realized Gain or Loss after filter change.
|
||||
const handleFilterSubmit = (filter) => {};
|
||||
|
||||
// Handle format number submit.
|
||||
const handleNumberFormatSubmit = (values) => {};
|
||||
|
||||
React.useEffect(
|
||||
() => () => {
|
||||
toggleRealizedGainOrLossFilterDrawer(false);
|
||||
@@ -49,10 +44,6 @@ function RealizedGainOrLoss({
|
||||
onSubmitFilter={handleFilterSubmit}
|
||||
/>
|
||||
<RealizedGainOrLossLoadingBar />
|
||||
|
||||
<div className="financial-statement__body">
|
||||
<RealizedGainOrLossTable companyName={organizationName} />
|
||||
</div>
|
||||
</FinancialStatement>
|
||||
</DashboardPageContent>
|
||||
</RealizedGainOrLossProvider>
|
||||
|
||||
@@ -4,7 +4,6 @@ import { FinancialStatement } from 'components';
|
||||
import DashboardPageContent from 'components/Dashboard/DashboardPageContent';
|
||||
|
||||
import UnrealizedGainOrLossHeader from './UnrealizedGainOrLossHeader';
|
||||
import UnrealizedGainOrLossTable from './UnrealizedGainOrLossTable';
|
||||
import UnrealizedGainOrLossActionsBar from './UnrealizedGainOrLossActionsBar';
|
||||
|
||||
import withCurrentOrganization from '../../Organization/withCurrentOrganization';
|
||||
@@ -27,9 +26,6 @@ function UnrealizedGainOrLoss({
|
||||
// Handle refetch unrealized Gain or Loss after filter change.
|
||||
const handleFilterSubmit = (filter) => {};
|
||||
|
||||
// Handle format number submit.
|
||||
const handleNumberFormatSubmit = (values) => {};
|
||||
|
||||
React.useEffect(
|
||||
() => () => {
|
||||
toggleUnrealizedGainOrLossFilterDrawer(false);
|
||||
@@ -48,9 +44,6 @@ function UnrealizedGainOrLoss({
|
||||
/>
|
||||
|
||||
<UnrealizedGainOrLossLoadingBar />
|
||||
<div className="financial-statement__body">
|
||||
<UnrealizedGainOrLossTable companyName={organizationName} />
|
||||
</div>
|
||||
</FinancialStatement>
|
||||
</DashboardPageContent>
|
||||
</UnrealizedGainOrLossProvider>
|
||||
|
||||
Reference in New Issue
Block a user