Fix and implement supplier counters
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_function image_tag(url_for(table_qr_image_path(table_id: table.id, format: :png))), %|Quser.actions_for_table({table_id: '#{table.id}'})|
|
||||
li= link_to_function image_tag(url_for(table_qr_image_path(table_id: table.id, format: :svg)), class: 'qr-image'), %|Quser.actions_for_table({table_id: '#{table.id}'})|
|
||||
|
||||
@@ -28,7 +28,7 @@ html lang="en"
|
||||
ul.nav.pull-right
|
||||
li.dropdown
|
||||
a.dropdown-toggle href="#" data-toggle="dropdown"
|
||||
= current_supplier.email
|
||||
= current_supplier.name.presence || current_supplier.email
|
||||
b.caret
|
||||
ul.dropdown-menu
|
||||
- if current_supplier.open?
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
= top_bar title: 'active_list.title' do
|
||||
.pull-right
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.counter.supplier-orders-placed-count
|
||||
.counter.supplier-orders-in-process-count
|
||||
.action-buttons
|
||||
= link_to content_tag(:span, t('helpers.links.place_order')), user_list_products_path, class: ['user-top-button'], id: 'place-order-on-list'
|
||||
span#list-needs-payment-button.user-top-button
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
= top_bar title: 'show_products.title' do
|
||||
.pull-right
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.counter.supplier-orders-placed-count
|
||||
.counter.supplier-orders-in-process-count
|
||||
.action-buttons
|
||||
= link_to user_active_list_path, class: ['user-top-button'], id: 'show-active-list' do
|
||||
span= t('helpers.links.show_active_list', list: List.model_name.human)
|
||||
|
||||
@@ -1,7 +1,11 @@
|
||||
= top_bar title: 'show_products.title' do
|
||||
.pull-right
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.table-number
|
||||
.supplier-name
|
||||
.supplier-info-row
|
||||
.counter.supplier-orders-placed-count
|
||||
.counter.supplier-orders-in-process-count
|
||||
.well
|
||||
table#products-table.table.table-hover
|
||||
tbody
|
||||
|
||||
Reference in New Issue
Block a user