From: <Ex...@us...> - 2012-05-18 08:42:22
|
Revision: 5370 http://web-erp.svn.sourceforge.net/web-erp/?rev=5370&view=rev Author: ExsonQu Date: 2012-05-18 08:42:16 +0000 (Fri, 18 May 2012) Log Message: ----------- 18/5/2012 Ahmed: Fixed bugs that the offer cannot store more than one item and remove function does not work in SupplierTenders.php and DefineOfferClass.php Modified Paths: -------------- trunk/SupplierTenders.php Modified: trunk/SupplierTenders.php =================================================================== --- trunk/SupplierTenders.php 2012-05-18 08:33:17 UTC (rev 5369) +++ trunk/SupplierTenders.php 2012-05-18 08:42:16 UTC (rev 5370) @@ -287,7 +287,7 @@ /*The supplier has chosen option 1 */ -if (isset($_POST['TenderType']) AND $_POST['TenderType']==1 AND !isset($_POST['Refresh'])) { +if (isset($_POST['TenderType']) AND $_POST['TenderType']==1 AND !isset($_POST['Refresh']) AND !isset($_GET['Delete'])) { $sql="SELECT offers.offerid, offers.stockid, stockmaster.description, @@ -562,6 +562,7 @@ <td><input type="text" class="number" size="10" name="Price'. $i . '" value="0.00" /></td> <td><input type="text" class="date" alt="' .$_SESSION['DefaultDateFormat'] .'" name="RequiredByDate'. $i . '" size="11" value="' . ConvertSQLDate($MyItemRow['requiredbydate']) . '" /></td> </tr>'; + $i++; } echo '</form>'; } @@ -774,4 +775,4 @@ include('includes/footer.inc'); -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |