X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fpo_class.inc;h=b767e9ea9261f66e9ee64245c4f9067bae4bd475;hb=2081731b170dd82a2dfca9dfa52fdb3babaec5f2;hp=2324d25dbd6c70c2d73a0249b7244b0c738d868b;hpb=f19ddeb227739e5b993ab5ba2310cfd0ace18c4f;p=fa-stable.git diff --git a/purchasing/includes/po_class.inc b/purchasing/includes/po_class.inc index 2324d25d..b767e9ea 100644 --- a/purchasing/includes/po_class.inc +++ b/purchasing/includes/po_class.inc @@ -230,6 +230,12 @@ class po_line_details $this->standard_cost =0; $this->grn_item_id = $grn_item_id; } + + function taxfree_charge_price($po) + { + return get_tax_free_price_for_item($this->stock_id, $this->price, + $po->tax_group_id, $po->tax_included, $po->tax_group_array); + } } ?>