X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fsupp_trans_class.inc;h=00226d9fc5d2c078c67c19c296518853dd822c61;hb=477c1f221df891f39e9363f7b34e6ff1eb4ad4c7;hp=cfa661699dd9a62f8b245a445fefe0fc526326be;hpb=5b8f4c4b4aa8cf996bc071f116bfce1273200fa2;p=fa-stable.git diff --git a/purchasing/includes/supp_trans_class.inc b/purchasing/includes/supp_trans_class.inc index cfa66169..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