瀏覽代碼

Modification PointSaleRepository

feature/export_comptable
Guillaume 4 年之前
父節點
當前提交
913bb64380
共有 1 個文件被更改,包括 0 次插入11 次删除
  1. +0
    -11
      ShopBundle/Repository/PointSaleRepository.php

+ 0
- 11
ShopBundle/Repository/PointSaleRepository.php 查看文件

@@ -19,17 +19,6 @@ class PointSaleRepository extends BaseRepository implements DefaultRepositoryInt
return PointSaleInterface::class;
}

public function findAllPublics()
{
return $this->createQueryBuilder('e')
->where(':currentMerchant MEMBER OF e.merchants')
->andWhere('e.isPublic = 1')
->andWhere('e.status = 1')
->setParameter('currentMerchant', $this->merchantUtils->getMerchantCurrent())
->getQuery()
->getResult() ;
}

public function findAllByMerchant()
{
return $this->createQueryBuilder('e')

Loading…
取消
儲存