- 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.
23 lines
655 B
Twig
23 lines
655 B
Twig
{% extends "@Modules/inpostizi/views/templates/admin/config/support/partials/block.html.twig" %}
|
|
|
|
{% block support_block_extra_classes %}mb-0{% endblock %}
|
|
|
|
{% block support_block_header_content %}
|
|
<i class="material-icons mr-2">new_releases</i>
|
|
<span>
|
|
{{ 'News'|legacy_trans }}
|
|
</span>
|
|
{% endblock %}
|
|
|
|
{% block support_block_body_extra_classes %}p-3{% endblock %}
|
|
|
|
{% block support_block_body_content %}
|
|
<ul class="mb-0 pl-3">
|
|
<li>
|
|
<a href="https://dokumentacja-inpost.atlassian.net/wiki/spaces/PL/pages/163643393/InPost+Pay+-+PrestaShop">
|
|
{{ 'Link to the module'|legacy_trans }}
|
|
</a>
|
|
</li>
|
|
</ul>
|
|
{% endblock %}
|