From: <tim...@us...> - 2010-04-08 08:26:30
|
Revision: 3416 http://web-erp.svn.sourceforge.net/web-erp/?rev=3416&view=rev Author: tim_schofield Date: 2010-04-08 08:26:24 +0000 (Thu, 08 Apr 2010) Log Message: ----------- Tim: SuppTransGLAnalysis.php - Correct typo in sql statement. Modified Paths: -------------- trunk/SuppTransGLAnalysis.php trunk/doc/Change.log.html Modified: trunk/SuppTransGLAnalysis.php =================================================================== --- trunk/SuppTransGLAnalysis.php 2010-04-08 08:25:57 UTC (rev 3415) +++ trunk/SuppTransGLAnalysis.php 2010-04-08 08:26:24 UTC (rev 3416) @@ -47,7 +47,7 @@ prnMsg( _('The amount entered is not numeric') . '. ' . _('This line cannot be added to the transaction'),'error'); $InputError = True; } elseif ($_POST['JobRef'] != ''){ - $sql = "SELECT contractref FROM contracts WHERE contactref='" . $_POST['JobRef'] . "'"; + $sql = "SELECT contractref FROM contracts WHERE contractref='" . $_POST['JobRef'] . "'"; $result = DB_query($sql, $db); if (DB_num_rows($result) == 0){ prnMsg( _('The contract reference entered is not a valid contract, this line cannot be added to the transaction'),'error'); @@ -78,7 +78,7 @@ /*Show all the selected GLCodes so far from the SESSION['SuppInv']->GLCodes array */ if ($_SESSION['SuppTrans']->InvoiceOrCredit == 'Invoice'){ - echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('General Ledger') . '" alt="">' . ' ' + echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('General Ledger') . '" alt="">' . ' ' . _('General Ledger Analysis of Invoice From') . ' ' . $_SESSION['SuppTrans']->SupplierName; } else { echo '<div class="centre"><p class="page_title_text"><img src="'.$rootpath.'/css/'.$theme.'/images/transactions.png" title="' . _('General Ledger') . '" alt="">' . ' ' @@ -174,10 +174,10 @@ echo '<tr> <td>' . _('Contract Ref') . ":</td> <td><input type='Text' name='JobRef' size=21 maxlength=20 VALUE=" . $_POST['JobRef'] . ">"; - + /* Once the contract stuff is written then it would be appropriate to have: <a TARGET='_blank' href='$rootpath/ContractsList.php?" . SID . "'>" . _('View Open Contracts/Jobs') . '</a> */ - + echo ' </td> </tr>'; if (!isset($_POST['Narrative'])) { Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-04-08 08:25:57 UTC (rev 3415) +++ trunk/doc/Change.log.html 2010-04-08 08:26:24 UTC (rev 3416) @@ -1,5 +1,6 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> <p></p> +<p>08/04/10 Tim: SuppTransGLAnalysis.php - Correct typo in sql statement.</p> <p>07/04/10 Tim: SelectOrdderitems.php and DeliveryDetails.php - Improvements to layout.</p> <p>07/04/10 Tim: Improvements to the silverwolf theme.</p> <p>07/04/10 Tim: SelectOrderItems.php - Improve layout and correct for paging of items.</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |