X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fsupp_trans_class.inc;h=00226d9fc5d2c078c67c19c296518853dd822c61;hb=4d61463530af727a86e5a59e040b06de90ac5ce7;hp=a185895c7f8cf41f69c7f674629a6e23a7bf813e;hpb=fbf51ab0febfd0885620abcab8738339d156ff45;p=fa-stable.git diff --git a/purchasing/includes/supp_trans_class.inc b/purchasing/includes/supp_trans_class.inc index a185895c..00226d9f 100644 --- a/purchasing/includes/supp_trans_class.inc +++ b/purchasing/includes/supp_trans_class.inc @@ -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 } } -?>