소스 검색

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

feature/export_comptable
Fab 4 년 전
부모
커밋
ffdddacc6d
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      ShopBundle/Services/Order/OrderUtilsStockTrait.php

+ 3
- 3
ShopBundle/Services/Order/OrderUtilsStockTrait.php 파일 보기

@@ -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);


Loading…
취소
저장