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',
|
||||
'Insulation',
|
||||
'Hanging',
|
||||
'Scarp & Paper',
|
||||
'Taping',
|
||||
'Sand & Mask',
|
||||
'WT & Cleanup',
|
||||
'Grid & Tile'
|
||||
'Scrap',
|
||||
'paper',
|
||||
'sanding',
|
||||
'masking',
|
||||
'WT',
|
||||
'cleanup',
|
||||
'Grid',
|
||||
'Tile'
|
||||
];
|
||||
|
||||
type TypeFilterValue = 'all' | 'Employee' | 'Sub-Contractor';
|
||||
|
||||
@@ -149,11 +149,15 @@
|
||||
'Framing',
|
||||
'Insulation',
|
||||
'Hanging',
|
||||
'Scarp & Paper',
|
||||
'Taping',
|
||||
'Sand & Mask',
|
||||
'WT & Cleanup',
|
||||
'Grid & Tile'
|
||||
'Scrap',
|
||||
'paper',
|
||||
'sanding',
|
||||
'masking',
|
||||
'WT',
|
||||
'cleanup',
|
||||
'Grid',
|
||||
'Tile'
|
||||
];
|
||||
|
||||
function employeeScopes(): string[] {
|
||||
|
||||
@@ -28,11 +28,15 @@ const SCOPE_OPTIONS = [
|
||||
'Framing',
|
||||
'Insulation',
|
||||
'Hanging',
|
||||
'Scarp & Paper',
|
||||
'Taping',
|
||||
'Sand & Mask',
|
||||
'WT & Cleanup',
|
||||
'Grid & Tile'
|
||||
'Scrap',
|
||||
'paper',
|
||||
'sanding',
|
||||
'masking',
|
||||
'WT',
|
||||
'cleanup',
|
||||
'Grid',
|
||||
'Tile'
|
||||
];
|
||||
|
||||
export const GET: RequestHandler = async ({ locals, url }) => {
|
||||
|
||||
Reference in New Issue
Block a user