mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-18 22:00:31 +00:00
refactor(PurchaseByItem)
This commit is contained in:
10
src/containers/FinancialStatements/PurchasesByItems/utils.js
Normal file
10
src/containers/FinancialStatements/PurchasesByItems/utils.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import moment from 'moment';
|
||||
|
||||
|
||||
export const getDefaultPurchasesByItemsQuery = () => {
|
||||
return {
|
||||
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
|
||||
toDate: moment().endOf('year').format('YYYY-MM-DD'),
|
||||
filterByOption: 'with-transactions',
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user