Merge pull request #1003 from Tria-plc/freight_feature/usermanagement

fix gl steps
This commit is contained in:
marshal
2026-07-29 10:33:03 +03:00
committed by GitHub
2 changed files with 4 additions and 4 deletions

View File

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