// Removing red error message when orders total is diferent form the total paid if there are multiple orders with the same reference

This commit is contained in:
mDeflotte
2011-12-19 17:26:17 +00:00
parent 43dfab65c8
commit a58e1f41c8
3 changed files with 18 additions and 1 deletions
@@ -1024,6 +1024,7 @@ class AdminOrdersControllerCore extends AdminController
'customerStats' => $customer->getStats(),
'products' => $products,
'discounts' => $order->getCartRules(),
'orders_total_paid_tax_incl' => $order->getOrdersTotalPaid(), // Get the sum of total_paid_tax_incl of the order with similar reference
'total_paid' => $order->getTotalPaid(),
'returns' => OrderReturn::getOrdersReturn($order->id_customer, $order->id),
'slips' => OrderSlip::getOrdersSlip($order->id_customer, $order->id),