From 679904ac6af7c4e9317d88db74c52e81687ce7c7 Mon Sep 17 00:00:00 2001 From: Ankit Singhaniya Date: Wed, 15 Dec 2021 00:35:51 +0530 Subject: [PATCH] filter to show only uncacnelled invoices --- reports/GoodsAndServiceTax/GSTR1.js | 1 + 1 file changed, 1 insertion(+) diff --git a/reports/GoodsAndServiceTax/GSTR1.js b/reports/GoodsAndServiceTax/GSTR1.js index 1491a7e7..acd91069 100644 --- a/reports/GoodsAndServiceTax/GSTR1.js +++ b/reports/GoodsAndServiceTax/GSTR1.js @@ -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);