refactor(TrialBalanceSheet): refactor with body sheet.

This commit is contained in:
a.bouhuolia
2022-02-10 11:44:50 +02:00
parent 83cd7ca893
commit 1f81fd213d
4 changed files with 61 additions and 26 deletions

View File

@@ -0,0 +1,11 @@
import moment from 'moment';
export function getDefaultTrialBalanceQuery() {
return {
fromDate: moment().startOf('year').format('YYYY-MM-DD'),
toDate: moment().endOf('year').format('YYYY-MM-DD'),
basis: 'accural',
filterByOption: 'with-transactions',
};
}