fix gl steps

This commit is contained in:
Marshal
2026-07-29 07:32:26 +00:00
parent dfde6b9021
commit f6e363cd6f
2 changed files with 4 additions and 4 deletions

View File

@@ -476,7 +476,7 @@ export function PhasedClearanceActionPanel({
description="Advise amount and attach notice" description="Advise amount and attach notice"
icon={<Receipt size={14} />} icon={<Receipt size={14} />}
> >
{showEt && canEt && activeStep === 3 ? ( {showEt && canEt && activeStep === 4 ? (
<DutyStep <DutyStep
entityId={entityId} entityId={entityId}
isBooking={isBooking} isBooking={isBooking}
@@ -538,7 +538,7 @@ export function PhasedClearanceActionPanel({
{showEt && {showEt &&
canEt && canEt &&
!bookingCreated && !bookingCreated &&
(activeStep >= 5 || (activeStep >= 6 ||
isMilestoneDone(clearance.milestones, "TRANSIT_PERMIT_UPLOADED")) ? ( isMilestoneDone(clearance.milestones, "TRANSIT_PERMIT_UPLOADED")) ? (
<TransitPermitStep <TransitPermitStep
entityId={entityId} entityId={entityId}
@@ -582,7 +582,7 @@ export function PhasedClearanceActionPanel({
description="Hand off to GL Djibouti" description="Hand off to GL Djibouti"
icon={<PackageCheck size={14} />} icon={<PackageCheck size={14} />}
> >
{showEt && canEt && activeStep === 6 ? ( {showEt && canEt && activeStep === 7 ? (
<FinalizePreClearanceStep <FinalizePreClearanceStep
entityId={entityId} entityId={entityId}
isBooking={isBooking} isBooking={isBooking}