dream 6 kuukautta sitten
vanhempi
sitoutus
165de08d4b
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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{