mirror of
https://github.com/frappe/books.git
synced 2025-01-24 07:38:25 +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 [];
|
if (!Object.keys(params).length) return [];
|
||||||
|
|
||||||
let filters = {};
|
let filters = {};
|
||||||
|
filters.cancelled = 0;
|
||||||
if (params.toDate || params.fromDate) {
|
if (params.toDate || params.fromDate) {
|
||||||
filters.date = [];
|
filters.date = [];
|
||||||
if (params.toDate) filters.date.push('<=', params.toDate);
|
if (params.toDate) filters.date.push('<=', params.toDate);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user