-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor payroll table component to be generic with headers
- Loading branch information
1 parent
5b76e5e
commit 7e4cc61
Showing
3 changed files
with
47 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
const monthHeaders = [ | ||
"Apr", | ||
"May", | ||
"Jun", | ||
"Jul", | ||
"Aug", | ||
"Sep", | ||
"Oct", | ||
"Nov", | ||
"Dec", | ||
"Jan", | ||
"Feb", | ||
"Mar", | ||
]; | ||
|
||
export const payrollHeaders = [ | ||
"Name", | ||
"Grade", | ||
"Employee No", | ||
"FTE", | ||
"Programme Code", | ||
"Budget Type", | ||
"Assignment Status", | ||
].concat(monthHeaders); | ||
|
||
export const vacancyHeaders = [ | ||
"Recruitment Type", | ||
"Grade", | ||
"Programme", | ||
"Budget Type", | ||
"Appointee Name", | ||
"Hiring Manager", | ||
"HR Ref", | ||
"Recruitment Stage", | ||
].concat(monthHeaders); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters