From 53b88648000092f209fb590fe9a770f6470413a6 Mon Sep 17 00:00:00 2001 From: Joe Hunt Date: Mon, 25 May 2009 16:02:30 +0000 Subject: [PATCH] *** empty log message *** --- reporting/rep303.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/reporting/rep303.php b/reporting/rep303.php index a1f70d85..4b87d6b2 100644 --- a/reporting/rep303.php +++ b/reporting/rep303.php @@ -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'); } -- 2.30.2