Explorar el Código

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

dev
Guillaume Bourgeois hace 5 años
padre
commit
de2f4b780a
Se han modificado 1 ficheros con 4 adiciones y 2 borrados
  1. +4
    -2
      producer/controllers/OrderController.php

+ 4
- 2
producer/controllers/OrderController.php Ver fichero

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

Cargando…
Cancelar
Guardar