Merge branch 'ticket/r15587-refund-paypal' into develop
This commit is contained in:
commit
b5307d448a
@ -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`
|
||||
|
Loading…
Reference in New Issue
Block a user