|
|
|
|
|
|
|
|
|
|
|
|
|
|
$productFamily = $orderProduct->getProduct()->getProductFamily() ; |
|
|
$productFamily = $orderProduct->getProduct()->getProductFamily() ; |
|
|
$productFamily->setAvailableQuantity($newAvailability); |
|
|
$productFamily->setAvailableQuantity($newAvailability); |
|
|
$productFamily->setUpdatedBy($productFamily->getCreatedBy()) ; |
|
|
|
|
|
|
|
|
$productFamily->setUpdatedBy($orderShop->getUser()) ; |
|
|
|
|
|
|
|
|
$this->em->persist($productFamily); |
|
|
$this->em->persist($productFamily); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$productFamily = $orderProduct->getProduct()->getProductFamily() ; |
|
|
$productFamily = $orderProduct->getProduct()->getProductFamily() ; |
|
|
$productFamily->setAvailableQuantity($newAvailability); |
|
|
$productFamily->setAvailableQuantity($newAvailability); |
|
|
$productFamily->setUpdatedBy($productFamily->getCreatedBy()) ; |
|
|
|
|
|
|
|
|
$productFamily->setUpdatedBy($orderShop->getUser()) ; |
|
|
|
|
|
|
|
|
$this->em->persist($productFamily); |
|
|
$this->em->persist($productFamily); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$product = $orderProduct->getProduct() ; |
|
|
$product = $orderProduct->getProduct() ; |
|
|
$product->setAvailableQuantity($newAvailability); |
|
|
$product->setAvailableQuantity($newAvailability); |
|
|
$product->setUpdatedBy($product->getCreatedBy()) ; |
|
|
|
|
|
|
|
|
$product->setUpdatedBy($orderShop->getUser()) ; |
|
|
|
|
|
|
|
|
$this->em->persist($product); |
|
|
$this->em->persist($product); |
|
|
|
|
|
|