From: Joe Hunt Date: Wed, 10 Mar 2010 11:37:37 +0000 (+0000) Subject: Print full Location name on reports X-Git-Tag: 2.3-final~937 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=c8f27f36721cfd5e02e62965f40ff3c3933dbd7d;p=fa-stable.git Print full Location name on reports --- diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 0be96c26..f68a5625 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 4b6a086c..6b391a63 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 3b091cde..b23ab855 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 8e5bb6dd..08fd8d2a 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 25b7a68c..b603b748 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');