feat: icons in leaderboard
This commit is contained in:
parent
6a506b63bf
commit
12d4be7f3f
@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user