refactor(scope-names): standardize scope names across the application
- Updated scope names in multiple files to use consistent terminology, changing 'Scarp & Paper', 'Sand & Mask', and 'WT & Cleanup' to 'Scrap', 'sanding', 'masking', and 'cleanup'. - Ensured uniformity in scope options for better clarity and usability in employee management features.
This commit is contained in:
@@ -31,11 +31,15 @@
|
|||||||
'Framing',
|
'Framing',
|
||||||
'Insulation',
|
'Insulation',
|
||||||
'Hanging',
|
'Hanging',
|
||||||
'Scarp & Paper',
|
|
||||||
'Taping',
|
'Taping',
|
||||||
'Sand & Mask',
|
'Scrap',
|
||||||
'WT & Cleanup',
|
'paper',
|
||||||
'Grid & Tile'
|
'sanding',
|
||||||
|
'masking',
|
||||||
|
'WT',
|
||||||
|
'cleanup',
|
||||||
|
'Grid',
|
||||||
|
'Tile'
|
||||||
];
|
];
|
||||||
|
|
||||||
type TypeFilterValue = 'all' | 'Employee' | 'Sub-Contractor';
|
type TypeFilterValue = 'all' | 'Employee' | 'Sub-Contractor';
|
||||||
|
|||||||
@@ -149,11 +149,15 @@
|
|||||||
'Framing',
|
'Framing',
|
||||||
'Insulation',
|
'Insulation',
|
||||||
'Hanging',
|
'Hanging',
|
||||||
'Scarp & Paper',
|
|
||||||
'Taping',
|
'Taping',
|
||||||
'Sand & Mask',
|
'Scrap',
|
||||||
'WT & Cleanup',
|
'paper',
|
||||||
'Grid & Tile'
|
'sanding',
|
||||||
|
'masking',
|
||||||
|
'WT',
|
||||||
|
'cleanup',
|
||||||
|
'Grid',
|
||||||
|
'Tile'
|
||||||
];
|
];
|
||||||
|
|
||||||
function employeeScopes(): string[] {
|
function employeeScopes(): string[] {
|
||||||
|
|||||||
@@ -28,11 +28,15 @@ const SCOPE_OPTIONS = [
|
|||||||
'Framing',
|
'Framing',
|
||||||
'Insulation',
|
'Insulation',
|
||||||
'Hanging',
|
'Hanging',
|
||||||
'Scarp & Paper',
|
|
||||||
'Taping',
|
'Taping',
|
||||||
'Sand & Mask',
|
'Scrap',
|
||||||
'WT & Cleanup',
|
'paper',
|
||||||
'Grid & Tile'
|
'sanding',
|
||||||
|
'masking',
|
||||||
|
'WT',
|
||||||
|
'cleanup',
|
||||||
|
'Grid',
|
||||||
|
'Tile'
|
||||||
];
|
];
|
||||||
|
|
||||||
export const GET: RequestHandler = async ({ locals, url }) => {
|
export const GET: RequestHandler = async ({ locals, url }) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user