mirror of
https://github.com/frappe/books.git
synced 2024-12-22 10:58:59 +00:00
fix: adjust 'this month' cash flow option to start from current month
This commit is contained in:
parent
20a4a8c727
commit
3b2bf08265
@ -29,7 +29,7 @@ export function getDatesAndPeriodList(period: PeriodKey): {
|
||||
} else if (period === 'This Quarter') {
|
||||
fromDate = toDate.minus({ months: 3 });
|
||||
} else if (period === 'This Month') {
|
||||
fromDate = toDate.minus({ months: 1 });
|
||||
fromDate = toDate.startOf('month');
|
||||
} else {
|
||||
fromDate = toDate.minus({ days: 1 });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user