[0004993] Sales Order: incorrect prepayment guess for wholesale (non tax included...
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 25 Nov 2019 13:46:22 +0000 (14:46 +0100)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Mon, 25 Nov 2019 13:59:26 +0000 (14:59 +0100)
sales/includes/cart_class.inc

index 1bc3db242f5b0528d2f98a2a65bde6275125bd14..b387ef48f6e0a29973b1289b5dbfc2cfd53f93ee 100644 (file)
@@ -565,7 +565,6 @@ class Cart
                $total = $this->get_items_total() + $this->freight_cost;
                $dec = user_price_dec();
                if (!$this->tax_included ) {
-                       $total += $this->get_shipping_tax();
                        $taxes = $this->get_taxes();
                        foreach($taxes as $tax)
                                $total += round($tax['Value'], $dec);