From: <tu...@us...> - 2010-11-07 02:24:44
|
Revision: 4151 http://web-erp.svn.sourceforge.net/web-erp/?rev=4151&view=rev Author: turbopt Date: 2010-11-07 02:24:38 +0000 (Sun, 07 Nov 2010) Log Message: ----------- 06/11/10 Paul T: InputSerialItemsSequential.php - Bug# 3080130 - Add new FormID to form. (and minor cleanup) Modified Paths: -------------- trunk/doc/Change.log.html trunk/includes/InputSerialItemsSequential.php Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-11-06 15:50:51 UTC (rev 4150) +++ trunk/doc/Change.log.html 2010-11-07 02:24:38 UTC (rev 4151) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>06/11/10 Paul T: InputSerialItemsSequential.php - Bug# 3080130 - Add new FormID to form. (and minor cleanup)</p> <p>06/11/10 Tim: ReorderLevelLocation.php - Remove fixed assets from selections</p> <p>06/11/10 Tim: ReorderLevel.php - Remove fixed assets from selections</p> <p>06/11/10 Tim: InventoryQuantities.php - Remove fixed assets from selections</p> Modified: trunk/includes/InputSerialItemsSequential.php =================================================================== --- trunk/includes/InputSerialItemsSequential.php 2010-11-06 15:50:51 UTC (rev 4150) +++ trunk/includes/InputSerialItemsSequential.php 2010-11-07 02:24:38 UTC (rev 4151) @@ -19,32 +19,33 @@ $LineNo = $_POST['LineNo']; } -echo '<TD valign=top>'; +echo '<td valign="top">'; /*Start a new table for the Serial/Batch ref input in one column (as a sub table then the multi select box for selection of existing bundle/serial nos for dispatch if applicable*/ -//echo '<TABLE><TR><TD valign=TOP>'; +//echo '<table><tr><td valign="top">'; /*in the first column add a table for the input of newies */ -echo '<TABLE>'; +echo '<table>'; echo $tableheader; -echo '<FORM ACTION="' . $_SERVER['PHP_SELF'] . '?=' . $SID . '" METHOD="POST"> - <input type=hidden name=LineNo value="' . $LineNo . '"> - <input type=hidden name=StockID value="' . $StockID . '"> - <input type=hidden name=EntryType value="SEQUENCE">'; +echo '<form action="' . $_SERVER['PHP_SELF'] . '?=' . $SID . '" method="post"> + <input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" /> + <input type="hidden" name="LineNo" value="' . $LineNo . '"> + <input type="hidden" name="StockID" value="' . $StockID . '"> + <input type="hidden" name="EntryType" value="SEQUENCE">'; if ( isset($_GET['EditControlled']) ) { $EditControlled = isset($_GET['EditControlled'])?$_GET['EditControlled']:false; } elseif ( isset($_POST['EditControlled']) ){ $EditControlled = isset($_POST['EditControlled'])?$_POST['EditControlled']:false; } -echo '<TR><TD valign=top>'. _('Begin:') . '</td><td> <input type=text name="BeginNo" size=21 maxlength=20 value="'. $_POST['BeginNo']. '"></td></tr>'; -echo '<TR><TD valign=top>'. _('End:') . '</td><td> <input type=text name="EndNo" size=21 maxlength=20 value="'. $_POST['EndNo']. '"></td></tr>'; +echo '<tr><td valign="top">'. _('Begin:') . '</td><td> <input type="text" name="BeginNo" size="21" maxlength="20" value="'. $_POST['BeginNo']. '"></td></tr>'; +echo '<tr><td valign="top">'. _('End:') . '</td><td> <input type="text" name="EndNo" size="21" maxlength="20" value="'. $_POST['EndNo']. '"></td></tr>'; echo '</table>'; -echo '<br><center><INPUT TYPE=SUBMIT NAME="AddSequence" VALUE="'. _('Enter'). '"></center><BR>'; -echo '</FORM></TD><TD valign=top>'; -//echo '</TD></TR></TABLE>'; /*end of nested table */ +echo '<br><center><input type="submit" name="AddSequence" value="'. _('Enter'). '"></center><br>'; +echo '</form></td><td valign="top">'; +//echo '</td></tr></table>'; /*end of nested table */ ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |