WIP Financial statements.

This commit is contained in:
Ahmed Bouhuolia
2020-04-05 17:49:44 +02:00
parent b09fc58042
commit b2d1a09612
21 changed files with 138 additions and 40 deletions

View File

@@ -9,11 +9,11 @@ import { compose, defaultExpanderReducer } from 'utils';
function ProfitLossSheetTable({
loading,
data,
onFetchData,
profitLossTableRows,
profitLossQuery,
profitLossColumns
profitLossColumns,
companyName,
}) {
const columns = useMemo(() => [
{
@@ -113,11 +113,12 @@ function ProfitLossSheetTable({
return (
<FinancialSheet
companyTitle={'Facebook, Incopration'}
companyName={companyName}
sheetType={'Profit/Loss Sheet'}
date={new Date()}
name="profit-loss-sheet"
loading={loading}>
loading={loading}
basis={profitLossQuery.basis}>
<DataTable
className="bigcapital-datatable--financial-report"