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:
2025-09-14 14:38:09 +02:00
parent d895f86a03
commit 4066f6fa31
1086 changed files with 76598 additions and 6 deletions

View File

@@ -0,0 +1,15 @@
<div id="inpostizi_block_backend" class="panel">
<div class="panel-heading">InPost Pay</div>
<dl class="well list-detail">
<dt>{l s='Delivery method' mod='inpostizi'}:</dt><dd>{$delivery}</dd>
{if $apm !== ''}
<dt>{l s='APM' mod='inpostizi'}:</dt><dd>{$apm}</dd>
{/if}
{if $issue_invoice}
<dt>{l s='The customer requested a VAT invoice' mod='inpostizi'}</dt><dd></dd>
{/if}
</dl>
</div>