X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=reporting%2Frep209.php;h=5a08217168009fb8a0c8c933aef3be4daa16bdf5;hb=8850688519e49a17c57a96f9efab339919b1936d;hp=2ed8cb8fe6162f825cdb59620334b79315f5d877;hpb=6c755559d6cd5a6f1d2e47daef4c3d71f4b59279;p=fa-stable.git diff --git a/reporting/rep209.php b/reporting/rep209.php index 2ed8cb8f..5a082171 100644 --- a/reporting/rep209.php +++ b/reporting/rep209.php @@ -31,7 +31,7 @@ include_once($path_to_root . "/taxes/tax_calc.inc"); print_po(); //---------------------------------------------------------------------------------------------------- -function get_po($order_no) +function get_supp_po($order_no) { $sql = "SELECT po.*, supplier.supp_name, supplier.supp_account_no,supplier.tax_included, supplier.gst_no AS tax_id, @@ -91,7 +91,7 @@ function print_po() for ($i = $from; $i <= $to; $i++) { - $myrow = get_po($i); + $myrow = get_supp_po($i); if ($currency != ALL_TEXT && $myrow['curr_code'] != $currency) { continue; }