Quellcode durchsuchen

Nouveau système PriceUtils

feature/export_comptable
Guillaume vor 4 Jahren
Ursprung
Commit
1a6f878d44
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      ShopBundle/Services/Price/OrderShopPriceUtils.php

+ 1
- 1
ShopBundle/Services/Price/OrderShopPriceUtils.php Datei anzeigen

@@ -82,7 +82,7 @@ class OrderShopPriceUtils implements OrderShopPriceUtilsInterface

$totalReductionAmount = 0 ;
foreach ($orderShop->getOrderReductionCarts() as $orderReductionCart) {
$totalReductionAmount += $this->amountOrderProductsReductionCart($orderShop,$orderReductionCart);
$totalReductionAmount += $this->getOrderProductsReductionCartAmountWithoutTax($orderShop,$orderReductionCart);
}

$total -= $totalReductionAmount ;

Laden…
Abbrechen
Speichern