From 2447319e497d3891e7cf0d6cba16476ca157b51a Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Wed, 10 Mar 2010 11:37:37 +0000 Subject: [PATCH] Print full Location name on reports --- CHANGELOG.txt | 7 +++++++ reporting/rep105.php | 2 +- reporting/rep301.php | 2 +- reporting/rep302.php | 2 +- reporting/rep303.php | 4 ++-- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0be96c2..f68a562 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -19,6 +19,13 @@ Legend: ! -> Note $ -> Affected files +10-Mar-2010 Joe Hunt +! Print full Location name on reports +$ /reporting/rep105.php + /reporting/rep301.php + /reporting/rep302.php + /reporting/rep303.php + 07-Mar-2010 Joe Hunt # Bug in ui_lists.inc, systypes_list_row, too many parameters in call to systypes_list_cells diff --git a/reporting/rep105.php b/reporting/rep105.php index 4b6a086..6b391a6 100644 --- a/reporting/rep105.php +++ b/reporting/rep105.php @@ -96,7 +96,7 @@ function print_order_status_list() if ($location == null) $loc = _('All'); else - $loc = $location; + $loc = get_location_name($location); if ($backorder == 0) $back = _('All Orders'); else diff --git a/reporting/rep301.php b/reporting/rep301.php index 3b091cd..b23ab85 100644 --- a/reporting/rep301.php +++ b/reporting/rep301.php @@ -91,7 +91,7 @@ function print_inventory_valuation_report() if ($location == 'all') $loc = _('All'); else - $loc = $location; + $loc = get_location_name($location); $cols = array(0, 100, 250, 350, 450, 515); diff --git a/reporting/rep302.php b/reporting/rep302.php index 8e5bb6d..08fd8d2 100644 --- a/reporting/rep302.php +++ b/reporting/rep302.php @@ -109,7 +109,7 @@ function print_inventory_planning() if ($location == 'all') $loc = _('All'); else - $loc = $location; + $loc = get_location_name($location); $cols = array(0, 50, 150, 180, 210, 240, 270, 300, 330, 390, 435, 480, 525); diff --git a/reporting/rep303.php b/reporting/rep303.php index 25b7a68..b603b74 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -61,7 +61,7 @@ function getTransactions($category, $location) function print_stock_check() { - global $comp_path, $path_to_root, $pic_height, $pic_width; + global $comp_path, $path_to_root, $pic_height; $category = $_POST['PARAM_0']; $location = $_POST['PARAM_1']; @@ -87,7 +87,7 @@ function print_stock_check() if ($location == 'all') $loc = _('All'); else - $loc = $location; + $loc = get_location_name($location); if ($shortage) { $short = _('Yes'); -- 2.30.2