feat: integrate balance sheet and P&L sheet with new API.

This commit is contained in:
a.bouhuolia
2022-01-30 15:57:27 +02:00
parent fa455152a3
commit 3d78d2d051
13 changed files with 147 additions and 256 deletions

View File

@@ -36,14 +36,13 @@ export default function BalanceSheetTable({
name="balance-sheet"
companyName={companyName}
sheetType={intl.get('balance_sheet')}
// fromDate={query.from_date}
// toDate={query.to_date}
// basis={query.basis}
// loading={isLoading}
fromDate={query.from_date}
toDate={query.to_date}
basis={query.basis}
>
<BalanceSheetDataTable
columns={tableColumns}
data={table?.rows || []}
data={table.rows}
rowClassNames={tableRowTypesToClassnames}
noInitialFetch={true}
expandable={true}