updates for qr handling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.page-header= title 'Select Qr code'
|
||||
ul#qr-list
|
||||
- for table in @tables
|
||||
li= link_to image_tag(url_for(qrcode_table_path(table, format: :png))), user_create_list_path(table_id: table.id)
|
||||
li= link_to_function image_tag(url_for(qrcode_table_path(table, format: :png))), %|Quser.actions_for_table('#{table.id}')|
|
||||
|
||||
@@ -33,7 +33,7 @@ html lang="en"
|
||||
ul.nav#top-navigation-list
|
||||
- if list_open?
|
||||
li= link_to 'Move table', '#'
|
||||
li= link_to 'View history', user_history_path
|
||||
li= link_to 'View history', user_list_history_path
|
||||
|
||||
.container
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
= render template: 'supplier/active_lists'
|
||||
= render template: 'supplier/active_orders'
|
||||
@@ -4,5 +4,7 @@ ul.nav.nav-tabs.nav-stacked
|
||||
li= link_to 'Active list', user_active_list_path
|
||||
- else
|
||||
li= link_to 'Join table with Qr scan', '/select_qrcode'
|
||||
li
|
||||
button.btn.btn-primary onClick="QMobile.scanQr()" Scan Qr
|
||||
li= link_to 'Subscribe to list', '#'
|
||||
li= link_to 'Check out menu', '#'
|
||||
|
||||
Reference in New Issue
Block a user