18 lines
No EOL
592 B
Twig
18 lines
No EOL
592 B
Twig
{% set opacity = food_order.isClosed ? 'opacity-25' : 'opacity-100' %}
|
|
<tr class="{{ opacity }}">
|
|
<td>
|
|
{{ food_order.createdBy }}
|
|
</td>
|
|
<td>
|
|
{{ food_order.foodVendor.name }}
|
|
</td>
|
|
<td>
|
|
{{ food_order.createdAt ? food_order.createdAt|date('Y-m-d H:i:s', 'Europe/Berlin') : '' }}
|
|
</td>
|
|
<td>
|
|
{{ food_order.closedAt ? food_order.closedAt|date('Y-m-d H:i:s', 'Europe/Berlin') : '' }}
|
|
</td>
|
|
<td>
|
|
<a class="btn btn-sm btn-outline-info" href="{{ path('app_food_order_show', {'id': food_order.id}) }}">show</a>
|
|
</td>
|
|
</tr> |