{% extends 'base.html.twig' %}
{% block title %}FoodOrder{% endblock %}
{% block body %}
FoodOrder
StartedByName |
{{ food_order.startedByName }} |
Id |
{{ food_order.id }} |
StartedAt |
{{ food_order.startedAt ? food_order.startedAt|date('Y-m-d H:i:s') : '' }} |
ClosedAt |
{{ food_order.closedAt ? food_order.closedAt|date('Y-m-d H:i:s') : '' }} |
Name(s) |
possible price |
actions |
{% for lel in food_order.groupedOrderItems %}
{{ lel.item.menuItem.aliases|map(i => i.name)|join(' / ') }}
|
{{ lel.item.menuItem.price }}
|
{{ lel.amount }} |
+1 |
-1 |
|
{% endfor %}
Name(s) |
possible price |
actions |
{% for item in menu_items %}
{{ item.aliases|map(i => i.name)|join(' / ') }}
|
{{ item.price }}
|
join
|
{% endfor %}
back to list
edit
{{ include('food_order/_delete_form.html.twig') }}
{% endblock %}