{% extends 'Admin/base.html.twig' %} {% block title %}{{ 'app.admin.pages.kitchens.head_title'|trans }} {% endblock %} {% block toolbar_actions %} {% include 'Includes/Button/add.html.twig'%} {% endblock %} {% block search %} {% include 'Search/list.html.twig' %} {% endblock %} {% block component_body %}
| {{ 'app.global.fields.status'|trans }} | {{ 'app.global.fields.name'|trans }} | {{ 'app.global.fields.description'|trans }} | {{ 'app.global.fields.creation_date'|trans }} | |
|---|---|---|---|---|
| {{ enabled(kitchen.id, 'foxorders_admin_kitchen_enable', kitchen.enabled) }} | {{ kitchen.name }} | {{ kitchen.description }} | {{ kitchen.createdAt|date('d/m/Y H:i') }} |
{{ link('edit','modal', 'success', {'entity-id' : kitchen.id, 'entity-name' : kitchen.name, 'modalId': 'foxorders_modal_form_admin' }) }}
{% include 'Includes/delete.html.twig' with {
'route':path('foxorders_admin_kitchen_delete', {'id': kitchen.id}) ,
'token': csrf_token('delete' ~ kitchen.id),
'button': 'list_delete'}
%}
|
| {{ 'app.global.detail.no_record_found'|trans }} | ||||