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:
3
modules/inpostizi/views/js/admin/cart-rules.js
Normal file
3
modules/inpostizi/views/js/admin/cart-rules.js
Normal file
@@ -0,0 +1,3 @@
|
||||
(()=>{(()=>{"use strict";var l={};(e=>{document.readyState==="loading"?document.addEventListener("DOMContentLoaded",e):e()})(()=>{const e=document.getElementById("inpostizi_form_tab"),t=document.getElementById("cart_rule_form");e!==null&&t!==null&&t.appendChild(e.content.cloneNode(!0));const n=document.getElementById("inpostizi_nav_link"),o=document.getElementById("cart_rule_link_actions").closest("ul");n!==null&&o!==null&&o.appendChild(n.content.cloneNode(!0))})})();})();
|
||||
|
||||
//# sourceMappingURL=cart-rules.js.map
|
||||
Reference in New Issue
Block a user