chore: Linting Issues

This commit is contained in:
Deepesh Garg
2022-10-01 16:06:31 +05:30
parent b7fbf75e10
commit c4c52c1cd3

View File

@@ -606,7 +606,7 @@ def get_ewb_data(dt, dn):
if is_intrastate_transfer_eway_bill(data):
data.docType = "CHL"
data.subSupplyType = 8
data.itemList = []
data.totalValue = doc.total
@@ -648,9 +648,11 @@ def get_ewb_data(dt, dn):
return data
def is_intrastate_transfer_eway_bill(data):
return data.fromGstin == data.toGstin
@frappe.whitelist()
def generate_ewb_json(dt, dn):
dn = json.loads(dn)