Merge pull request #1364 from Tria-plc/freight_feature/usermanagement

Freight feature/usermanagement
This commit is contained in:
marshal
2026-08-20 14:49:27 +03:00
committed by GitHub
16 changed files with 453 additions and 64 deletions

View File

@@ -856,6 +856,15 @@ export interface ClearanceCharge {
paidAt: string | null;
}
/** A GL→customer request for additional clearance document(s). */
export interface ClearanceDocRequest {
id: string;
note: string;
/** Staff display name; null when unresolvable. */
byName: string | null;
at: string;
}
/** One entry of a clearance document's audit trail, oldest first. */
export interface ClearanceDocumentEvent {
type: "UPLOADED" | "RESUBMITTED" | "QUERIED" | "APPROVED";
@@ -930,6 +939,8 @@ export interface ClearanceView {
* clearance is finalized.
*/
documentsOpen?: boolean;
/** GL→customer requests for additional documents, newest first. */
docRequests?: ClearanceDocRequest[];
/** Phased clearance (GENERAL + customs per-booking). */
phase?: ContractDocPhase | null;
milestones?: IClearanceMilestone[];