mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-30 11:08:12 +00:00
fix(portal): surface document upload on cleared bookings until payment
This commit is contained in:
@@ -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" ? (
|
|
||||||
<Alert color="blue" variant="light" radius="md" mt="md" p="xs">
|
|
||||||
<Text fz="12px">
|
|
||||||
Need to send something else? You can still add documents to this
|
|
||||||
shipment until it is paid.
|
|
||||||
</Text>
|
|
||||||
</Alert>
|
|
||||||
) : null}
|
|
||||||
|
|
||||||
{canUpload ? (
|
{canUpload ? (
|
||||||
<ClearanceAdHocUploadSection
|
<ClearanceAdHocUploadSection
|
||||||
rows={adHoc}
|
rows={adHoc}
|
||||||
|
|||||||
Reference in New Issue
Block a user