From: <tim...@us...> - 2010-06-26 07:43:43
|
Revision: 3525 http://web-erp.svn.sourceforge.net/web-erp/?rev=3525&view=rev Author: tim_schofield Date: 2010-06-26 07:43:37 +0000 (Sat, 26 Jun 2010) Log Message: ----------- Highlight any expired offers. Modified Paths: -------------- trunk/SupplierTenders.php trunk/doc/Change.log.html Modified: trunk/SupplierTenders.php =================================================================== --- trunk/SupplierTenders.php 2010-06-25 23:46:36 UTC (rev 3524) +++ trunk/SupplierTenders.php 2010-06-26 07:43:37 UTC (rev 3525) @@ -265,7 +265,7 @@ echo '<th>'._('UOM').'</th>'; echo '<th>'._('Price').' ('.$Currency.')</th>'; echo '<th>'._('Line Total').' ('.$Currency.')</th>'; - echo '<th>'._('Expiry Date').' ('.$Currency.')</th>'; + echo '<th>'._('Expiry Date').'</th>'; echo '</tr>'; $k=0; foreach ($_SESSION['offer']->LineItems as $LineItems) { @@ -277,6 +277,9 @@ echo '<tr class="OddTableRows">'; $k=1; } + if ($LineItems->ExpiryDate < date('Y-m-d')) { + echo '<tr bgcolor=#F7A9A9>'; + } echo '<td>'.$LineItems->StockID.'</td>'; echo '<td>'.$LineItems->ItemDescription.'</td>'; echo '<td><input type=text class=number name="qty'.$LineItems->LineNo.'" value='.number_format($LineItems->Quantity,$LineItems->DecimalPlaces).'></td>'; Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-06-25 23:46:36 UTC (rev 3524) +++ trunk/doc/Change.log.html 2010-06-26 07:43:37 UTC (rev 3525) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>25/06/10 Tim: SupplierTender.php - Highlight any expired offers.</p> <p>25/06/10 Tim: SupplierTender.php - Add in expiry date for offers.</p> <p>25/06/10 Tim: SupplierTender.php - Add facility of the supplier to view, amend, or remove offers.</p> <p>24/06/10 Tim: OffersReceived.php - Deal correctly with case where the cancreate flag is turned off for user/currency combination</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |