@@ -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') |