{% extends 'Shop/base.html.twig' %} {% block title %} {{ 'app.shop_owner.pages.closing_days.title'|trans }} {% endblock %} {% block toolbar_actions %}
{{ 'app.shop_owner.pages.notice.title.closing'|trans }} {{ 'app.global.buttons.add'|trans }}
{% endblock %} {% block component_body %}
{% for closingDay in closingDays %} {% else %} {% endfor %}
{{ 'app.global.fields.status'|trans }} {{ 'app.global.fields.start'|trans }} {{ 'app.global.fields.end'|trans }} {{ 'app.global.fields.actions'|trans }}
{{ closingDay.startingDate|date('Y/m/d') }} {{ closingDay.endingDate|date('Y/m/d') }}
{{ link('edit','modal', 'success', {'entity-id' : closingDay.id, 'modalId': 'foxorders_modal_form_shop' }) }} {% include 'Includes/Shop/delete.html.twig' with { 'route':path('foxorders_shop_closing_days_delete', {'id': closingDay.id}) , 'token': csrf_token('delete' ~ closingDay.id), 'button': 'list_delete'} %}
{{ 'app.global.detail.no_record_found'|trans }}
{% include 'List/pagination.html.twig' with { 'data' : closingDays } %}
{% endblock %} {% block modals %} {% include 'Modal/form.html.twig' with { 'title': 'app.shop_owner.pages.closing_days.new.title'|trans, 'id': 'shop', } %} {% endblock %} {% block javascripts %} {% endblock %}