Browse Source

Correctif complément de commande (orderShopRepo)

feature/export_comptable
Guillaume 4 years ago
parent
commit
c7bb8aeca2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ShopBundle/Repository/OrderShopRepository.php

+ 1
- 1
ShopBundle/Repository/OrderShopRepository.php View File

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


Loading…
Cancel
Save