Pārlūkot izejas kodu

OrderShopTransformer.php

develop
Guillaume pirms 2 gadiem
vecāks
revīzija
b643bc9b3f
1 mainītis faili ar 1 papildinājumiem un 3 dzēšanām
  1. +1
    -3
      Transformer/Order/OrderShopTransformer.php

+ 1
- 3
Transformer/Order/OrderShopTransformer.php Parādīt failu

@@ -3,10 +3,7 @@
namespace Lc\CaracoleBundle\Transformer\Order;

use App\Entity\Order\OrderShop;
use EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator;
use Lc\CaracoleBundle\Model\Order\OrderShopInterface;
use Lc\CaracoleBundle\Repository\Order\OrderShopStore;
use Lc\CaracoleBundle\Repository\Reduction\ReductionCreditStore;
use Lc\CaracoleBundle\Resolver\OrderShopResolver;
use Lc\CaracoleBundle\Solver\Order\OrderShopSolver;
use Lc\CaracoleBundle\Solver\Price\PriceSolver;
@@ -59,6 +56,7 @@ class OrderShopTransformer
$data['total'] = $this->priceSolver->getTotal($orderShop);
$data['totalWithTax'] = $this->priceSolver->getTotalWithTax($orderShop);
$data['totalWithTaxAndReduction'] = $this->priceSolver->getTotalWithTax($orderShop);

$i = 0;

$orderProductsByParentCategory = $this->orderShopSolver->getOrderProductsByParentCategory($orderShop);

Notiek ielāde…
Atcelt
Saglabāt