New tax system implementation.
[fa-stable.git] / reporting / rep209.php
index f6fabf31e16a728b2b6e344ba56987bf5c9bca39..8b4decbdba3f7528f30f3b1ed6fad285ef1d109b 100644 (file)
@@ -167,7 +167,7 @@ function print_po()
                $rep->TextCol(6, 7,     $DisplaySubTot, -2);
                $rep->NewLine();
 
-               $tax_items = get_tax_for_items($items, $prices, 0,
+               $tax_items = get_tax_for_items(ST_PURCHORDER, $items, $prices, 0,
                  $myrow['tax_group_id'], $myrow['tax_included'],  null, TCA_LINES);
                $first = true;
                foreach($tax_items as $tax_item)