Your Name %!s(int64=2) %!d(string=hai) anos
pai
achega
36979b9631
Modificáronse 1 ficheiros con 6 adicións e 2 borrados
  1. 6 2
      tool/stats/lib/Manage.php

+ 6 - 2
tool/stats/lib/Manage.php

@@ -388,6 +388,8 @@ Class Manage
 							$order_num = $v['num'];//订单总数量
 							$oprice = round($v['oprice'],2);#订单总金额
 							$coupon_cash = round($v['coupon_cash'],2);
+							$ka = round($ka,2);
+							$money = round($money,2);
 						} else {
 							$discount_cash = 0;
 							$card_code_cash = 0;
@@ -397,6 +399,8 @@ Class Manage
 							$order_num = 0;
 							$oprice = 0;
 							$coupon_cash = 0;
+							$ka = 0;
+							$money = 0;
 						}
 						$dyouhui = round($v1['discount_cash'],2);
 						$dcard_price = $v['card_code_cash']/$v['oprice']*($v1['price']*$v1['num']);
@@ -450,8 +454,8 @@ Class Manage
 		                    $refund_cdate,
 
 		                    round($refund_cash, 2),
-		                    round($ka,2),
-		                    round($money,2),
+		                    $ka,
+		                    $money,
 
 		                    $address_contact,
 		                    $address_mobile,