mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 18:42:49 +00:00
revert back the clerance payment
This commit is contained in:
@@ -42,7 +42,6 @@ export const CONTRACT_STATUSES = [
|
||||
"FULLY_EXECUTED", // ONE_TIME
|
||||
"CONTRACT_ACTIVE", // GENERAL
|
||||
// customs clearance execution (Path B, pre-booking)
|
||||
"AWAITING_CLEARANCE_PAYMENT", // clearance service fee invoiced, unpaid
|
||||
"AWAITING_CLEARANCE_DOCUMENTS",
|
||||
"CLEARANCE_UNDER_REVIEW",
|
||||
"CLEARANCE_READY_FOR_BOOKING",
|
||||
@@ -68,7 +67,6 @@ export type ContractStatus = (typeof CONTRACT_STATUSES)[number];
|
||||
*/
|
||||
export const CONTRACT_CLEARANCE_STATUSES = [
|
||||
"NOT_APPLICABLE",
|
||||
"AWAITING_PAYMENT", // Path B — clearance service fee must be paid first
|
||||
"AWAITING_DOCUMENTS",
|
||||
"DOCUMENTS_UNDER_REVIEW",
|
||||
"CLEARANCE_READY_FOR_BOOKING", // Path B — GL may create the booking
|
||||
@@ -89,6 +87,7 @@ export const CONTRACT_CUSTOMER_EDITABLE_STATUSES: ContractStatus[] = [
|
||||
|
||||
export type ContractRateUnit =
|
||||
| "per_container"
|
||||
| "per_wagon"
|
||||
| "per_ton"
|
||||
| "per_item"
|
||||
| "per_km"
|
||||
|
||||
@@ -103,8 +103,6 @@ export enum BookingStatus {
|
||||
PendingConsolidation = "PENDING_CONSOLIDATION",
|
||||
Consolidated = "CONSOLIDATED",
|
||||
// Post counter-sign document-clearance gate (GL workflow).
|
||||
/** Clearance service fee invoiced; docs + GL work locked until paid. */
|
||||
AwaitingClearancePayment = "AWAITING_CLEARANCE_PAYMENT",
|
||||
AwaitingDocuments = "AWAITING_DOCUMENTS",
|
||||
DocumentsUnderReview = "DOCUMENTS_UNDER_REVIEW",
|
||||
ClearanceReady = "CLEARANCE_READY",
|
||||
|
||||
Reference in New Issue
Block a user