Files
mozo-backend/app/assets/javascripts/waiter/app/templates/table.emblem
T

23 lines
588 B
Plaintext

hr.hide-for-large-up
if product_orders
a.tiny.button.right{action clearProductOrders} href="#" x
h4
= t 'models.table'
|
= number
.panel
ul.product-orders
each product_order in product_orders
li
= product_order.quantity
| x
= product_order.product.name
span.currency=currency product_order.total
else
li= t 'product_orders.no_orders'
li.total
= t 'product_orders.total'
span.currency=currency orderTotal
if product_orders
a.tiny.button.right{action orderProducts} href="#" = t 'product_orders.order_button'