Files
wyczarujprezent.pl/modules/inpostizi/views/templates/admin/config/gui/form.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

35 lines
910 B
Twig

<p class="h3 mb-3">
{{ form_label(form, null, {
'label_attr': {
'class': 'p-0'
}
}) }}
</p>
{% if form.vars.description is not empty %}
<p class="mb-4">
{{ form.vars.description|raw }}
</p>
{% endif %}
<div class="row row-flex mt-n3">
<div class="col-lg-7 col-md-6 col-12 col-xs-12 mt-3 mr-auto">
{% include '@Modules/inpostizi/views/templates/admin/config/gui/config.html.twig' with {
form: form.widgetConfiguration,
formDisplay: form.displayed,
alignmentForm: form.htmlStyles.justifyContent
} %}
{% include '@Modules/inpostizi/views/templates/admin/config/gui/styles.html.twig' with {
form: form.htmlStyles,
} %}
</div>
<div class="col-lg-4 col-md-6 col-12 col-xs-12 mt-3">
{% include '@Modules/inpostizi/views/templates/admin/config/gui/preview.html.twig' with {
form: form.widgetConfiguration,
} %}
</div>
</div>