export const UPLIFT_APPROVAL_TABS = ["pending", "approved", "rejected"] as const; export type UpliftApprovalTab = (typeof UPLIFT_APPROVAL_TABS)[number]; export function isUpliftApprovalTab(value: string): value is UpliftApprovalTab { return (UPLIFT_APPROVAL_TABS as readonly string[]).includes(value); } const PENDING_HEADER_CELLS = [ "Work Order", "Service / Vendor", "Amount", "Approved on WO", "Notes", "Attachments", "Requested By", "Waiting", "Actions", ] as const; const APPROVED_HEADER_CELLS = [ "Work Order", "Service / Vendor", "Amount", "Approved on WO", "Notes", "Attachments", "Requested By", "Approved By", "Approved At", "Actions", ] as const; const REJECTED_HEADER_CELLS = [ "Work Order", "Service / Vendor", "Amount", "Approved on WO", "Notes", "Attachments", "Requested By", "Rejected By", "Rejected At", "Rejection Reason", ] as const; export const UPLIFT_APPROVAL_HEADER_CELLS: Record = { pending: PENDING_HEADER_CELLS, approved: APPROVED_HEADER_CELLS, rejected: REJECTED_HEADER_CELLS, };