From: <te...@us...> - 2012-08-08 08:27:48
|
Revision: 5589 http://web-erp.svn.sourceforge.net/web-erp/?rev=5589&view=rev Author: tehonu Date: 2012-08-08 08:27:42 +0000 (Wed, 08 Aug 2012) Log Message: ----------- Ricard: Shows Stock Category Modified Paths: -------------- trunk/SelectProduct.php Modified: trunk/SelectProduct.php =================================================================== --- trunk/SelectProduct.php 2012-08-06 19:03:49 UTC (rev 5588) +++ trunk/SelectProduct.php 2012-08-08 08:27:42 UTC (rev 5589) @@ -66,7 +66,8 @@ stockmaster.discontinued, stockmaster.eoq, stockmaster.volume, - stockmaster.kgs + stockmaster.kgs, + stockcategory.categorydescription FROM stockmaster INNER JOIN stockcategory ON stockmaster.categoryid=stockcategory.categoryid WHERE stockid='" . $StockID . "'", $db); @@ -85,9 +86,11 @@ <th colspan="3"><img src="' . $rootpath . '/css/' . $theme . '/images/inventory.png" title="' . _('Inventory') . '" alt="" /><b title="' . $myrow['longdescription'] . '">' . ' ' . $StockID . ' - ' . $myrow['description'] . '</b> ' . $ItemStatus . '</th> </tr>'; + echo '<tr> <td style="width:40%" valign="top"> <table>'; //nested table + echo '<tr><th class="number">' . _('Category:') . '</th> <td colspan="2" class="select">' . $myrow['categorydescription'] , '</td></tr>'; echo '<tr><th class="number">' . _('Item Type:') . '</th> <td colspan="2" class="select">'; switch ($myrow['mbflag']) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |