Print full Location name on reports
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 10 Mar 2010 11:37:37 +0000 (11:37 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Wed, 10 Mar 2010 11:37:37 +0000 (11:37 +0000)
CHANGELOG.txt
reporting/rep105.php
reporting/rep301.php
reporting/rep302.php
reporting/rep303.php

index 0be96c26967c856ab37882d6028885cf0789418c..f68a562529535451573485a1d993f815cf8f92db 100644 (file)
@@ -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
index 4b6a086cc55b00166070f36d650eeac56d3425d0..6b391a63c3c4c512274f0d6ac5dc2ee31a072bef 100644 (file)
@@ -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
index 3b091cde1da032217492d436284d6a298829e37e..b23ab855aa7643efdcc00dfca9712985c233b2be 100644 (file)
@@ -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);
 
index 8e5bb6ddfd2e39e0898149e167842b5d82295df1..08fd8d2af29ce5be489e0f26581d898dc67e7091 100644 (file)
@@ -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);
 
index 25b7a68ca589dd9a1462cc6e5302e253dc895847..b603b7489be059027493ac9c84d9836ffd8d1f82 100644 (file)
@@ -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');