Kaynağa Gözat

Processus de commande

feature/export_comptable
Fab 4 yıl önce
ebeveyn
işleme
a9faa79bdb
6 değiştirilmiş dosya ile 11 ekleme ve 8 silme
  1. +4
    -3
      ShopBundle/Services/OrderUtils.php
  2. +2
    -1
      ShopBundle/Services/Price/OrderProductPriceUtils.php
  3. +1
    -1
      ShopBundle/Services/Price/OrderShopPriceUtils.php
  4. +2
    -1
      ShopBundle/Services/Price/PriceUtilsTrait.php
  5. +1
    -1
      ShopBundle/Services/Price/ProductPriceUtils.php
  6. +1
    -1
      ShopBundle/Services/PriceUtils.phpOld

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

@@ -22,6 +22,7 @@ use Lc\ShopBundle\Model\Document;
use Lc\ShopBundle\Form\Backend\Order\OrderReductionCreditType;
use Lc\ShopBundle\Model\Product;
use Lc\ShopBundle\Model\ProductFamily;
use Lc\ShopBundle\Services\Price\OrderShopPriceUtils;
use Symfony\Component\HttpFoundation\Session\SessionInterface;
use Symfony\Component\Security\Core\Security;

@@ -36,13 +37,13 @@ class OrderUtils
protected $orderShopRepo;
protected $reductionCreditRepo ;
protected $orderReductionCreditRepo ;
protected $priceUtils;
protected $orderShopPriceUtils;
protected $productFamilyUtils;
protected $documentUtils;
protected $session;

public function __construct(EntityManagerInterface $em, Security $security, UserUtils $userUtils,
MerchantUtilsInterface $merchantUtils, PriceUtils $priceUtils, ProductFamilyUtilsInterface $productFamilyUtils,
MerchantUtilsInterface $merchantUtils, OrderShopPriceUtils $orderShopPriceUtils, ProductFamilyUtilsInterface $productFamilyUtils,
DocumentUtils $documentUtils, SessionInterface $session)
{
$this->em = $em;
@@ -52,7 +53,7 @@ class OrderUtils
$this->orderShopRepo = $this->em->getRepository($this->em->getClassMetadata(OrderShopInterface::class)->getName());
$this->reductionCreditRepo = $this->em->getRepository($this->em->getClassMetadata(ReductionCreditInterface::class)->getName());
$this->orderReductionCreditRepo = $this->em->getRepository($this->em->getClassMetadata(OrderReductionCreditInterface::class)->getName());
$this->priceUtils = $priceUtils;
$this->orderShopPriceUtils = $orderShopPriceUtils;
$this->productFamilyUtils = $productFamilyUtils;
$this->documentUtils = $documentUtils;
$this->session = $session;

+ 2
- 1
ShopBundle/Services/Price/OrderProductPriceUtils.php Dosyayı Görüntüle

@@ -1,6 +1,7 @@
<?php

namespace Lc\ShopBundle\Price\Services;
namespace Lc\ShopBundle\Services\Price;


use Doctrine\Common\Collections\Collection;
use Lc\ShopBundle\Context\OrderProductInterface;

+ 1
- 1
ShopBundle/Services/Price/OrderShopPriceUtils.php Dosyayı Görüntüle

@@ -1,6 +1,6 @@
<?php

namespace Lc\ShopBundle\Price\Services;
namespace Lc\ShopBundle\Services\Price;

use Lc\ShopBundle\Context\OrderReductionCreditInterface;
use Lc\ShopBundle\Context\OrderShopInterface;

+ 2
- 1
ShopBundle/Services/Price/PriceUtilsTrait.php Dosyayı Görüntüle

@@ -1,6 +1,7 @@
<?php

namespace Lc\ShopBundle\Price\Services;
namespace Lc\ShopBundle\Services\Price;


use Lc\ShopBundle\Context\OrderProductInterface;
use Lc\ShopBundle\Context\OrderShopInterface;

+ 1
- 1
ShopBundle/Services/Price/ProductPriceUtils.php Dosyayı Görüntüle

@@ -1,6 +1,6 @@
<?php

namespace Lc\ShopBundle\Price\Services;
namespace Lc\ShopBundle\Services\Price;

use Doctrine\Common\Collections\Collection;
use Lc\ShopBundle\Context\OrderProductInterface;

ShopBundle/Services/PriceUtils.php → ShopBundle/Services/PriceUtils.phpOld Dosyayı Görüntüle

@@ -10,7 +10,7 @@ use Lc\ShopBundle\Context\ProductInterface;
use Lc\ShopBundle\Context\ProductPropertyInterface;
use Lc\ShopBundle\Context\ReductionCatalogInterface;

class PriceUtils
class PriceUtilsOld
{

public function getPrice($entity)

Yükleniyor…
İptal
Kaydet