[Weberp-svn] SF.net SVN: weberp:[7003] trunk
Brought to you by:
sotandeka,
tim_schofield
From: <tim...@us...> - 2011-07-26 16:23:44
|
Revision: 7003 http://weberp.svn.sourceforge.net/weberp/?rev=7003&view=rev Author: tim_schofield Date: 2011-07-26 16:23:37 +0000 (Tue, 26 Jul 2011) Log Message: ----------- XHTML corrections to code Modified Paths: -------------- trunk/Stocks.php trunk/WorkOrderStatus.php Modified: trunk/Stocks.php =================================================================== --- trunk/Stocks.php 2011-07-26 14:06:11 UTC (rev 7002) +++ trunk/Stocks.php 2011-07-26 16:23:37 UTC (rev 7003) @@ -908,7 +908,8 @@ } echo '</select></td></tr>'; -echo '<tr><td>' . _('Decimal Places for display Quantity') . ':</td><td><input type="text" class="number" name="DecimalPlaces" size="1" maxlength="1" value="' . $_POST['DecimalPlaces'] . '" /><td></tr>'; +echo '<tr><td>' . _('Decimal Places for display Quantity') . ':</td> + <td><input type="text" class="number" name="DecimalPlaces" size="1" maxlength="1" value="' . $_POST['DecimalPlaces'] . '" /></td></tr>'; if (isset($_POST['BarCode'])) { $BarCode = $_POST['BarCode']; Modified: trunk/WorkOrderStatus.php =================================================================== --- trunk/WorkOrderStatus.php 2011-07-26 14:06:11 UTC (rev 7002) +++ trunk/WorkOrderStatus.php 2011-07-26 16:23:37 UTC (rev 7003) @@ -41,12 +41,32 @@ _('Search') . '" alt="" />' . ' ' . $title.'</p>'; echo '<table cellpadding="2" class="selection"> - <tr><td class="label">' . _('Issue to work order') . ':</td><td>' . $_REQUEST['WO'] .'</td><td class="label">' . _('Item') . ':</td><td>' . $_REQUEST['StockID'] . ' - ' . $WORow['description'] . '</td></tr> - <tr><td class="label">' . _('Manufactured at') . ':</td><td>' . $WORow['locationname'] . '</td><td class="label">' . _('Required By') . ':</td><td>' . ConvertSQLDate($WORow['requiredby']) . '</td></tr> - <tr><td class="label">' . _('Quantity Ordered') . ':</td><td class="number">' . number_format($WORow['qtyreqd'],$WORow['decimalplaces']) . '</td><td colspan=2>' . $WORow['units'] . '</td></tr> - <tr><td class="label">' . _('Already Received') . ':</td><td class="number">' . number_format($WORow['qtyrecd'],$WORow['decimalplaces']) . '</td><td colspan=2>' . $WORow['units'] . '</td></tr> - <tr><td class="label">' . _('Date Material Issued') . ':</td><td>' . Date($_SESSION['DefaultDateFormat']) . '</td> - <td class="label">' . _('Issued From') . ':</td><td>'; + <tr> + <td class="label">' . _('Issue to work order') . ':</td> + <td>' . $_REQUEST['WO'] .'</td><td class="label">' . _('Item') . ':</td> + <td>' . $_REQUEST['StockID'] . ' - ' . $WORow['description'] . '</td> + </tr> + <tr> + <td class="label">' . _('Manufactured at') . ':</td> + <td>' . $WORow['locationname'] . '</td> + <td class="label">' . _('Required By') . ':</td> + <td>' . ConvertSQLDate($WORow['requiredby']) . '</td> + </tr> + <tr> + <td class="label">' . _('Quantity Ordered') . ':</td> + <td class="number">' . number_format($WORow['qtyreqd'],$WORow['decimalplaces']) . '</td> + <td colspan="2">' . $WORow['units'] . '</td> + </tr> + <tr> + <td class="label">' . _('Already Received') . ':</td> + <td class="number">' . number_format($WORow['qtyrecd'],$WORow['decimalplaces']) . '</td> + <td colspan="2">' . $WORow['units'] . '</td> + </tr> + <tr> + <td class="label">' . _('Date Material Issued') . ':</td> + <td>' . Date($_SESSION['DefaultDateFormat']) . '</td> + <td class="label">' . _('Issued From') . ':</td> + </tr>'; if (!isset($_POST['FromLocation'])){ $_POST['FromLocation']=$WORow['loccode']; @@ -57,14 +77,15 @@ $db); $LocRow = DB_fetch_array($LocResult); echo $LocRow['locationname']; - echo '<tr><td colspan=4></td></tr>'; + echo '<tr><td colspan="4"></td></tr>'; echo '</td></tr></table><br />'; //set up options for selection of the item to be issued to the WO - echo '<table class="selection"><tr><th colspan=5><font size=2 color=navy>' . _('Material Requirements For this Work Order') . '</font></th></tr>'; - echo '<tr><th colspan=2>' . _('Item') . '</th> - <th>' . _('Qty Required') . '</th> - <th>' . _('Qty Issued') . '</th></tr>'; + echo '<table class="selection"><tr><th colspan="5"><font size="2" color="navy">' . _('Material Requirements For this Work Order') . '</font></th></tr>'; + echo '<tr><th colspan="2">' . _('Item') . '</th> + <th>' . _('Qty Required') . '</th> + <th>' . _('Qty Issued') . '</th> + </tr>'; $RequirmentsResult = DB_query("SELECT worequirements.stockid, stockmaster.description, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |