mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-22 15:50:32 +00:00
fix: realized and unrealized report.
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user