|
|
|
|
|
|
|
|
$merchant = $duplicateOtherMerchantForm->get('merchants')->getData(); |
|
|
$merchant = $duplicateOtherMerchantForm->get('merchants')->getData(); |
|
|
|
|
|
|
|
|
if($this->isInstanceOf(ProductFamilyInterface::class)) { |
|
|
if($this->isInstanceOf(ProductFamilyInterface::class)) { |
|
|
$this->getProductFamilyContainer()->getBuilder()->setMerchant($merchant); |
|
|
|
|
|
|
|
|
$this->getProductFamilyContainer()->getBuilder()->setMerchant($newEntity, $merchant); |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
$newEntity->setMerchant($merchant); |
|
|
$newEntity->setMerchant($merchant); |