Skip to content

Commit

Permalink
Merge pull request #144 from 8848digital/58-Sales-Funnel-report
Browse files Browse the repository at this point in the history
fix: fix the Sales Funnel page
  • Loading branch information
aasif-patel authored Oct 1, 2024
2 parents 8a0b822 + bece518 commit d45f45c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion erpnext/selling/page/sales_funnel/sales_funnel.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def get_funnel_data(from_date, to_date, company):
quotations = frappe.db.sql(
"""select count(*) from `tabQuotation`
where docstatus = 1 and (date(`creation`) between %s and %s)
and (opportunity!="" or quotation_to="Lead") and company=%s""",
and (opportunity!='' or quotation_to='Lead') and company=%s""",
(from_date, to_date, company),
)[0][0]

Expand Down

0 comments on commit d45f45c

Please sign in to comment.