This commit is contained in:
Michael RICOIS 2018-03-16 15:27:18 +01:00
parent 6afc0582f9
commit 425f5999bc

View File

@ -627,6 +627,10 @@ if($slipNb > 0) {
}
// No case, get line mark refunded
else {
if ($optVerbose) {
echo date('Y-m-d H:i:s')." - No transaction"."\n";
}
// Base on real article refunded - clean order details
foreach ($order_details as $k => $detail) {
if ($detail['product_quantity_refunded'] == 0) {
unset($order_details[$k]);