mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +00:00
fix(Leave Application): List view fix (#24550)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
frappe.listview_settings['Leave Application'] = {
|
||||
add_fields: ["leave_type", "employee", "employee_name", "total_leave_days", "from_date", "to_date"],
|
||||
has_indicator_for_draft: 1,
|
||||
get_indicator: function (doc) {
|
||||
if (doc.status === "Approved") {
|
||||
return [__("Approved"), "green", "status,=,Approved"];
|
||||
|
||||
Reference in New Issue
Block a user