implement joining table
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
.page-header
|
||||
h4= t('user.join_occupied_table.title')
|
||||
.form-actions
|
||||
= link_to t('user.join_occupied_table.show_the_products'), user_list_products_for_table_path(table_id: @table.id), class: [:btn, 'btn-primary']
|
||||
'
|
||||
button.btn.btn-warning{onClick="Quser.join_occupied_table('#{@table.id}')"} = t('user.join_occupied_table.join_this_table')
|
||||
#join-occupied-table-progress-container
|
||||
@@ -18,7 +18,7 @@ table#active-order-table.table.table-striped.hide
|
||||
td colspan=2
|
||||
button class="btn btn-primary" onClick="Quser.handle_active_list(function(){Quser.order_selected_products()})" Bestellen
|
||||
|
|
||||
button class="btn btn btn-warning" onClick="Qrammer.clear_active_list()" Clear
|
||||
button class="btn btn btn-warning" onClick="Quser.clear_selected_products()" Clear
|
||||
td.currency
|
||||
strong#active-order-total
|
||||
td
|
||||
|
||||
@@ -16,7 +16,7 @@ table#active-order-table.table.table-striped.hide
|
||||
td colspan=2
|
||||
button class="btn btn-primary" onClick="Quser.order_selected_products({table_id: '#{@table.id}'})" Bestellen
|
||||
|
|
||||
button class="btn btn btn-warning" onClick="Qrammer.clear_active_list()" Clear
|
||||
button class="btn btn btn-warning" onClick="Quser.clear_selected_products()" Clear
|
||||
td.currency
|
||||
strong#active-order-total
|
||||
td
|
||||
|
||||
Reference in New Issue
Block a user