@@ -570,7 +570,7 @@ class OrderController extends ProducerBaseController | |||
$favoritePointSale = User::getCurrent()->getFavoritePointSale() ; | |||
if($favoritePointSale) { | |||
/*if($favoritePointSale) { | |||
$newPointSaleArray = [] ; | |||
foreach($pointsSaleArray as $pointSale) { | |||
@@ -588,7 +588,9 @@ class OrderController extends ProducerBaseController | |||
} | |||
else { | |||
$newPointSaleArray = $pointsSaleArray ; | |||
} | |||
}*/ | |||
$newPointSaleArray = $pointsSaleArray ; | |||
$json['points_sale'] = $newPointSaleArray; | |||