Merge branch 'APAging'

This commit is contained in:
elforjani3
2021-02-06 21:01:53 +02:00
17 changed files with 893 additions and 153 deletions

View File

@@ -33,6 +33,7 @@ function ReceivableAgingSummarySheet({
setDashboardBackLink,
setSidebarShrink,
// #withARAgingSummaryActions
requestReceivableAgingSummary,
refreshARAgingSummary,
@@ -99,16 +100,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