Explorar el Código

Correctif complément de commande (orderShopRepo)

feature/export_comptable
Guillaume hace 4 años
padre
commit
c7bb8aeca2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      ShopBundle/Repository/OrderShopRepository.php

+ 1
- 1
ShopBundle/Repository/OrderShopRepository.php Ver fichero

@@ -156,7 +156,7 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt
$query->leftJoin('e.complementaryOrderShops', 'complementaryOrderShops') ;

$query->leftJoin('complementaryOrderShops.orderStatus', 'complementaryOrderStatus');
$query->andWhere('complementaryOrderStatus.alias IN (:statusAliasValid)');
$query->andWhere('complementaryOrderShops IS NULL OR complementaryOrderStatus.alias IN (:statusAliasValid)');
$query->setParameter('statusAliasValid', $this->statusAliasAsValid);
}


Cargando…
Cancelar
Guardar