*** empty log message ***
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 25 May 2009 16:02:30 +0000 (16:02 +0000)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 25 May 2009 16:02:30 +0000 (16:02 +0000)
reporting/rep303.php

index a1f70d85313a16276ed73a809cc82a87d6e3d1d4..4b87d6b286c7209f6a4c105719e7529b216b6217 100644 (file)
@@ -89,19 +89,25 @@ function print_stock_check()
        else
                $loc = $location;
        if ($shortage)
+       {
                $short = _('Yes');
-       else    
+               $available = _('Shortage');
+       }       
+       else
+       {
                $short = _('No');
+               $available = _('Available');
+       }       
        if ($check)
        {
                $cols = array(0, 100, 250, 295, 345, 390, 445,  515);
-               $headers = array(_('Stock ID'), _('Description'), _('Quantity'), _('Check'), _('Demand'), _('Available'), _('On Order'));
+               $headers = array(_('Stock ID'), _('Description'), _('Quantity'), _('Check'), _('Demand'), $available, _('On Order'));
                $aligns = array('left', 'left', 'right', 'right', 'right', 'right', 'right');
        }
        else
        {
                $cols = array(0, 100, 250, 315, 380, 445,       515);
-               $headers = array(_('Stock ID'), _('Description'), _('Quantity'), _('Demand'), _('Available'), _('On Order'));
+               $headers = array(_('Stock ID'), _('Description'), _('Quantity'), _('Demand'), $available, _('On Order'));
                $aligns = array('left', 'left', 'right', 'right', 'right', 'right');
        }