fix(portal): show declaration, T1 and Djibouti clearance documents to the customer

This commit is contained in:
Marshal
2026-08-20 08:36:02 +00:00
parent ca774c536f
commit d7752f4386
12 changed files with 341 additions and 0 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[];