diff --git a/samedaycourier.php b/samedaycourier.php index defdbe3..56e3dbd 100755 --- a/samedaycourier.php +++ b/samedaycourier.php @@ -107,7 +107,7 @@ public function __construct() $this->name = 'samedaycourier'; $this->tab = 'shipping_logistics'; - $this->version = '1.7.2'; + $this->version = '1.7.3'; $this->author = 'Sameday Courier'; $this->need_instance = 0; $this->bootstrap = true; @@ -223,6 +223,7 @@ public function uninstall() /** * Load the configuration form */ + public function getContent() { $this->html = ''; @@ -1673,7 +1674,7 @@ private function displayAdminOrderContent($params) 'isLastMileToShow' => $isLastMileToShow, 'isOpenPackage' => ((int) SamedayOpenPackage::checkOrderIfIsOpenPackage($order->id)) > 0, 'ajaxRoute' => $this->ajaxRoute, - 'messages' => $this->messages, + 'messages' => $this->messages ) ); diff --git a/views/templates/hook/displayAdminOrder.tpl b/views/templates/hook/displayAdminOrder.tpl index a3500a4..9d1359a 100644 --- a/views/templates/hook/displayAdminOrder.tpl +++ b/views/templates/hook/displayAdminOrder.tpl @@ -22,6 +22,13 @@ * @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA *} + + + {if $messages|count} {foreach from=$messages item=message} @@ -532,6 +539,7 @@ $(this).attr('submitted', true); }); + $('#input-status-sameday-pickup_point').select2(); }); {/if}