// Replacement of getDiscounts method

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9900 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rGaillard
2011-11-04 16:52:39 +00:00
parent 37a918a0bf
commit e2026d1cc3
5 changed files with 6 additions and 6 deletions
@@ -140,7 +140,7 @@ class GuestTrackingControllerCore extends FrontController
'invoice' => (OrderState::invoiceAvailable((int)($id_order_state)) && $order->invoice_number),
'order_history' => $order->getHistory((int)$this->context->language->id, false, true),
'products' => $products,
'discounts' => $order->getDiscounts(),
'discounts' => $order->getCartRules(),
'carrier' => $carrier,
'address_invoice' => $addressInvoice,
'invoiceState' => (Validate::isLoadedObject($addressInvoice) && $addressInvoice->id_state) ? new State((int)($addressInvoice->id_state)) : false,