Your Name 2 years ago
parent
commit
0fa31d2be0
1 changed files with 10 additions and 0 deletions
  1. 10 0
      tool/stats/lib/Manage.php

+ 10 - 0
tool/stats/lib/Manage.php

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