Files
wyczarujprezent.pl/modules/inpostizi/views/templates/admin/config/gui/config.html.twig
Jacek Pyziak 4066f6fa31 Add InPost Pay integration to admin templates
- Created a new template for the cart rule form with custom label, switch, and choice widgets.
- Implemented the InPost Pay block in the order details template for displaying delivery method, APM, and VAT invoice request.
- Added legacy support for the order details template to maintain compatibility with older PrestaShop versions.
2025-09-14 14:38:09 +02:00

30 lines
695 B
Twig

<div class="row mt-n2">
<div class="col-xxl-auto col-12 col-xs-12 mt-2">
{{ form_row(formDisplay) }}
</div>
{% set style_forms = ['maxWidthPx'] %}
{% for name, child in form %}
{% if name not in style_forms %}
<div class="col-xxl col-xl-3 col-sm-6 col-12 col-xs-12 mt-2">
{{ form_row(child) }}
</div>
{% endif %}
{% endfor %}
</div>
<div class="row">
<div class="col-xl-3 col-sm-6 col-12 col-xs-12 mt-2">
{{ form_row(alignmentForm) }}
</div>
{% for child in form %}
{% if not child.rendered %}
<div class="col-xl-3 col-sm-6 col-12 col-xs-12 mt-2">
{{ form_row(child) }}
</div>
{% endif %}
{% endfor %}
</div>