dream há 6 meses atrás
pai
commit
bcccf3486f
1 ficheiros alterados com 6 adições e 1 exclusões
  1. 6 1
      Themes/Seller/Order/oprefund_goods_do.html

+ 6 - 1
Themes/Seller/Order/oprefund_goods_do.html

@@ -78,7 +78,12 @@
 						 if($free_tongji < 0){
 							$free_tongji = 0;
 						  }
-						 $refund_one_money = round( $free_tongji/$total_quantity , 2)??0;
+						  if($free_tongji==0||$total_quantity==0){
+							$refund_one_money =0
+						  }else{
+							$refund_one_money = round( $free_tongji/$total_quantity , 2);
+						  }
+						
 						<!-- var_dump($free_tongji );
 						var_dump($total_quantity ); -->
 					?>