{% extends 'Shop/base.html.twig' %} {% block title %} {{ 'app.shop_owner.pages.menu_cross.title'|trans }} {% endblock %} {% block toolbar_actions %} {% if menus.getPaginationData.totalCount != shop.menus.count %} {{ 'app.global.buttons.add'|trans }} {% endif %} {% endblock %} {% block component_body %}
| {{ 'app.global.fields.menu'|trans }} | {{ 'app.global.fields.products'|trans }} | |
|---|---|---|
| {{menu}} |
{% for product in menu.crossSellingProducts %}
{{ product }}
{% endfor %}
|
{{ link('edit','modal', 'success', {'entity-id' : menu.id, 'modalId': 'foxorders_modal_form_shop' }) }}
{% include 'Includes/delete.html.twig' with {
'route': path('foxorders_shop_menu_cross_selling_delete', {'id': menu.id}) ,
'token': csrf_token('delete' ~ menu.id),
'button': 'list_delete'
} %}
|