table info buttons fix
This commit is contained in:
@@ -283,7 +283,7 @@ class Quser
|
||||
@populate_products_table('/user/list_products_for_table.json?'+authentication_string+'&table_id='+table_id)
|
||||
populate_products_table: (src)->
|
||||
$.getJSON(data_host + src, (res) =>
|
||||
include_order_buttons = res.my_list
|
||||
include_order_buttons = res.my_list || !res.table_occupied
|
||||
|
||||
$('.table-number').text(res.table_number) if res.table_number
|
||||
$('.supplier-name').text(res.supplier_name) if res.supplier_name
|
||||
|
||||
Reference in New Issue
Block a user