diff --git a/adm/tabs/AdminOrders.php b/adm/tabs/AdminOrders.php index b3bcf046..a54d28ac 100755 --- a/adm/tabs/AdminOrders.php +++ b/adm/tabs/AdminOrders.php @@ -813,10 +813,10 @@ class AdminOrders extends AdminTab $orderProducts = $order->getProductsDetail(); // Check line $refundIsFull = false; - if (count($orderProducts) == count($orderSlipDetail)) { + if (count($orderProducts) == count($refundDetail)) { $refundIsFull = true; foreach($orderProducts as $k => $line) { - if ($line['product_quantity'] != $orderSlipDetail[$line['id_order_detail']]['product_quantity']) { + if ($line['product_quantity'] != $refundDetail[$line['id_order_detail']]['product_quantity']) { $refundIsFull = false; break; } @@ -860,9 +860,7 @@ class AdminOrders extends AdminTab $product_ids[] = (int) $row['product_id']; } - /** - * @Override Philea - */ + // @Override Philea if (Db::getInstance()->getRow(' SELECT * FROM `'._DB_PREFIX_.'philea_parcel`