Added option for using GRN Clearing Account for non invoiced GRNs
[fa-stable.git] / purchasing / includes / po_class.inc
index 2324d25dbd6c70c2d73a0249b7244b0c738d868b..b767e9ea9261f66e9ee64245c4f9067bae4bd475 100644 (file)
@@ -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);
+       }
 }
 
 ?>