Fixed IGST ISSUE (#14975)
* Fixed IGST ISSUE
the flag was not getting reset causing only the first IGST value to be shown and the rest went into SGST and CGST this fixes it
* Update gstr_2.py
diff --git a/erpnext/regional/report/gstr_2/gstr_2.py b/erpnext/regional/report/gstr_2/gstr_2.py
index 0a2e968..0605695 100644
--- a/erpnext/regional/report/gstr_2/gstr_2.py
+++ b/erpnext/regional/report/gstr_2/gstr_2.py
@@ -71,8 +71,6 @@
is_igst = True if d[1] in self.gst_accounts.igst_account else False
if is_igst and d[0] not in self.igst_invoices:
self.igst_invoices.append(d[0])
- if is_igst:
- break
def get_conditions(self):
conditions = ""