{% extends 'base.html.twig' %} {% block title %}FoodOrder{% endblock %} {% block body %}

FoodOrder

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 %}
{% for lel in food_order.groupedOrderItems %} {% endfor %}
Name(s) possible price actions
{{ lel.item.menuItem.menuItemAliases|map(i => i.name)|join(' / ') }} {{ lel.item.menuItem.price|cents_to_eur }} {{ lel.amount }} | +1 | -1 |
{% for item in menu_items %} {% endfor %}
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 %}
{% endblock %}