From: <te...@us...> - 2014-09-12 00:40:04
|
Revision: 6880 http://sourceforge.net/p/web-erp/reponame/6880 Author: tehonu Date: 2014-09-12 00:40:01 +0000 (Fri, 12 Sep 2014) Log Message: ----------- HTML and improvements suggested by Tim Modified Paths: -------------- trunk/Locations.php trunk/WOCanBeProducedNow.php Modified: trunk/Locations.php =================================================================== --- trunk/Locations.php 2014-09-11 16:26:54 UTC (rev 6879) +++ trunk/Locations.php 2014-09-12 00:40:01 UTC (rev 6880) @@ -111,20 +111,6 @@ $_POST['Managed'] = 0; } - /* Set the InternalRequest field to 1 if it is checked, otherwise 0 */ - if($_POST['InternalRequest'] == 'Yes') { - $_POST['InternalRequest'] = 1; - } else { - $_POST['InternalRequest'] = 0; - } - - /* Set the usedToWO field to 1 if it is checked, otherwise 0 */ - if($_POST['UsedForWO'] == 'Yes') { - $_POST['UsedForWO'] = 1; - } else { - $_POST['UsedForWO'] = 0; - } - /*SelectedLocation is null cos no item selected on first time round so must be adding a record must be submitting new entries in the new Location form */ $sql = "INSERT INTO locations (loccode, @@ -666,7 +652,7 @@ } else { echo '<option value="0">' . _('No') . '</option>'; } - echo '</tr>'; + echo '</select></td></tr>'; echo '<tr> <td>' . _('Use for Work Order Productions?') . ':</td> @@ -681,7 +667,7 @@ } else { echo '<option value="0">' . _('No') . '</option>'; } - echo '</tr>'; + echo '</select></td></tr>'; /* This functionality is not written yet ... Modified: trunk/WOCanBeProducedNow.php =================================================================== --- trunk/WOCanBeProducedNow.php 2014-09-11 16:26:54 UTC (rev 6879) +++ trunk/WOCanBeProducedNow.php 2014-09-12 00:40:01 UTC (rev 6880) @@ -50,7 +50,7 @@ <th>' . _('Needed') . '</th> <th>' . _('Shrinkage') . '</th> <th>' . _('UOM') . '</th> - <th>' . '' . '</th> + <th></th> <th>' . _('Result') . '</th> </tr>'; |