mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 13:50:31 +00:00
fix(webapp): change the default from/to date values of reports
This commit is contained in:
@@ -20,7 +20,7 @@ export default function ReceivableAgingSummaryTable({
|
||||
}) {
|
||||
// AR aging summary report context.
|
||||
const {
|
||||
ARAgingSummary: { table },
|
||||
ARAgingSummary: { table, query },
|
||||
isARAgingLoading,
|
||||
} = useARAgingSummaryContext();
|
||||
|
||||
@@ -31,7 +31,7 @@ export default function ReceivableAgingSummaryTable({
|
||||
<FinancialSheet
|
||||
companyName={organizationName}
|
||||
sheetType={intl.get('receivable_aging_summary')}
|
||||
asDate={new Date()}
|
||||
asDate={query.as_date}
|
||||
loading={isARAgingLoading}
|
||||
>
|
||||
<ARAgingSummaryDataTable
|
||||
|
||||
Reference in New Issue
Block a user