Fix wholesale app orders, polish admin/user chrome, and harden order detail UX.
Customer placements now store WHOLESALE (with a migration for prior RETAIL rows), order status opens in a right drawer, logout asks for confirm, and the dashboard profile nudge plus IRANSans panel typeface are tightened for readability. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
-- App-placed orders were defaulting to RETAIL while operators watch the
|
||||
-- WHOLESALE (عمده) list. Move every existing RETAIL row onto WHOLESALE so they
|
||||
-- appear in «لیست سفارش های عمده». Going forward, customer POST /orders also
|
||||
-- stores WHOLESALE (see OrdersService.createOrder).
|
||||
--
|
||||
-- Legitimate admin-created orders were already WHOLESALE. RETAIL was only the
|
||||
-- mistaken app default (and optional seed demos).
|
||||
|
||||
UPDATE "Order"
|
||||
SET "channel" = 'WHOLESALE'
|
||||
WHERE "channel" = 'RETAIL';
|
||||
Reference in New Issue
Block a user