Added tax calcualtion algorithm selection in sales and purchasing, driven by company...
[fa-stable.git] / purchasing / includes / db / po_db.inc
index ebd2c7241e177f0dfe0f576bb7728a60e31520e6..2a88e0cb15bb995e0bedb9ca6da855027bf29b79 100644 (file)
@@ -141,7 +141,7 @@ function read_po_header($order_no, &$order)
        $order->order_no = $order_no;
        
        $order->set_supplier($myrow["supplier_id"], $myrow["supp_name"], $myrow["curr_code"],
-               $myrow['tax_group_id'], $myrow["tax_included"]);
+               $myrow['tax_group_id'], $myrow["tax_included"], $myrow["tax_algorithm"]);
 
                $order->credit = get_current_supp_credit($order->supplier_id);