fix financial statements.

This commit is contained in:
Ahmed Bouhuolia
2020-05-25 09:07:07 +02:00
parent ab21f439e2
commit 5369b3661a
10 changed files with 63 additions and 100 deletions

View File

@@ -25,6 +25,8 @@ function JournalSheetTable({
onFetchData,
companyName,
}) {
const { formatMessage } = useIntl();
const rowTypeFilter = (rowType, value, types) => {
return (types.indexOf(rowType) === -1) ? '' : value;
};
@@ -32,7 +34,6 @@ function JournalSheetTable({
const exceptRowTypes = (rowType, value, types) => {
return (types.indexOf(rowType) !== -1) ? '' : value;
};
const {formatMessage} =useIntl();
const columns = useMemo(() => [
{
@@ -100,9 +101,8 @@ const {formatMessage} =useIntl();
columns={columns}
data={journalSheetTableRows}
onFetchData={handleFetchData}
noResults={"This report does not contain any data."}
expanded={expandedRows}
noInitialFetch={true} />
noResults={"This report does not contain any data between date period."}
expanded={expandedRows} />
</FinancialSheet>
);
}