26 lines
796 B
Plaintext
26 lines
796 B
Plaintext
= sections-header sectionBinding="section"
|
|
table.table
|
|
thead
|
|
tr
|
|
th.user-info
|
|
th.status-icons
|
|
th=t 'models.order'
|
|
th.numeric=t 'table_number'
|
|
th=t 'models.section'
|
|
th.currency=t 'active_orders.price'
|
|
th.time
|
|
tbody
|
|
each order in orders
|
|
tr
|
|
td
|
|
each user in order.list.users
|
|
= user.avatar_tag
|
|
td.status-icons
|
|
if order.active
|
|
span.active-order.fa.fa-check.fa-lg
|
|
td= order.display
|
|
td.numeric.table_number: App.TableNumberWithInfoView contextBinding="order.list"
|
|
td.section_title: link-to 'section' order.list.table.section.id: span=order.list.table.section.title
|
|
td.currency=currency order.total
|
|
td.time= time order.created_at format="HH:mm"
|