[Weberp-svn] SF.net SVN: weberp:[7968] trunk/WorkOrderEntry.php
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-08-28 07:17:34
|
Revision: 7968 http://weberp.svn.sourceforge.net/weberp/?rev=7968&view=rev Author: tim_schofield Date: 2011-08-28 07:17:28 +0000 (Sun, 28 Aug 2011) Log Message: ----------- Automatically refresh when stock location is changed Modified Paths: -------------- trunk/WorkOrderEntry.php Modified: trunk/WorkOrderEntry.php =================================================================== --- trunk/WorkOrderEntry.php 2011-08-28 07:17:06 UTC (rev 7967) +++ trunk/WorkOrderEntry.php 2011-08-28 07:17:28 UTC (rev 7968) @@ -392,7 +392,7 @@ } } -echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '" name="form">'; +echo '<form method="post" action="' . $_SERVER['PHP_SELF'] . '" name="form1">'; echo '<input type="hidden" name="FormID" value="' . $_SESSION['FormID'] . '" />'; echo '<br /><table class="selection">'; @@ -455,7 +455,7 @@ echo '<input type="hidden" name="WO" value="' .$_POST['WO'] . '" />'; echo '<tr><td class="label">' . _('Work Order Reference') . ':</td><td>' . $_POST['WO'] . '</td></tr>'; echo '<tr><td class="label">' . _('Factory Location') .':</td> - <td><select name="StockLocation">'; + <td><select name="StockLocation" onChange="ReloadForm(form1.submit)">'; $LocResult = DB_query("SELECT loccode,locationname FROM locations",$db); while ($LocRow = DB_fetch_array($LocResult)){ if ($_POST['StockLocation']==$LocRow['loccode']){ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |