|
|
|
|
|
|
|
|
|
|
|
|
|
|
use App\Entity\DeliveryAvailabilityPointSale; |
|
|
use App\Entity\DeliveryAvailabilityPointSale; |
|
|
use App\Entity\DeliveryAvailabilityZone; |
|
|
use App\Entity\DeliveryAvailabilityZone; |
|
|
|
|
|
use App\Entity\PointSale; |
|
|
use Doctrine\ORM\Query\Expr\Join; |
|
|
use Doctrine\ORM\Query\Expr\Join; |
|
|
use Doctrine\ORM\QueryBuilder; |
|
|
use Doctrine\ORM\QueryBuilder; |
|
|
use Lc\ShopBundle\Context\DefaultRepositoryInterface; |
|
|
use Lc\ShopBundle\Context\DefaultRepositoryInterface; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if($setParameterHorsTournee) { |
|
|
if($setParameterHorsTournee) { |
|
|
$query->setParameter('devAliasHorsTournee', 'horstournee') ; |
|
|
|
|
|
|
|
|
$query->setParameter('devAliasHorsTournee', PointSale::DEV_ALIAS_OFF_CIRCUIT) ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if($setParameterGiftVoucher) { |
|
|
if($setParameterGiftVoucher) { |
|
|
$query->setParameter('devAliasGiftVoucher', 'giftvoucher') ; |
|
|
|
|
|
|
|
|
$query->setParameter('devAliasGiftVoucher', PointSale::DEV_ALIAS_GIFT_VOUCHER) ; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (isset($params['deliveryAvailability'])) { |
|
|
if (isset($params['deliveryAvailability'])) { |