mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 17:55:40 +00:00
Merge pull request #12574 from rohitwaghchaure/sales_payment_summary_issue
[Fix] Sales payment summary issue
This commit is contained in:
@@ -37,7 +37,7 @@ def get_sales_payment_data(filters, columns):
|
||||
|
||||
def get_conditions(filters):
|
||||
conditions = "1=1"
|
||||
if filters.get("from_date"): conditions += "a.posting_date >= %(from_date)s"
|
||||
if filters.get("from_date"): conditions += " and a.posting_date >= %(from_date)s"
|
||||
if filters.get("to_date"): conditions += " and a.posting_date <= %(to_date)s"
|
||||
if filters.get("company"): conditions += " and a.company=%(company)s"
|
||||
if filters.get("customer"): conditions += " and a.customer = %(customer)s"
|
||||
|
||||
Reference in New Issue
Block a user