From 8466aff33d2b0e544093a8dc979d3baf6e064857 Mon Sep 17 00:00:00 2001 From: Marshal Date: Thu, 20 Aug 2026 03:59:14 +0000 Subject: [PATCH 1/4] feat(bookings): show per-document upload/review audit and download icon on clearance detail --- .../components/bookings/detail/ClearanceReviewSection.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx b/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx index 291bc0d05..fe58a6029 100644 --- a/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx +++ b/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx @@ -623,6 +623,11 @@ function DocReviewCard({ {hasFile ? doc.file!.name : "Not uploaded by customer"} + {hasFile && doc.uploadedAt ? ( + + Uploaded {formatDateTime(doc.uploadedAt)} + + ) : null} From e97e874bd18a6f16a299a6fdf6e543439b9fc1c9 Mon Sep 17 00:00:00 2001 From: Marshal Date: Thu, 20 Aug 2026 04:27:16 +0000 Subject: [PATCH 2/4] fix issue --- .../components/bookings/detail/ClearanceReviewSection.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx b/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx index fe58a6029..291bc0d05 100644 --- a/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx +++ b/apps/edr-freight-web/backoffice/src/components/bookings/detail/ClearanceReviewSection.tsx @@ -623,11 +623,6 @@ function DocReviewCard({ {hasFile ? doc.file!.name : "Not uploaded by customer"} - {hasFile && doc.uploadedAt ? ( - - Uploaded {formatDateTime(doc.uploadedAt)} - - ) : null} From a1feb21e4f0c5360246edc1cc3f1a41874745e02 Mon Sep 17 00:00:00 2001 From: Marshal Date: Thu, 20 Aug 2026 06:57:57 +0000 Subject: [PATCH 3/4] View manual (offline) payment channel settings Confirm offline (bank transfer) invoice payment --- .../src/pages/bookings/clearance/ClearanceFlow.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx b/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx index fd8739a4a..83d963e34 100644 --- a/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx +++ b/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx @@ -209,6 +209,17 @@ export function ClearanceFlow({ booking, flow, footer }: ClearanceFlowProps) { )} + {/* Clearance is done but the shipment is not paid yet: documents stay + open, so say so — otherwise the upload box below reads as leftover UI. */} + {canUpload && !isInitialUpload && status !== "DOCUMENTS_UNDER_REVIEW" ? ( + + + Need to send something else? You can still add documents to this + shipment until it is paid. + + + ) : null} + {canUpload ? ( Date: Thu, 20 Aug 2026 07:16:18 +0000 Subject: [PATCH 4/4] fix(portal): surface document upload on cleared bookings until payment --- .../src/pages/bookings/clearance/ClearanceFlow.tsx | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx b/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx index 83d963e34..fd8739a4a 100644 --- a/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx +++ b/apps/edr-freight-web/portal/src/pages/bookings/clearance/ClearanceFlow.tsx @@ -209,17 +209,6 @@ export function ClearanceFlow({ booking, flow, footer }: ClearanceFlowProps) { )} - {/* Clearance is done but the shipment is not paid yet: documents stay - open, so say so — otherwise the upload box below reads as leftover UI. */} - {canUpload && !isInitialUpload && status !== "DOCUMENTS_UNDER_REVIEW" ? ( - - - Need to send something else? You can still add documents to this - shipment until it is paid. - - - ) : null} - {canUpload ? (