Working user order flow spec
This commit is contained in:
@@ -294,7 +294,7 @@ class Quser
|
||||
data ||= {}
|
||||
$.getJSON(data_host + src, $.extend(@authentication_object, data), (res) =>
|
||||
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
|
||||
|
||||
|
||||
@@ -8,6 +8,6 @@
|
||||
<span class="btn btn-info btn-mini" onclick="Quser.increment_products_counter('{{_id}}')">+</span>
|
||||
</td>
|
||||
<td>{{#currency}}{{price}}{{/currency}}</td>
|
||||
<td><button class="btn order-product-button" onclick="Quser.add_product_to_order('{{_id}}', this)">Add</button></td>
|
||||
<td><button class="btn order-product-button order-product-{{_id}}" onclick="Quser.add_product_to_order('{{_id}}', this)">Add</button></td>
|
||||
</tr>
|
||||
{{/products}}
|
||||
|
||||
Reference in New Issue
Block a user