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 @@
|
||||
<div id="inpostizi_block_backend" class="card">
|
||||
<div class="card-header">
|
||||
<h3 class="card-header-title">
|
||||
InPost Pay
|
||||
</h3>
|
||||
</div>
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row mt-3">
|
||||
<div class="col">
|
||||
<p class="mb-1">
|
||||
<strong>{l s='Delivery method' mod='inpostizi'}:</strong>
|
||||
</p>
|
||||
<p>{$delivery}</p>
|
||||
|
||||
{if $apm != ''}
|
||||
<p class="mb-1">
|
||||
<strong>{l s='APM' mod='inpostizi'}:</strong>
|
||||
</p>
|
||||
<p>{$apm}</p>
|
||||
{/if}
|
||||
|
||||
{if $issue_invoice}
|
||||
<p>
|
||||
<strong>{l s='The customer requested a VAT invoice' mod='inpostizi'}</strong>
|
||||
</p>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user