mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
fix: Code cleanup
This commit is contained in:
@@ -39,7 +39,6 @@ class Gstr1Report(object):
|
|||||||
shipping_bill_date,
|
shipping_bill_date,
|
||||||
reason_for_issuing_document
|
reason_for_issuing_document
|
||||||
"""
|
"""
|
||||||
# self.customer_type = "Company" if self.filters.get("type_of_business") == "B2B" else "Individual"
|
|
||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
self.get_columns()
|
self.get_columns()
|
||||||
@@ -146,7 +145,6 @@ class Gstr1Report(object):
|
|||||||
if self.filters.get(opts[0]):
|
if self.filters.get(opts[0]):
|
||||||
conditions += opts[1]
|
conditions += opts[1]
|
||||||
|
|
||||||
# customers = frappe.get_all("Customer", filters={"customer_type": self.customer_type})
|
|
||||||
|
|
||||||
if self.filters.get("type_of_business") == "B2B":
|
if self.filters.get("type_of_business") == "B2B":
|
||||||
customers = frappe.get_all("Customer",
|
customers = frappe.get_all("Customer",
|
||||||
|
|||||||
Reference in New Issue
Block a user