diff --git a/erpnext/hr/report/employee_leave_balance/employee_leave_balance.js b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.js index 79da65c7e0d..2339350d065 100644 --- a/erpnext/hr/report/employee_leave_balance/employee_leave_balance.js +++ b/erpnext/hr/report/employee_leave_balance/employee_leave_balance.js @@ -41,7 +41,13 @@ frappe.query_reports["Employee Leave Balance"] = { "fieldname": "employee_status", "label": __("Employee Status"), "fieldtype": "Select", - "options": ["", "Active", "Inactive", "Suspended", "Left"], + "options": [ + "", + { "value": "Active", "label": __("Active") }, + { "value": "Inactive", "label": __("Inactive") }, + { "value": "Suspended", "label": __("Suspended") }, + { "value": "Left", "label": __("Left") }, + ], "default": "Active", } ], diff --git a/erpnext/hr/report/employee_leave_balance_summary/employee_leave_balance_summary.js b/erpnext/hr/report/employee_leave_balance_summary/employee_leave_balance_summary.js index 3046b14e7a7..26dd7825331 100644 --- a/erpnext/hr/report/employee_leave_balance_summary/employee_leave_balance_summary.js +++ b/erpnext/hr/report/employee_leave_balance_summary/employee_leave_balance_summary.js @@ -35,7 +35,13 @@ frappe.query_reports['Employee Leave Balance Summary'] = { fieldname: "employee_status", label: __("Employee Status"), fieldtype: "Select", - options: ["", "Active", "Inactive", "Suspended", "Left"], + options: [ + "", + { "value": "Active", "label": __("Active") }, + { "value": "Inactive", "label": __("Inactive") }, + { "value": "Suspended", "label": __("Suspended") }, + { "value": "Left", "label": __("Left") }, + ], default: "Active", } ]