Feature: Add order tracking and shipping status updates

- Add carrier, trackingNumber, and estimatedDeliveryDate fields to Order model
- Update order statuses: PENDING, PAID, PRINTING, PRINTED, SHIPPED, DELIVERED, FAILED
- Add admin UI on order detail page to update tracking information
- Display tracking info on customer account page in order history
- Server action to update order tracking and status

Customers can now see their shipping status and tracking details from
their account page. Admins can update order status and tracking info
from the order detail page.
This commit is contained in:
Andymick
2026-07-18 20:34:19 +01:00
parent f4a80d2a50
commit 440a735b8a
6 changed files with 133 additions and 19 deletions
@@ -0,0 +1,4 @@
-- AlterTable
ALTER TABLE "Order" ADD COLUMN "carrier" TEXT,
ADD COLUMN "estimatedDeliveryDate" TIMESTAMP(3),
ADD COLUMN "trackingNumber" TEXT;