fix: translation for status filter
This commit is contained in:
parent
ed8a49737a
commit
08fb9a4318
@ -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",
|
||||
}
|
||||
],
|
||||
|
@ -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",
|
||||
}
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user