enhance contract clearance details with service type and customs information

This commit is contained in:
Marshal
2026-06-28 21:34:06 +00:00
parent 006b4226e8
commit f45d260c53
4 changed files with 83 additions and 13 deletions

View File

@@ -230,7 +230,7 @@ export interface ContractClearanceDocument {
fileKey: string;
label: string;
required: boolean;
uploadedBy: "customer" | "gl_et" | "gl_dj";
uploadedBy: "customer" | "gl" | "gl_et" | "gl_dj";
phase: ContractDocPhase;
settingCode: string;
file: { id: string; name: string; url: string } | null;
@@ -406,6 +406,14 @@ export interface IContract extends BaseEntity {
freightType: ContractFreightType;
serviceTypeId: string;
/** Loaded service-type relation (queue + detail responses include it). */
serviceType?: {
id: string;
code: string;
serviceName: string;
canBeBookedAlone: boolean;
includesCustoms: boolean;
} | null;
paymentCurrency: string;
customsClearingEnabled: boolean;
customsClearingAgent?: string | null;