mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 23:22:52 +00:00
Minor fix in sales funnel report
This commit is contained in:
@@ -22,7 +22,7 @@ def get_funnel_data(from_date, to_date):
|
||||
where docstatus = 1 and (date(`creation`) between %s and %s)
|
||||
and status != "Lost" """, (from_date, to_date))[0][0]
|
||||
|
||||
sales_orders = frappe.db.sql("""select count(*) from `tabQuotation`
|
||||
sales_orders = frappe.db.sql("""select count(*) from `tabSales Order`
|
||||
where docstatus = 1 and (date(`creation`) between %s and %s)""", (from_date, to_date))[0][0]
|
||||
|
||||
return [
|
||||
|
||||
Reference in New Issue
Block a user