Skip to content

Commit

Permalink
fix: translation for status filter
Browse files Browse the repository at this point in the history
(cherry picked from commit 08fb9a4)
  • Loading branch information
ruchamahabal authored and mergify[bot] committed May 13, 2022
1 parent 716b525 commit e5f8231
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}
]
Expand Down

0 comments on commit e5f8231

Please sign in to comment.