From ba11328cec2ccc9d0dbbb604eb7c2566d40f4f13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Fri, 8 Feb 2013 15:02:15 +0100 Subject: [PATCH] [-] BO: Fix #PSCFV-7427 group id used for price computation on order edition --- .../default/template/controllers/orders/helpers/view/view.tpl | 1 + js/admin_order.js | 1 + 2 files changed, 2 insertions(+) diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index c32b72c29..6a6a9c073 100755 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -31,6 +31,7 @@ var id_order = {$order->id}; var id_lang = {$current_id_lang}; var id_currency = {$order->id_currency}; + var id_customer = {$order->id_customer|intval}; {assign var=PS_TAX_ADDRESS_TYPE value=Configuration::get('PS_TAX_ADDRESS_TYPE')} var id_address = {$order->$PS_TAX_ADDRESS_TYPE}; var currency_sign = "{$currency->sign}"; diff --git a/js/admin_order.js b/js/admin_order.js index 85de4d3cf..148482969 100644 --- a/js/admin_order.js +++ b/js/admin_order.js @@ -335,6 +335,7 @@ function init() id_lang: id_lang, id_currency: id_currency, id_address: id_address, + id_customer: id_customer, product_search: function() { return $('#add_product_product_name').val(); } } }