|
|
|
|
|
|
|
|
|
|
|
|
|
|
$favoritePointSale = User::getCurrent()->getFavoritePointSale() ; |
|
|
$favoritePointSale = User::getCurrent()->getFavoritePointSale() ; |
|
|
|
|
|
|
|
|
if($favoritePointSale) { |
|
|
|
|
|
|
|
|
/*if($favoritePointSale) { |
|
|
$newPointSaleArray = [] ; |
|
|
$newPointSaleArray = [] ; |
|
|
|
|
|
|
|
|
foreach($pointsSaleArray as $pointSale) { |
|
|
foreach($pointsSaleArray as $pointSale) { |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
$newPointSaleArray = $pointsSaleArray ; |
|
|
$newPointSaleArray = $pointsSaleArray ; |
|
|
} |
|
|
|
|
|
|
|
|
}*/ |
|
|
|
|
|
|
|
|
|
|
|
$newPointSaleArray = $pointsSaleArray ; |
|
|
|
|
|
|
|
|
$json['points_sale'] = $newPointSaleArray; |
|
|
$json['points_sale'] = $newPointSaleArray; |
|
|
|
|
|
|