|
@@ -314,6 +314,11 @@ Class Manage
|
|
$discount_cash = round($v1['discount_cash'],2);
|
|
$discount_cash = round($v1['discount_cash'],2);
|
|
$card_code_cash = round($v['card_code_cash'],2);
|
|
$card_code_cash = round($v['card_code_cash'],2);
|
|
$wallet_cash = round($v['wallet_cash'],2);
|
|
$wallet_cash = round($v['wallet_cash'],2);
|
|
|
|
+ if ($v['status'] == 8) {
|
|
|
|
+ $refund_cash = $refund_cash;
|
|
|
|
+ $ka = $ka;
|
|
|
|
+ $money = 0;
|
|
|
|
+ }
|
|
|
|
|
|
} else {
|
|
} else {
|
|
$price = 0;
|
|
$price = 0;
|
|
@@ -324,6 +329,11 @@ Class Manage
|
|
$discount_cash = 0;
|
|
$discount_cash = 0;
|
|
$card_code_cash = 0;
|
|
$card_code_cash = 0;
|
|
$wallet_cash = 0;
|
|
$wallet_cash = 0;
|
|
|
|
+ if ($v['status'] == 8) {
|
|
|
|
+ $refund_cash = 0;
|
|
|
|
+ $ka = 0;
|
|
|
|
+ $money = 0;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|