From 099eb420ff3c66a730e50d07b2e35218091352cf Mon Sep 17 00:00:00 2001 From: anonymze Date: Thu, 18 Apr 2024 13:59:00 +0200 Subject: [PATCH] add: verification it is really pdf beore printing fix: prevent propagation event on js print update: module version --- Config/module.xml | 2 +- .../colissimo-label/hook/order-edit-js.html | 375 ++++++++++-------- 2 files changed, 203 insertions(+), 174 deletions(-) diff --git a/Config/module.xml b/Config/module.xml index 8d61b57..5989f3f 100644 --- a/Config/module.xml +++ b/Config/module.xml @@ -13,7 +13,7 @@ en_US fr_FR - 2.1.1 + 2.1.2 Gilles Bourgeat diff --git a/templates/backOffice/default/colissimo-label/hook/order-edit-js.html b/templates/backOffice/default/colissimo-label/hook/order-edit-js.html index 870bbf6..8bdc70d 100644 --- a/templates/backOffice/default/colissimo-label/hook/order-edit-js.html +++ b/templates/backOffice/default/colissimo-label/hook/order-edit-js.html @@ -1,25 +1,25 @@ {loop type="order" name="the-order" id=$order_id customer="*" backend_context=true} - {$enable = false} - {loop type="module" name="module-order" active="yes" backend_context=true id=$DELIVERY_MODULE} - - {if $CODE === "ColissimoHomeDelivery" || $CODE === "ColissimoPickupPoint"} - {$enable = true} - {/if} - {/loop} - - {if $enable} -