[*] BO : Partial refund now handle quantity
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11624 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -338,7 +338,8 @@ class AdminOrdersControllerCore extends AdminController
|
||||
if (isset($amount_detail) && !empty($amount_detail))
|
||||
{
|
||||
$amount += $amount_detail;
|
||||
$order_detail_list[$id_order_detail] = $amount_detail;
|
||||
$order_detail_list[$id_order_detail]['quantity'] = (int)$_POST['partialRefundProductQuantity'][$id_order_detail];
|
||||
$order_detail_list[$id_order_detail]['amount'] = (float)$amount_detail;
|
||||
}
|
||||
$shipping_cost_amount = (float)(Tools::getValue('partialRefundShippingCost'));
|
||||
if ($shipping_cost_amount > 0)
|
||||
|
||||
Reference in New Issue
Block a user