From df3a15f7bd91c113f8921824d9e50c55d5615434 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Tue, 17 Apr 2018 17:05:44 +0300 Subject: [PATCH] removed tax from item total --- app/Http/Controllers/Items/Items.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Http/Controllers/Items/Items.php b/app/Http/Controllers/Items/Items.php index 63aa35074..e9f16cc4a 100644 --- a/app/Http/Controllers/Items/Items.php +++ b/app/Http/Controllers/Items/Items.php @@ -282,9 +282,7 @@ class Items extends Controller $tax_total += $item_tax_total; - $total = $item_sub_total + $item_tax_total; - - $items[$key] = money($total, $currency_code, true)->format(); + $items[$key] = money($item_sub_total, $currency_code, true)->format(); } }