From de17a688d979579ea321382b145d65b609755a5d Mon Sep 17 00:00:00 2001 From: bMancone Date: Tue, 29 Nov 2011 17:04:43 +0000 Subject: [PATCH] // AdminSupplyOrdersController: fixed bugs when adding products to the order --- admin-dev/themes/template/supply_orders/form.tpl | 2 +- controllers/admin/AdminSupplyOrdersController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/template/supply_orders/form.tpl b/admin-dev/themes/template/supply_orders/form.tpl index c63733fe2..cb7cf1a65 100644 --- a/admin-dev/themes/template/supply_orders/form.tpl +++ b/admin-dev/themes/template/supply_orders/form.tpl @@ -74,7 +74,7 @@ {$product.reference} - + {$product.ean13} diff --git a/controllers/admin/AdminSupplyOrdersController.php b/controllers/admin/AdminSupplyOrdersController.php index 44660ba8a..eceae3abf 100644 --- a/controllers/admin/AdminSupplyOrdersController.php +++ b/controllers/admin/AdminSupplyOrdersController.php @@ -807,7 +807,7 @@ class AdminSupplyOrdersControllerCore extends AdminController $errors = $entry->validateController(); //get the product name displayed in the backoffice according to the employee language - $entry->name_displayed = Tools::getValue('input_name_'.$id, ''); + $entry->name_displayed = Tools::getValue('input_name_displayed_'.$id, ''); // if there is a problem, handle error for the current product if (count($errors) > 0)