fix: Styling fixes

This commit is contained in:
deepeshgarg007
2019-05-29 08:10:07 +05:30
parent c5a682e9d9
commit 217df1761d

View File

@@ -115,7 +115,7 @@ def get_filter_conditions(filters):
def get_lead_quotation_count(leads):
return frappe.db.sql("""select count(name) from `tabQuotation`
where quotation_to = 'Lead' and party_name in (%s)""" % ', '.join(["%s"]*len(leads)), tuple(leads))[0][0]
where quotation_to = 'Lead' and party_name in (%s)""" % ', '.join(["%s"]*len(leads)), tuple(leads))[0][0] #nosec
def get_lead_opp_count(leads):
return frappe.db.sql("""select count(name) from `tabOpportunity`