mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-29 14:08:11 +00:00
fix
This commit is contained in:
@@ -49,7 +49,7 @@ import { driversService, type Driver } from "@/services/drivers.service";
|
|||||||
import { ratesService } from "@/services/rates.service";
|
import { ratesService } from "@/services/rates.service";
|
||||||
import { LastMileContainerAllocationTable, type LastMileContainerRow } from "@/components/LastMileContainerAllocationTable";
|
import { LastMileContainerAllocationTable, type LastMileContainerRow } from "@/components/LastMileContainerAllocationTable";
|
||||||
import { ReleaseOrderModal, type ReleaseOrderTruckPrefill } from "@/components/warehouses/ReleaseOrderModal";
|
import { ReleaseOrderModal, type ReleaseOrderTruckPrefill } from "@/components/warehouses/ReleaseOrderModal";
|
||||||
import { LastMileStepBar, LastMileStepper, type LastMileStepState } from "@/components/operations/LastMileSteps";
|
import { LastMileStepper, type LastMileStepState } from "@/components/operations/LastMileSteps";
|
||||||
import { api } from "@/auth/http";
|
import { api } from "@/auth/http";
|
||||||
|
|
||||||
const formatPrice = (amount: number) =>
|
const formatPrice = (amount: number) =>
|
||||||
@@ -988,20 +988,6 @@ const LastMilePage = () => {
|
|||||||
</Badge>
|
</Badge>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
{
|
|
||||||
id: "progress",
|
|
||||||
header: "Progress",
|
|
||||||
meta: { headerClassName, cellClassName },
|
|
||||||
cell: ({ row }) => (
|
|
||||||
<LastMileStepBar
|
|
||||||
steps={computeLastMileSteps(
|
|
||||||
row.original,
|
|
||||||
pickupReadyByBooking.get(row.original.bookingId) ??
|
|
||||||
pickupReadyByBooking.get(bookingRef(row.original)),
|
|
||||||
)}
|
|
||||||
/>
|
|
||||||
),
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
id: "actions",
|
id: "actions",
|
||||||
header: "Actions",
|
header: "Actions",
|
||||||
|
|||||||
Reference in New Issue
Block a user