Skip to content

Commit

Permalink
feat: add 'Withheld' status to Salary Slip
Browse files Browse the repository at this point in the history
Co-authored-by: Viny Selopal <[email protected]>
(cherry picked from commit 56a4df7)
  • Loading branch information
ruchamahabal authored and mergify[bot] committed Jul 23, 2024
1 parent cad5473 commit 609e71d
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions hrms/payroll/doctype/salary_slip/salary_slip.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"section_break_6",
"employee",
"employee_name",
"company",
"department",
"designation",
"branch",
Expand All @@ -18,7 +19,7 @@
"letter_head",
"column_break_18",
"status",
"company",
"salary_withholding",
"currency",
"exchange_rate",
"section_break_gsts",
Expand Down Expand Up @@ -170,7 +171,7 @@
"fieldname": "status",
"fieldtype": "Select",
"label": "Status",
"options": "Draft\nSubmitted\nCancelled",
"options": "Draft\nSubmitted\nCancelled\nWithheld",
"read_only": 1
},
{
Expand Down Expand Up @@ -720,13 +721,20 @@
"fieldname": "earning_deduction_sb",
"fieldtype": "Section Break",
"oldfieldtype": "Section Break"
},
{
"fieldname": "salary_withholding",
"fieldtype": "Link",
"label": "Salary Withholding",
"options": "Salary Withholding",
"read_only": 1
}
],
"icon": "fa fa-file-text",
"idx": 9,
"is_submittable": 1,
"links": [],
"modified": "2024-06-11 10:00:16.606996",
"modified": "2024-07-01 12:43:22.313276",
"modified_by": "Administrator",
"module": "Payroll",
"name": "Salary Slip",
Expand Down Expand Up @@ -767,7 +775,24 @@
"show_name_in_global_search": 1,
"sort_field": "modified",
"sort_order": "DESC",
"states": [],
"states": [
{
"color": "Red",
"title": "Draft"
},
{
"color": "Blue",
"title": "Submitted"
},
{
"color": "Gray",
"title": "Cancelled"
},
{
"color": "Yellow",
"title": "Withheld"
}
],
"timeline_field": "employee",
"title_field": "employee_name"
}

0 comments on commit 609e71d

Please sign in to comment.