|
|
@@ -4,6 +4,7 @@ namespace Lc\ShopBundle\Repository; |
|
|
|
|
|
|
|
use App\Entity\DeliveryAvailabilityPointSale; |
|
|
|
use App\Entity\DeliveryAvailabilityZone; |
|
|
|
use App\Entity\PointSale; |
|
|
|
use Doctrine\ORM\Query\Expr\Join; |
|
|
|
use Doctrine\ORM\QueryBuilder; |
|
|
|
use Lc\ShopBundle\Context\DefaultRepositoryInterface; |
|
|
@@ -232,11 +233,11 @@ class OrderShopRepository extends BaseRepository implements DefaultRepositoryInt |
|
|
|
} |
|
|
|
|
|
|
|
if($setParameterHorsTournee) { |
|
|
|
$query->setParameter('devAliasHorsTournee', 'horstournee') ; |
|
|
|
$query->setParameter('devAliasHorsTournee', PointSale::DEV_ALIAS_OFF_CIRCUIT) ; |
|
|
|
} |
|
|
|
|
|
|
|
if($setParameterGiftVoucher) { |
|
|
|
$query->setParameter('devAliasGiftVoucher', 'giftvoucher') ; |
|
|
|
$query->setParameter('devAliasGiftVoucher', PointSale::DEV_ALIAS_GIFT_VOUCHER) ; |
|
|
|
} |
|
|
|
|
|
|
|
if (isset($params['deliveryAvailability'])) { |