Browse Source

Correctif #14

develop
Fab 2 years ago
parent
commit
7a05f2ead0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      Solver/Price/OrderShopPriceSolver.php

+ 2
- 1
Solver/Price/OrderShopPriceSolver.php View File

{ {
$total = 0; $total = 0;
foreach ($orderProducts as $orderProduct) { foreach ($orderProducts as $orderProduct) {
$total += $this->orderProductPriceResolver->getTotalWithTaxAndReduction($orderProduct, false);
//TODO : ici c'est pas possibble de mettre roud à false sinon ça fou une merde du tonnerre de dieu !!!!!
$total += $this->orderProductPriceResolver->getTotalWithTaxAndReduction($orderProduct);
} }


return $this->round($total); return $this->round($total);

Loading…
Cancel
Save