瀏覽代碼

Nouveau système PriceUtils

feature/export_comptable
Guillaume 4 年之前
父節點
當前提交
1a6f878d44
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      ShopBundle/Services/Price/OrderShopPriceUtils.php

+ 1
- 1
ShopBundle/Services/Price/OrderShopPriceUtils.php 查看文件

@@ -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 ;

Loading…
取消
儲存