Browse Source

Modification PointSaleRepository

feature/export_comptable
Guillaume 4 years ago
parent
commit
913bb64380
1 changed files with 0 additions and 11 deletions
  1. +0
    -11
      ShopBundle/Repository/PointSaleRepository.php

+ 0
- 11
ShopBundle/Repository/PointSaleRepository.php View File

return PointSaleInterface::class; 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() public function findAllByMerchant()
{ {
return $this->createQueryBuilder('e') return $this->createQueryBuilder('e')

Loading…
Cancel
Save