feat(admin): add v2 order detail fulfillment timeline (Placed → Ready → Picked up)

This commit is contained in:
Tyler
2026-06-17 14:52:45 -06:00
parent c67df118e2
commit 4c428fd9da
2 changed files with 157 additions and 0 deletions
+7
View File
@@ -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)" }}