Parcourir la source

Correctif complément de commande (orderShopRepo)

feature/export_comptable
Guillaume il y a 4 ans
Parent
révision
c7bb8aeca2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      ShopBundle/Repository/OrderShopRepository.php

+ 1
- 1
ShopBundle/Repository/OrderShopRepository.php Voir le fichier

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


Chargement…
Annuler
Enregistrer