mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-16 16:15:02 +00:00
[minor] [fix] Use customer_name in Sales Analytics
This commit is contained in:
@@ -34,14 +34,14 @@ erpnext.SalesAnalytics = frappe.views.TreeGridReport.extend({
|
||||
show: true,
|
||||
item_key: "customer",
|
||||
parent_field: "parent_customer_group",
|
||||
formatter: function(item) { return item.name; }
|
||||
formatter: function(item) { return item.customer_name || item.name; }
|
||||
},
|
||||
"Customer": {
|
||||
label: __("Customer"),
|
||||
show: false,
|
||||
item_key: "customer",
|
||||
formatter: function(item) {
|
||||
return item.name;
|
||||
return item.customer_name || item.name;
|
||||
}
|
||||
},
|
||||
"Item Group": {
|
||||
|
||||
Reference in New Issue
Block a user