refactor(Cashflow)

refactor(InventoryValuation)
This commit is contained in:
a.bouhuolia
2022-02-12 18:59:34 +02:00
parent 4cc0a8c41e
commit b249335a73
5 changed files with 29 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
import React, { useState, useEffect } from 'react';
import moment from 'moment';
import 'style/pages/FinancialStatements/CashFlowStatement.scss';
import { FinancialStatement } from 'components';
import DashboardPageContent from 'components/Dashboard/DashboardPageContent';

View File

@@ -19,7 +19,6 @@ export default function CashFlowStatementTable({
}) {
const {
cashFlowStatement: { tableRows },
isCashFlowLoading,
query,
} = useCashFlowStatementContext();
@@ -31,10 +30,8 @@ export default function CashFlowStatementTable({
);
return (
<FinancialSheet
name="cash-flow-statement"
companyName={companyName}
sheetType={intl.get('statement_of_cash_flow')}
loading={isCashFlowLoading}
fromDate={query.from_date}
toDate={query.to_date}
basis={query.basis}