// AdminSupplyOrdersController: fixed bugs when adding products to the order
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10758 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -74,7 +74,7 @@
|
||||
{$product.reference}
|
||||
<input type="hidden" name="input_check_{$product.id_product}_{$product.id_product_attribute}" value="{$product.checksum}" />
|
||||
<input type="hidden" name="input_reference_{$product.id_product}_{$product.id_product_attribute}" value="{$product.reference}" />
|
||||
<input type="hidden" name="input_id_{$product.id_product}_{$product.id_product_attribute}" value="{$product.id_supply_order_detail}" />
|
||||
<input type="hidden" name="input_id_{$product.id_product}_{$product.id_product_attribute}" value="{if isset($product.id_supply_order_detail)}{$product.id_supply_order_detail}{/if}" />
|
||||
</td>
|
||||
<td>
|
||||
{$product.ean13}
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user