From 8850688519e49a17c57a96f9efab339919b1936d Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Thu, 17 Dec 2020 16:15:38 +0100 Subject: [PATCH] FA 2.4.9 Purchase Order pdf printout won't work. Fixed. --- reporting/rep209.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.30.2