Browse Source

[producer] Order : désactivation du point de vente favoris qui génère un bug (dernier point de vente non affiché)

refactoring
Guillaume Bourgeois 5 years ago
parent
commit
de2f4b780a
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      producer/controllers/OrderController.php

+ 4
- 2
producer/controllers/OrderController.php View File

$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;

Loading…
Cancel
Save