mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 05:28:27 +00:00
feat: icons in leaderboard
This commit is contained in:
@@ -12,6 +12,7 @@ def get_leaderboards():
|
||||
{'fieldname': 'outstanding_amount', 'fieldtype': 'Currency'}
|
||||
],
|
||||
"method": "erpnext.startup.leaderboard.get_all_customers",
|
||||
"icon": "customer"
|
||||
},
|
||||
"Item": {
|
||||
"fields": [
|
||||
@@ -23,6 +24,7 @@ def get_leaderboards():
|
||||
{'fieldname': 'available_stock_value', 'fieldtype': 'Currency'}
|
||||
],
|
||||
"method": "erpnext.startup.leaderboard.get_all_items",
|
||||
"icon": "stock"
|
||||
},
|
||||
"Supplier": {
|
||||
"fields": [
|
||||
@@ -31,6 +33,7 @@ def get_leaderboards():
|
||||
{'fieldname': 'outstanding_amount', 'fieldtype': 'Currency'}
|
||||
],
|
||||
"method": "erpnext.startup.leaderboard.get_all_suppliers",
|
||||
"icon": "buying"
|
||||
},
|
||||
"Sales Partner": {
|
||||
"fields": [
|
||||
@@ -38,12 +41,14 @@ def get_leaderboards():
|
||||
{'fieldname': 'total_commission', 'fieldtype': 'Currency'}
|
||||
],
|
||||
"method": "erpnext.startup.leaderboard.get_all_sales_partner",
|
||||
"icon": "hr"
|
||||
},
|
||||
"Sales Person": {
|
||||
"fields": [
|
||||
{'fieldname': 'total_sales_amount', 'fieldtype': 'Currency'}
|
||||
],
|
||||
"method": "erpnext.startup.leaderboard.get_all_sales_person",
|
||||
"icon": "customer"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user