Fixed bug in reallocation payments during purchase invoice edition.
[fa-stable.git] / purchasing / includes / supp_trans_class.inc
index a185895c7f8cf41f69c7f674629a6e23a7bf813e..00226d9fc5d2c078c67c19c296518853dd822c61 100644 (file)
@@ -43,11 +43,12 @@ 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
 
+       var $dimension,
+               $dimension2;
+
        function supp_trans($trans_type, $trans_no=0)
        {
                $this->trans_type = $trans_type;
@@ -142,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
@@ -287,4 +288,3 @@ class gl_codes
        }
 }
 
-?>