瀏覽代碼

Correctif complément de commande (orderShopRepo)

feature/export_comptable
Guillaume 4 年之前
父節點
當前提交
c7bb8aeca2
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      ShopBundle/Repository/OrderShopRepository.php

+ 1
- 1
ShopBundle/Repository/OrderShopRepository.php 查看文件

@@ -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…
取消
儲存