Verbose
This commit is contained in:
parent
6afc0582f9
commit
425f5999bc
@ -627,6 +627,10 @@ if($slipNb > 0) {
|
|||||||
}
|
}
|
||||||
// No case, get line mark refunded
|
// No case, get line mark refunded
|
||||||
else {
|
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) {
|
foreach ($order_details as $k => $detail) {
|
||||||
if ($detail['product_quantity_refunded'] == 0) {
|
if ($detail['product_quantity_refunded'] == 0) {
|
||||||
unset($order_details[$k]);
|
unset($order_details[$k]);
|
||||||
|
Loading…
Reference in New Issue
Block a user