feat(admin): add v2 order detail fulfillment timeline (Placed → Ready → Picked up)
This commit is contained in:
@@ -6,6 +6,7 @@ import PageHeader from "@/components/admin/PageHeader";
|
||||
import StatusPill, { type StatusKind } from "@/components/admin/StatusPill";
|
||||
import StickyActionBar from "@/components/admin/StickyActionBar";
|
||||
import OrderActionButtons from "@/components/admin/orders/OrderActionButtons";
|
||||
import FulfillmentTimeline from "@/components/admin/orders/FulfillmentTimeline";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
@@ -109,6 +110,12 @@ export default async function OrderDetailV2Page({
|
||||
</section>
|
||||
)}
|
||||
|
||||
<FulfillmentTimeline
|
||||
status={kind}
|
||||
placedAt={order.created_at}
|
||||
pickedUpAt={order.pickup_completed_at}
|
||||
/>
|
||||
|
||||
<section
|
||||
className="rounded-2xl p-4"
|
||||
style={{ backgroundColor: "var(--color-surface-2)" }}
|
||||
|
||||
Reference in New Issue
Block a user