{% extends 'base.html.twig' %} {% block title %}FoodOrder{% endblock %} {% block body %}
StartedByName | {{ food_order.startedBy }} |
---|---|
Id | {{ food_order.id }} |
StartedAt | {{ food_order.startedAt ? food_order.startedAt|date('Y-m-d H:i:s') : '' }} |
ClosedAt | {% if food_order.closedAt is not null%} {{ food_order.closedAt|date('Y-m-d H:i:s') }} {% else %} close {% endif %} |
Name(s) | Extra(s) | possible price | actions |
---|---|---|---|
{{ orderItem.item.menuItem.menuItemAliases|map(i => i.name)|join(' / ') }} | {{ orderItem.item.extras|map(i => i.name)|join(' / ') }} | {{ orderItem.item.menuItem.price|cents_to_eur }} | {{ orderItem.amount }} | +1 | -1 | |
Name(s) | possible price | actions |
---|---|---|
{{ item.menuItemAliases|map(i => i.name)|join(' / ') }} | {{ item.price|cents_to_eur }} | {% if food_order.closedAt is null %} add {% endif %} |