feat: APAgingSummary.

This commit is contained in:
elforjani3
2021-01-24 22:58:47 +02:00
parent 1a89730855
commit 201d789cb8
17 changed files with 893 additions and 154 deletions

View File

@@ -97,16 +97,17 @@ function ReceivableAgingSummarySheet({
const handleNumberFormatSubmit = (numberFormat) => {
setQuery({
...query,
numberFormat
numberFormat,
});
refreshARAgingSummary(true);
};
console.log(query, 'EE');
return (
<DashboardInsider>
<ARAgingSummaryActionsBar
numberFormat={query.numberFormat}
onNumberFormatSubmit={handleNumberFormatSubmit}/>
onNumberFormatSubmit={handleNumberFormatSubmit}
/>
<DashboardPageContent>
<FinancialStatement>

View File

@@ -48,7 +48,6 @@ function ARAgingSummaryActionsBar({
const handleNumberFormatSubmit = (numberFormat) => {
safeInvoke(onNumberFormatSubmit, numberFormat);
};
return (
<DashboardActionsBar>
<NavbarGroup>
@@ -98,7 +97,7 @@ function ARAgingSummaryActionsBar({
className={Classes.MINIMAL}
text={<T id={'filter'} />}
icon={<Icon icon="filter-16" iconSize={16} />}
/>
/>
<NavbarDivider />
<Button