mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
fix(server): change the default from/date date value of reports
This commit is contained in:
@@ -19,7 +19,7 @@ export const getVendorTransactionsQuerySchema = () => {
|
||||
* Retrieves the default query of vendors transactions.
|
||||
*/
|
||||
export const getVendorsTransactionsDefaultQuery = () => ({
|
||||
fromDate: moment().toDate(),
|
||||
fromDate: moment().startOf('month').toDate(),
|
||||
toDate: moment().toDate(),
|
||||
vendorsIds: [],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user