Please enable JavaScript.
Coggle requires JavaScript to display documents.
QLOU - Coggle Diagram
QLOU
login screen
customer
req : user, pass // res : token, type = 1, num_table (int), isSheeshaTable (bool)
customer screen
check sheesha mode
req : checkSheeshaMode // res : isActive (bool)
call waiter
req : num_table, desc (str) // res : success code
? desc from backend or mobile ?
send order
req : num_table / by token, id_order_list [ ], payment_type
waiter
req : user , pass // res : token, type = 2
waiter screen
notifications
res: id, timestamp, desc
look active order list
req : num_table // res : order [ ]
order [ ] : { id_order }
look detail order
req : id_order // res : data [ ]
data [ ] : { num_table, timestamp, total_price, payment_type, order_list [ ] }
order_list [ ] : { id, title, amount, price, addons [ ] }
addons [ ] : { id, title, amount, price }
finishing order
req : id_order, payment_type, status
status: 1 finish, 2 cancel
payment_type: 1 cash, 2 non-cash
enable sheesha in all tables
change
req: isSheeshaMode (bool)
check
req: getSheeshaMode (bool)
disable menu
updateActiveMenu
req: element [ ]
element [ ] : { id (int), isActive (bool) }
snooker
req: user, pass // res : token, type = 3
snooker screen
req: getEndTime
update periodically or by pusher
designer
req : user, pass // res : token, type = 4, id_page_test + element [ ]
designer screen
splash screen (download all files)
res : json_menu [ ] : { category, data [ ] }
data [ ] : { id_page, page_num, subcategory, background, element [ ] }
element [ ] : { id, title (str limit 30), desc (str limit 60), price (dec), x (int), y (int), width (int), theme (bool), isActive (bool), addons: [ ] }
additional [ ] : { id, title, type, element [ ] } / nullable
element [ ] : { id, name, price }
category : food, sheesha, dessert, snooker
background: image file name
page_num: relative to subcategory (e.g if first subcategory have 8 pages, the next page of subcategory start over from 1)
json_img [ ] : { type, url }
(file must be named properly) e.g ss-1.jpg
type : menu, screensaver, about, disclaimer, and swipe anim