mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-09-01 01:57:38 +00:00
- Introduced new pickup appointment functionalities in the licensing API, including scheduling, rescheduling, and managing pickup offices. - Added UI components for the pickup desk, allowing officers to check in, issue documents, and manage no-show appointments. - Implemented a new page for managing pickup offices with CRUD operations. - Enhanced internationalization support for new pickup-related terms and messages. - Updated licensing types to include new application kinds and issuance periods. - Created a read-only panel for displaying scheduled pickup appointments in the licensing component.
45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
import type {
|
|
SeafarerDocumentKind,
|
|
SeafarerDocumentRequestKind,
|
|
SeafarerDocumentStatus,
|
|
} from './seafarer-document.types';
|
|
|
|
export const SEAFARER_DOCUMENT_KIND_LABELS: Record<SeafarerDocumentKind, string> = {
|
|
SEAMAN_BOOK: 'Seaman Book',
|
|
BTC_BASIC_TRAINING: 'Basic Training Certificate',
|
|
};
|
|
|
|
export const SEAFARER_DOCUMENT_REQUEST_KIND_LABELS: Record<SeafarerDocumentRequestKind, string> = {
|
|
NEW: 'New',
|
|
RENEWAL: 'Renewal',
|
|
REPLACEMENT: 'Replacement',
|
|
};
|
|
|
|
export const SEAFARER_DOCUMENT_REQUEST_KIND_COLORS: Record<SeafarerDocumentRequestKind, string> = {
|
|
NEW: 'gray',
|
|
RENEWAL: 'blue',
|
|
REPLACEMENT: 'orange',
|
|
};
|
|
|
|
export const SEAFARER_DOCUMENT_STATUS_LABELS: Record<SeafarerDocumentStatus, string> = {
|
|
AWAITING_REGISTRATION: 'Awaiting Registration',
|
|
PAYMENT_PENDING: 'Payment Pending',
|
|
PAID: 'Paid',
|
|
PAYMENT_CONFIRMED: 'Payment Confirmed',
|
|
SCHEDULED: 'Pickup Scheduled',
|
|
ISSUED: 'Issued',
|
|
REJECTED: 'Rejected',
|
|
CANCELLED: 'Cancelled',
|
|
};
|
|
|
|
export const SEAFARER_DOCUMENT_STATUS_COLORS: Record<SeafarerDocumentStatus, string> = {
|
|
AWAITING_REGISTRATION: 'gray',
|
|
PAYMENT_PENDING: 'orange',
|
|
PAID: 'blue',
|
|
PAYMENT_CONFIRMED: 'blue',
|
|
SCHEDULED: 'grape',
|
|
ISSUED: 'teal',
|
|
REJECTED: 'red',
|
|
CANCELLED: 'gray',
|
|
};
|