[-] BO : fix #PSCFV-2381 : now count translations fields are good and translations...

This commit is contained in:
lLefevre
2012-05-19 13:26:27 +00:00
parent d6a120cfc0
commit 66c861df39
12 changed files with 69 additions and 37 deletions
+5 -1
View File
@@ -803,7 +803,11 @@ class AdminOrdersControllerCore extends AdminController
$cart = new Cart((int)$id_cart);
Context::getContext()->customer = new Customer((int)$cart->id_customer);
$employee = new Employee((int)Context::getContext()->cookie->id_employee);
$payment_module->validateOrder((int)$cart->id, (int)$id_order_state, $cart->getOrderTotal(true, Cart::BOTH), $payment_module->displayName, $this->l('Manual order - Employee :').Tools::safeOutput(substr($employee->firstname, 0, 1).'. '.$employee->lastname), array(), null, false, $cart->secure_key);
$payment_module->validateOrder(
(int)$cart->id, (int)$id_order_state,
$cart->getOrderTotal(true, Cart::BOTH), $payment_module->displayName, $this->l('Manual order - Employee:').
Tools::safeOutput(substr($employee->firstname, 0, 1).'. '.$employee->lastname), array(), null, false, $cart->secure_key
);
if ($payment_module->currentOrder)
Tools::redirectAdmin(self::$currentIndex.'&id_order='.$payment_module->currentOrder.'&vieworder'.'&token='.$this->token);
}