seperate rails logic for parameters for showing products
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
tfoot
|
||||
tr
|
||||
td colspan=2
|
||||
button class="btn btn-primary" onClick="Quser.order_selected_products({table_id: '#{@table.id}'})" data-t="selected_products.order"= t('selected_products.order')
|
||||
button class="btn btn-primary" onClick="Quser.order_selected_products()" data-t="selected_products.order"= t('selected_products.order')
|
||||
|
|
||||
button class="btn btn btn-warning" onClick="Quser.clear_selected_products()" data-t="selected_products.clear"= t('selected_products.clear')
|
||||
td.currency
|
||||
@@ -27,7 +27,7 @@
|
||||
- content_for :footer do
|
||||
javascript:
|
||||
jQuery(function(){
|
||||
Quser.load_table_products('#{@table.id}', #{@table.occupied? ? 'true' : 'false'});
|
||||
Quser.load_table_products();
|
||||
QMobile.activateRotation();
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user