|
@@ -156,7 +156,7 @@ class Refund
|
|
$p_cash = 0;
|
|
$p_cash = 0;
|
|
}
|
|
}
|
|
|
|
|
|
- if (isset($data['ps_cash']) && $data['ps_cash'] > 0 && $data['status'] >= 4) {
|
|
|
|
|
|
+ if (isset($data['ps_cash']) && $data['ps_cash'] > 0 && $data['status'] >= 3) {
|
|
# 已发货不退配送费
|
|
# 已发货不退配送费
|
|
$cash -= $data['ps_cash'];
|
|
$cash -= $data['ps_cash'];
|
|
}
|
|
}
|
|
@@ -287,7 +287,7 @@ class Refund
|
|
} else {
|
|
} else {
|
|
$update['where_id'] = $order['id'];
|
|
$update['where_id'] = $order['id'];
|
|
$update['operdate'] = time();
|
|
$update['operdate'] = time();
|
|
- if (isset($order['ps_cash']) && $order['ps_cash'] > 0 && $order['status'] < 4) {
|
|
|
|
|
|
+ if (isset($order['ps_cash']) && $order['ps_cash'] > 0 && $order['status'] < 3) {
|
|
# 配送费退掉
|
|
# 配送费退掉
|
|
$update['ps_cash'] = 0;
|
|
$update['ps_cash'] = 0;
|
|
}
|
|
}
|