feat: Implement Edit Orders

This commit is contained in:
dhinesh-m24
2026-02-09 11:31:18 +05:30
parent 0ebb76b3a7
commit 1c8541cb1d
9 changed files with 800 additions and 3 deletions

View File

@@ -60,6 +60,10 @@ export interface User {
user_role?: string; // MVP uses both sometimes
company_name?: string;
name: string;
preferred_vendor_id?: string;
preferredVendorId?: string;
preferred_vendor_name?: string;
preferredVendorName?: string;
}
export interface Event {
@@ -68,4 +72,17 @@ export interface Event {
business_name?: string;
created_by?: string;
assigned_staff?: { staff_id: string }[];
// Fields used in EventFormWizard
event_name?: string;
vendor_id?: string;
vendor_name?: string;
hub?: string;
date?: string;
total?: number;
shifts?: any[];
order_type?: string;
is_rapid?: boolean;
is_recurring?: boolean;
status?: string;
}