// Added order state color in order::getHistory()

This commit is contained in:
Damien Metzger
2013-10-09 15:33:46 +02:00
parent c8347cbc59
commit 1870dd4dd2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -168,9 +168,9 @@ class OrderDetailControllerCore extends FrontController
$this->context->smarty->assign(array(
'shop_name' => strval(Configuration::get('PS_SHOP_NAME')),
'order' => $order,
'return_allowed' => (int)($order->isReturnable()),
'return_allowed' => (int)$order->isReturnable(),
'currency' => new Currency($order->id_currency),
'order_state' => (int)($id_order_state),
'order_state' => (int)$id_order_state,
'invoiceAllowed' => (int)(Configuration::get('PS_INVOICE')),
'invoice' => (OrderState::invoiceAvailable($id_order_state) && count($order->getInvoicesCollection())),
'order_history' => $order->getHistory($this->context->language->id, false, true),