[-] FO : fix #PSCFV-548 - when ordering out of stock downloadable product, the download is not available in order history
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15161 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
1 parent
29ec1a1bd0
commit
d1ed1818eb
1 file changed
+1
-1
@@ -169,7 +169,7 @@ class OrderDetailControllerCore extends FrontController
|
|||||||
'currency' => new Currency($order->id_currency),
|
'currency' => new Currency($order->id_currency),
|
||||||
'order_state' => (int)($id_order_state),
|
'order_state' => (int)($id_order_state),
|
||||||
'invoiceAllowed' => (int)(Configuration::get('PS_INVOICE')),
|
'invoiceAllowed' => (int)(Configuration::get('PS_INVOICE')),
|
||||||
'invoice' => (OrderState::invoiceAvailable($id_order_state) && $order->invoice_number),
|
'invoice' => (OrderState::invoiceAvailable($id_order_state) && count($order->getInvoicesCollection())),
|
||||||
'order_history' => $order->getHistory($this->context->language->id, false, true),
|
'order_history' => $order->getHistory($this->context->language->id, false, true),
|
||||||
'products' => $products,
|
'products' => $products,
|
||||||
'discounts' => $order->getCartRules(),
|
'discounts' => $order->getCartRules(),
|
||||||
|
|||||||
Reference in new issue
Block a user