Browse Source

Pack produit : prendre en compte prix avec réduction de chaque produit (annulation changements)

develop
Guillaume Bourgeois 2 years ago
parent
commit
c7e3eef4ea
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      Builder/Order/OrderProductBuilder.php

+ 2
- 0
Builder/Order/OrderProductBuilder.php View File

@@ -49,6 +49,8 @@ class OrderProductBuilder
{
$orderProduct->setTitle($this->orderProductSolver->getTitleOrderShop($orderProduct));
$orderProduct->setPrice($this->priceSolver->getPrice($orderProduct->getProduct()));
// #402
//$orderProduct->setPrice($this->priceSolver->getPriceWithReduction($orderProduct->getProduct()));
$orderProduct->setBuyingPrice($this->priceSolver->getBuyingPrice($orderProduct->getProduct()));
$orderProduct->setUnit($this->productSolver->getUnitInherited($orderProduct->getProduct()));
$orderProduct->setTaxRate($this->productFamilySolver->getTaxRateInherited($orderProduct->getProduct()));

Loading…
Cancel
Save