Browse Source

Frontend : page ambassades

reduction
Guillaume 4 years ago
parent
commit
2769cd8ce3
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      ShopBundle/Repository/PointSaleRepository.php

+ 10
- 0
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')
->setParameter('currentMerchant', $this->globalParam->getCurrentMerchant())
->getQuery()
->getResult() ;
}

} }

Loading…
Cancel
Save