[-] BO: Fix specific prices on BackOffice order

This commit is contained in:
rGaillard
2012-04-13 17:20:17 +00:00
parent e29623cc3d
commit 98576def6d
@@ -731,6 +731,7 @@ class AdminOrdersControllerCore extends AdminController
{
$payment_module = Module::getInstanceByName($module_name);
$cart = new Cart((int)$id_cart);
Context::getContext()->customer = new Customer((int)$cart->id_customer);
$payment_module->validateOrder((int)$cart->id, (int)$id_order_state, $cart->getOrderTotal(true, Cart::BOTH), $payment_module->displayName, sprintf($this->l('Manual order - ID Employee :%d'), (int)Context::getContext()->cookie->id_employee), array(), null, false, $cart->secure_key);
if ($payment_module->currentOrder)
Tools::redirectAdmin(self::$currentIndex.'&id_order='.$payment_module->currentOrder.'&vieworder'.'&token='.$this->token);