Pārlūkot izejas kodu

Correctif depositoryZone

develop
Guillaume pirms 3 gadiem
vecāks
revīzija
4e8362743a
1 mainītis faili ar 0 papildinājumiem un 14 dzēšanām
  1. +0
    -14
      ShopBundle/Controller/Backend/ProductFamilyController.php

+ 0
- 14
ShopBundle/Controller/Backend/ProductFamilyController.php Parādīt failu

@@ -196,20 +196,6 @@ class ProductFamilyController extends AdminController
)
);

$currentMerchant = $this->merchantUtils->getMerchantCurrent();

$formBuilder->add('depositoryZone', EntityType::class, [
'class' => DepositoryZone::class,
'query_builder' => function (EntityRepository $er) use ($currentMerchant) {
return $er->createQueryBuilder('d')
->where('d.merchant = :currentMerchant')
->setParameter('currentMerchant', $currentMerchant)
->andWhere('d.status > 0');
},
'label' => 'Zone de dépot',
'required' => false
]);

$formBuilder = $this->overrideFormBuilder($formBuilder, $entity, $view);

return $formBuilder;

Notiek ielāde…
Atcelt
Saglabāt