Kaynağa Gözat

Merge branch 'develop' of https://gitea.laclic.fr/Laclic/LcShopBundle into develop

feature/export_comptable
Fab 4 yıl önce
ebeveyn
işleme
ffdddacc6d
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      ShopBundle/Services/Order/OrderUtilsStockTrait.php

+ 3
- 3
ShopBundle/Services/Order/OrderUtilsStockTrait.php Dosyayı Görüntüle

@@ -23,7 +23,7 @@ trait OrderUtilsStockTrait

$productFamily = $orderProduct->getProduct()->getProductFamily() ;
$productFamily->setAvailableQuantity($newAvailability);
$productFamily->setUpdatedBy($productFamily->getCreatedBy()) ;
$productFamily->setUpdatedBy($orderShop->getUser()) ;

$this->em->persist($productFamily);

@@ -35,7 +35,7 @@ trait OrderUtilsStockTrait

$productFamily = $orderProduct->getProduct()->getProductFamily() ;
$productFamily->setAvailableQuantity($newAvailability);
$productFamily->setUpdatedBy($productFamily->getCreatedBy()) ;
$productFamily->setUpdatedBy($orderShop->getUser()) ;

$this->em->persist($productFamily);

@@ -46,7 +46,7 @@ trait OrderUtilsStockTrait

$product = $orderProduct->getProduct() ;
$product->setAvailableQuantity($newAvailability);
$product->setUpdatedBy($product->getCreatedBy()) ;
$product->setUpdatedBy($orderShop->getUser()) ;

$this->em->persist($product);


Yükleniyor…
İptal
Kaydet