mirror of
https://github.com/frappe/books.git
synced 2025-01-08 17:24:05 +00:00
filter to show only uncacnelled invoices
This commit is contained in:
parent
c0c1c26d8d
commit
679904ac6a
@ -5,6 +5,7 @@ class GSTR1 extends BaseGSTR {
|
||||
if (!Object.keys(params).length) return [];
|
||||
|
||||
let filters = {};
|
||||
filters.cancelled = 0;
|
||||
if (params.toDate || params.fromDate) {
|
||||
filters.date = [];
|
||||
if (params.toDate) filters.date.push('<=', params.toDate);
|
||||
|
Loading…
Reference in New Issue
Block a user