All Screens in Operations are added
This commit is contained in:
@@ -216,6 +216,16 @@ export const Reqeusttabs: string[] = [
|
||||
];
|
||||
|
||||
|
||||
export const workPermitFilters = [
|
||||
{ label: 'All', count: 10 },
|
||||
{ label: 'Awaiting', count: 3 },
|
||||
{ label: 'Approved', count: 1},
|
||||
{ label: 'Active', count: 2 },
|
||||
{ label: 'Closed', count: 1 },
|
||||
{ label: 'Expired', count: 1 },
|
||||
{ label: 'Rejected', count: 1 },
|
||||
];
|
||||
|
||||
|
||||
// Data model interface
|
||||
|
||||
@@ -232,4 +242,5 @@ export const Reqeusttabs: string[] = [
|
||||
{ id: '8', block: 'Block 2', floor: '3', zone: 'Z2', department: 'Electrical', location: 'Cafeteria', window: '08:00–23:59', tat: '30m', sched: 4, approval: false, status: 'ACTIVE' },
|
||||
{ id: '9', block: 'Block 2', floor: '3', zone: 'Z1', department: 'Inspection work', location: 'Gym', window: '06:00–17:30', tat: '20m', sched: 8, approval: true, status: 'INACTIVE' },
|
||||
{ id: '10', block: 'Block 1', floor: 'G', zone: 'Z1', department: 'HVAC', location: 'Lobby', window: '08:00–18:00', tat: '30m', sched: 4, approval: false, status: 'ACTIVE' },
|
||||
];
|
||||
];
|
||||
|
||||
@@ -101,4 +101,17 @@ export interface FilterTabsProps {
|
||||
export interface InfoBannerProps {
|
||||
boldText?: string;
|
||||
normalText?: string;
|
||||
}
|
||||
}
|
||||
export interface TableRowData {
|
||||
id: string;
|
||||
block: string;
|
||||
floor: string;
|
||||
zone: string;
|
||||
department: string;
|
||||
location: string;
|
||||
window: string;
|
||||
tat: string;
|
||||
sched: number;
|
||||
approval: boolean;
|
||||
status: 'ACTIVE' | 'INACTIVE';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user