Spaces:
Sleeping
Sleeping
| export type LeaveStatus = 'Pending' | 'Approved' | 'Rejected' | 'Cancelled'; | |
| export type LeaveType = | |
| | 'Sick' | |
| | 'Casual' | |
| | 'Annual' | |
| | 'Maternity' | |
| | 'Paternity' | |
| | 'Bereavement' | |
| | 'Unpaid' | |
| | 'Other'; | |
| export interface Leave { | |
| id: string; | |
| employeeId: string; | |
| type: LeaveType; | |
| startDate: string; | |
| endDate: string; | |
| reason: string; | |
| status: LeaveStatus; | |
| appliedDate: string; | |
| actionDate?: string; | |
| actionBy?: string; | |
| actionNotes?: string; | |
| attachments?: string[]; | |
| } | |
| export interface LeaveFilter { | |
| status?: LeaveStatus | 'All'; | |
| type?: LeaveType | 'All'; | |
| employeeId?: string; | |
| year?: number; | |
| searchTerm?: string; | |
| } | |
| export interface EmployeeBasicInfo { | |
| id: string; | |
| name: string; | |
| email: string; | |
| department?: string; | |
| position?: string; | |
| } |