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.
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
{% extends '@Modules/inpostizi/views/templates/admin/layout/basic-layout.html.twig' %}
|
||||
|
||||
{% form_theme form '@Modules/inpostizi/views/templates/admin/config/form_theme_support.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
{% include '@Modules/inpostizi/views/templates/admin/config/support/description.html.twig' %}
|
||||
|
||||
<div class="row mx-n2">
|
||||
<div class="col-lg-4 col-sm-6 col-12 col-xs-12 mt-3 px-2">
|
||||
{% include '@Modules/inpostizi/views/templates/admin/config/support/module_status.html.twig'%}
|
||||
{% include '@Modules/inpostizi/views/templates/admin/config/support/updates.html.twig' %}
|
||||
</div>
|
||||
<div class="col-lg-4 col-sm-6 col-12 col-xs-12 mt-3 px-2">
|
||||
{% include '@Modules/inpostizi/views/templates/admin/config/support/how_to.html.twig' %}
|
||||
</div>
|
||||
<div class="col-lg-4 col-sm-6 col-12 col-xs-12 mt-3 px-2">
|
||||
{% include '@Modules/inpostizi/views/templates/admin/config/support/troubleshooting.html.twig' %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ parent() }}
|
||||
<link rel="stylesheet" href="{{ asset('css/admin/support.css', 'InPostIzi') }}" />
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ parent() }}
|
||||
<script type="text/javascript" src="{{ asset('js/admin/support.js', 'InPostIzi') }}">
|
||||
</script>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user