Browse Source

Maj OrderShopRepository

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

+ 3
- 0
ShopBundle/Repository/OrderShopRepository.php View File

@@ -45,6 +45,9 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt
->setParameter('dateEnd', $dateEnd)
;

$query->leftJoin('e.orderStatusHistories', 'orderStatusHistories')
->andWhere('SIZE(e.orderStatusHistories) > 0') ;

return $query->getQuery()->getResult() ;
}


Loading…
Cancel
Save