Add order time to supplier dashboard
This commit is contained in:
@@ -7,6 +7,7 @@ td= view.content.display
|
||||
td.numeric.table_number: App.TableNumberWithInfoView contextBinding="view.content.list"
|
||||
td.section_title: link-to 'section' view.content.list.table.section.id: span=view.content.list.table.section.title
|
||||
td.currency=currency view.content.total
|
||||
td.time= time view.content.created_at format="HH:mm"
|
||||
td.actions
|
||||
if view.content.placed
|
||||
button.mark_order_active{ action "markOrderActive" view.content.id}
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
th.numeric=t 'table_number'
|
||||
th=t 'models.section'
|
||||
th.currency=t 'active_orders.price'
|
||||
th.time
|
||||
th.actions
|
||||
tbody
|
||||
each order in controller.active_orders: App.ActiveOrderView contentBinding="order"
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
@import ./menu_main
|
||||
@import ./menu_side
|
||||
@import ./qsections
|
||||
@import ./qtables
|
||||
@import ./section_tab_headers
|
||||
@import ./qlists
|
||||
@import ./qmodal
|
||||
|
||||
+4
@@ -12,6 +12,10 @@ table
|
||||
text-align: center
|
||||
&.currency
|
||||
text-align: right
|
||||
&.time
|
||||
text-align: right
|
||||
&.date
|
||||
text-align: right
|
||||
.table-edit
|
||||
+button($bg: $secondary-color)
|
||||
+button-icon-only
|
||||
Reference in New Issue
Block a user