28 lines
802 B
Plaintext
28 lines
802 B
Plaintext
= sections-header active_section=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 orders as |order|
|
|
tr
|
|
td
|
|
each order.list.users as |user|
|
|
= user.avatar_tag
|
|
td.status-icons
|
|
if order.active
|
|
span.active-order.fa.fa-check.fa-lg
|
|
td= order.display
|
|
td.numeric.table_number=table-number-with-info list=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"
|