Add order time to supplier dashboard

This commit is contained in:
2014-09-19 17:19:42 +02:00
parent 3b2588d0f0
commit b2d973c542
5 changed files with 6 additions and 3 deletions
@@ -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"