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