mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 19:19:17 +00:00
Initialized loyalty_point_details
This commit is contained in:
@@ -479,6 +479,8 @@ def get_dashboard_info(party_type, party, loyalty_program=None):
|
|||||||
fields=["company", "sum(grand_total) as grand_total", "sum(base_grand_total) as base_grand_total"]
|
fields=["company", "sum(grand_total) as grand_total", "sum(base_grand_total) as base_grand_total"]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
loyalty_point_details = []
|
||||||
|
|
||||||
if party_type == "Customer":
|
if party_type == "Customer":
|
||||||
loyalty_point_details = frappe._dict(frappe.get_all("Loyalty Point Entry",
|
loyalty_point_details = frappe._dict(frappe.get_all("Loyalty Point Entry",
|
||||||
filters={
|
filters={
|
||||||
|
|||||||
Reference in New Issue
Block a user