feat: approval workflow with approver/backupApprover
This commit is contained in:
+7
-1
@@ -23,7 +23,7 @@ export type RoleCode = 'ADMIN' | 'MANAGER' | 'EMPLOYEE';
|
||||
export type EmpStatus = 'ACTIVE' | 'ON_LEAVE' | 'RESIGNED';
|
||||
export type DispatchStatus = 'WAITING' | 'DISPATCHED';
|
||||
|
||||
export type TicketStatus = 'OPEN' | 'ASSIGNED' | 'IN_PROGRESS' | 'RESOLVED' | 'CLOSED';
|
||||
export type TicketStatus = 'OPEN' | 'ASSIGNED' | 'IN_PROGRESS' | 'RESOLVED' | 'CLOSED' | 'PENDING_APPROVAL' | 'APPROVED' | 'REJECTED';
|
||||
export type TicketCategory = 'BUG' | 'FEATURE' | 'SUPPORT' | 'QA' | 'VACATION' | 'EXPENSE' | 'EQUIPMENT_REQUEST' | 'GENERAL';
|
||||
export type TicketPriority = 'LOW' | 'NORMAL' | 'HIGH' | 'CRITICAL';
|
||||
|
||||
@@ -59,6 +59,8 @@ export interface Employee {
|
||||
education: string | null;
|
||||
schoolName: string | null;
|
||||
position: string | null;
|
||||
managerId?: number;
|
||||
backupManagerId?: number;
|
||||
major: string | null;
|
||||
graduationDate: string | null;
|
||||
residence: string | null;
|
||||
@@ -148,6 +150,10 @@ export interface IssueTicket {
|
||||
updatedAt: string;
|
||||
attachmentUrl?: string;
|
||||
attachmentName?: string;
|
||||
approverId?: number;
|
||||
backupApproverId?: number;
|
||||
approvedBy?: number;
|
||||
approvedAt?: string;
|
||||
}
|
||||
|
||||
export interface TicketComment {
|
||||
|
||||
Reference in New Issue
Block a user