Fixed bug in reallocation payments during purchase invoice edition.
[fa-stable.git] / purchasing / includes / supp_trans_class.inc
index 99fe1934f7fcf65a183362c7e97fc4be72a53963..00226d9fc5d2c078c67c19c296518853dd822c61 100644 (file)
@@ -43,8 +43,6 @@ class supp_trans
        var $ov_gst;
        var $gl_codes_counter=0;
        var $credit = 0;
-       var $tax_algorithm;
-       var $stored_algorithm;
        var $currency;
        var $tax_overrides = array();           // array of taxes manually inserted during sales invoice entry
 
@@ -145,7 +143,7 @@ class supp_trans
         if ($tax_group_id == null)
                $tax_group_id = $this->tax_group_id;
         $taxes = get_tax_for_items($items, $prices, $shipping_cost, $tax_group_id, 
-               $this->tax_included, null, $this->tax_algorithm);
+               $this->tax_included);
 
                if (isset($this->tax_overrides))
                        foreach($this->tax_overrides as $id => $value) // add values entered manually