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:
+5
@@ -62,6 +62,11 @@ export interface CreateOrderDto {
|
||||
*/
|
||||
customerId?: string;
|
||||
branchId?: string;
|
||||
/**
|
||||
* Sales channel. Customer-app orders are forced to WHOLESALE on the server
|
||||
* (legacy mobile parity). Optional for type clarity on the client payload.
|
||||
*/
|
||||
channel?: 'RETAIL' | 'WHOLESALE';
|
||||
items: CreateOrderItemDto[];
|
||||
}
|
||||
export interface LedgerEntryDto {
|
||||
|
||||
@@ -74,6 +74,11 @@ export interface CreateOrderDto {
|
||||
*/
|
||||
customerId?: string;
|
||||
branchId?: string;
|
||||
/**
|
||||
* Sales channel. Customer-app orders are forced to WHOLESALE on the server
|
||||
* (legacy mobile parity). Optional for type clarity on the client payload.
|
||||
*/
|
||||
channel?: 'RETAIL' | 'WHOLESALE';
|
||||
items: CreateOrderItemDto[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user