dream 6 months ago
parent
commit
165de08d4b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Modules/Seller/Controller/OrderController.class.php

+ 2 - 1
Modules/Seller/Controller/OrderController.class.php

@@ -1831,7 +1831,8 @@ class OrderController extends CommonController{
 			        if($value['hx_info']['is_hexiao_over'] == 1 || $value['hx_info']['is_hexiao_over'] == 2){
 						$value['hx_info']['is_can_refund'] = 0;
 					}else if($value['hx_info']['is_hexiao_over'] == 0){
-						$can_refund_quantity = floor($value['hx_info']['remain_hexiao_count']/$value['hx_info']['one_hexiao_count']);
+						//$can_refund_quantity = floor($value['hx_info']['remain_hexiao_count']/$value['hx_info']['one_hexiao_count']);
+						$can_refund_quantity = floor($value['hx_info']['hexiao_count']/$value['hx_info']['one_hexiao_count']);
 						if($can_refund_quantity >= 1){
 							$value['hx_info']['is_can_refund'] = 1;
 						}else{