order api - WIP & db structure change
This commit is contained in:
@@ -35,10 +35,10 @@ menu_item_instance : {
|
||||
}
|
||||
|
||||
order_item : {
|
||||
order_item_code : "",
|
||||
item_instance_code : "",
|
||||
item_instance_price: "",
|
||||
quantity : 0,
|
||||
option_values : [],
|
||||
option_values : [{key,value},],
|
||||
sub_order_items : [],
|
||||
}
|
||||
|
||||
@@ -51,8 +51,8 @@ customer {name, company, contact, email, member_id, member_type, member_authenti
|
||||
order { id, date, order_ref, order_source [tablet, order_station, emenu, api], order_type [dine-in, takeaway, delivery],customer_id, item_count, quantity_count, status [new, processing, fulfilled], waiters[], guest_info: {adult_count, child_count, woman_count, man_count}}
|
||||
order_items { order_item_status, product_code, name, qty, price, remark, options , variants: [], set_menu_items :[]}
|
||||
order_delivery_info {name, address, contact_no, delivery-by [InHouse | YDoor2Door | Food2U], tracker-id, sale}
|
||||
dine-in-table {table, order, status}
|
||||
room-booking {room, check-in, check-out, reserved_by, status, orders}
|
||||
booking {dining_facility_id, type, checkin_at, checkout_at, checkout_by, reserved_at, reserved_by, status, is_currently_checkin}
|
||||
booking_order(booking, order)
|
||||
|
||||
order_queue_station {name, is_active, processing_items [product_code], print_copy: boolean, printer_name, font_size, cut_per_item, use_alternate_name}
|
||||
order_queue_log {order_id, job_status [new, completed], print_status [], header: {table name, order_type, order_date}, items :{name, comment, qty}}
|
||||
|
||||
Reference in New Issue
Block a user