- 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.
25 lines
687 B
Twig
25 lines
687 B
Twig
{% extends '@PrestaShop/Admin/layout.html.twig' %}
|
|
|
|
{% block content_header %}
|
|
{{ parent() }}
|
|
|
|
{# DISABLED FOR NOW, WE ARE WAITING FOR BANNERS TO COME #}
|
|
{# {% include '@Modules/inpostizi/views/templates/admin/banner.html.twig'%}#}
|
|
{% endblock %}
|
|
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<link rel="stylesheet" href="{{ asset('css/admin/admin.css', 'InPostIzi') }}" />
|
|
|
|
{% if is_legacy_admin_page %}
|
|
<link rel="stylesheet" href="{{ asset('css/admin/admin-legacy.css', 'InPostIzi') }}" />
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block javascripts %}
|
|
{{ parent() }}
|
|
<script type="text/javascript" src="{{ asset('js/admin/admin.js', 'InPostIzi') }}">
|
|
</script>
|
|
{% endblock %}
|