[Fix] Invalid Syntax in gstr_1.py (#12946)
* [Fix] Added missing parenthesis in gstr_1.py
* Minor change
diff --git a/erpnext/regional/report/gstr_1/gstr_1.py b/erpnext/regional/report/gstr_1/gstr_1.py
index 9120923..c9ad8ec 100644
--- a/erpnext/regional/report/gstr_1/gstr_1.py
+++ b/erpnext/regional/report/gstr_1/gstr_1.py
@@ -119,8 +119,8 @@
if self.filters.get("type_of_business") == "B2C Large":
conditions += """ and SUBSTR(place_of_supply, 1, 2) != SUBSTR(company_gstin, 1, 2)
and grand_total > {0} and is_return != 1 and customer in ('{1}')""".\
- format((flt(b2c_limit), "', '".join([frappe.db.escape(c.name) for c in customers]) )
-
+ format(flt(b2c_limit), "', '".join([frappe.db.escape(c.name) for c in customers]))
+
elif self.filters.get("type_of_business") == "B2C Small":
conditions += """ and (
SUBSTR(place_of_supply, 1, 2) = SUBSTR(company_gstin, 1, 2)
@@ -483,4 +483,4 @@
"width": 120
}
]
- self.columns = self.invoice_columns + self.tax_columns + self.other_columns
+ self.columns = self.invoice_columns + self.tax_columns + self.other_columns
\ No newline at end of file