refactor(PurchaseByItem)

This commit is contained in:
a.bouhuolia
2022-02-12 16:26:36 +02:00
parent cc42c21f24
commit a9a877f4fc
6 changed files with 86 additions and 43 deletions

View 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',
}
}