Update customer_credit_balance.py
This commit is contained in:
parent
7834a0182b
commit
c78c86663d
@ -60,7 +60,7 @@ def get_details(filters):
|
|||||||
conditions = ""
|
conditions = ""
|
||||||
|
|
||||||
if filters.get("customer"):
|
if filters.get("customer"):
|
||||||
conditions += " AND name = " + filters.get("customer")
|
conditions += " AND c.name = " + filters.get("customer")
|
||||||
|
|
||||||
return frappe.db.sql("""SELECT
|
return frappe.db.sql("""SELECT
|
||||||
c.name, c.customer_name,
|
c.name, c.customer_name,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user