From: <ice...@us...> - 2014-03-03 01:55:50
|
Revision: 6595 http://sourceforge.net/p/web-erp/reponame/6595 Author: icedlava Date: 2014-03-03 01:55:46 +0000 (Mon, 03 Mar 2014) Log Message: ----------- WhereUsedInquiry.php will no longer accept StockID with dash (-) as input allowed has changed. Still need to check for consistency for StockId input elsewhere in code. Modified Paths: -------------- trunk/WhereUsedInquiry.php trunk/doc/Change.log Modified: trunk/WhereUsedInquiry.php =================================================================== --- trunk/WhereUsedInquiry.php 2014-03-02 23:15:39 UTC (rev 6594) +++ trunk/WhereUsedInquiry.php 2014-03-03 01:55:46 UTC (rev 6595) @@ -38,9 +38,9 @@ <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; if (isset($StockID)) { - echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%-]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" autofocus="autofocus" size="21" maxlength="20" value="' . $StockID . '" placeholder="'._('No illegal characters allowed').'" />'; + echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" autofocus="autofocus" size="21" maxlength="20" value="' . $StockID . '" placeholder="'._('No illegal characters allowed').'" />'; } else { - echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%-]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" autofocus="autofocus" size="21" maxlength="20" placeholder="'._('No illegal characters allowed').'" />'; + echo _('Enter an Item Code') . ': <input type="text" required="required" pattern="[^ +%]{1,}" title="'._('Illegal characters and blank is not allowed').'" name="StockID" autofocus="autofocus" size="21" maxlength="20" placeholder="'._('No illegal characters allowed').'" />'; } echo '<input type="submit" name="ShowWhereUsed" value="' . _('Show Where Used') . '" /> Modified: trunk/doc/Change.log =================================================================== --- trunk/doc/Change.log 2014-03-02 23:15:39 UTC (rev 6594) +++ trunk/doc/Change.log 2014-03-03 01:55:46 UTC (rev 6595) @@ -1,11 +1,12 @@ webERP Change Log +3/3/14 icedlava: WhereUsedInquiry.php will no longer accept StockID with dash (-) as input allowed has changed. Still need to check for consistency for StockId input elsewhere in code. 2/3/14 Paul T: Div swap in footer to simplify CSS for Gel and Silverwolf themes. Some other themes will see a basic position swap of the date and version info where these vertically appeared together at the far left end. 1/3/14 Paul T: Correct variable spelling error. [reported in forums by serakfalcon] 24/2/14 Exson: Make negative integer allowable in MiscFunctions.js and make negative integer inputable for PastDueDays in SystemParameters.php. 22/2/14 Exson: Fixed the wrong error messages displayed while input date data manually in MiscFunctions.js. 19/2/14 icedlava: GLTrialBalance_csv.php -Remove set AllowAnyone variable and prevent TB display - temp solution. 18/2/14 Exson: Remove redundant code in StockLocStatus.php and InventoryPlanning.php. -17/2/14 Exson: Tidy up variable overwrite to if else structure in WorkOrderReceive.php scripts according Tim's comments. +17/2/14 Exson: Tidy up variable overwrite to if else structure in WorkOrderReceive.php scripts according Tim's comments. 17/2/14 icedlava: CopyBOM.php - SQL fix for insert to bom and locstock tables - ensure column counts match values even when zero. 16/2/14 icedlava: StockCounts.php - Enter by Category only counts and enters 10 items maximum - fix to allow any number that are input. 15/2/14 Exson: Make perishable control available in WorkOrderReceive.php. |