From: <dai...@us...> - 2010-12-08 05:35:25
|
Revision: 4180 http://web-erp.svn.sourceforge.net/web-erp/?rev=4180&view=rev Author: daintree Date: 2010-12-08 05:35:19 +0000 (Wed, 08 Dec 2010) Log Message: ----------- James Murray SuppPaymentRun.php fix Modified Paths: -------------- trunk/PO_Header.php trunk/SuppPaymentRun.php trunk/doc/Change.log.html Modified: trunk/PO_Header.php =================================================================== --- trunk/PO_Header.php 2010-12-05 09:32:02 UTC (rev 4179) +++ trunk/PO_Header.php 2010-12-08 05:35:19 UTC (rev 4180) @@ -79,9 +79,9 @@ if ($OldStatus!=$NewStatus) { /* assume this in the first instance */ $authsql="SELECT authlevel - FROM purchorderauth - WHERE userid='".$_SESSION['UserID']."' - AND currabrev='".$_SESSION['PO'.$identifier]->CurrCode."'"; + FROM purchorderauth + WHERE userid='".$_SESSION['UserID']."' + AND currabrev='".$_SESSION['PO'.$identifier]->CurrCode."'"; $authresult=DB_query($authsql,$db); $myrow=DB_fetch_array($authresult); Modified: trunk/SuppPaymentRun.php =================================================================== --- trunk/SuppPaymentRun.php 2010-12-05 09:32:02 UTC (rev 4179) +++ trunk/SuppPaymentRun.php 2010-12-08 05:35:19 UTC (rev 4180) @@ -113,7 +113,7 @@ include('includes/footer.inc'); exit; } - if (DB_num_rows($TranResult)==0) { + if (DB_num_rows($TransResult)==0) { $title = _('Payment Run -Problem Report'); include('includes/header.inc'); prnMsg(_('There are no outstanding supplier invoices to pay'),'info'); Modified: trunk/doc/Change.log.html =================================================================== --- trunk/doc/Change.log.html 2010-12-05 09:32:02 UTC (rev 4179) +++ trunk/doc/Change.log.html 2010-12-08 05:35:19 UTC (rev 4180) @@ -1,7 +1,8 @@ <p><font SIZE=4 COLOR=BLUE><b>webERP Change Log</b></font></p> -<p></p> -<p>5/12/10 Phil: Fixed bug in purchase orders that did not actually delete purchase orders that were cancelled. I think the reason was a fraud prevention issue so instead I have made new tables for purchorders_deleted and purchorderdetails_deleted to copy the details of the deleted orders to - should investigation be required. -<p>3/12/10 Matt Elbrecht : Estonian translation +<p>/</p> +<p>8/12/10 James Murray: fixed bug in SuppPaymentRun.php - was not showing anything as the test to see if there was anything to see was using a non-existant result set!</p> +<p>5/12/10 Phil: Fixed bug in purchase orders that did not actually delete purchase orders that were cancelled. I think the reason was a fraud prevention issue so instead I have made new tables for purchorders_deleted and purchorderdetails_deleted to copy the details of the deleted orders to - should investigation be required.</p> +<p>3/12/10 Matt Elbrecht : Estonian translation</p> <p>30/11/10 Phil: Changed table structure of new fixedassettrans and modified upgrade script - those who already ran that bit will need to change the table again. Modified fixed asset scripts again. New fixed assets manual</p> <p>28/11/10 Exsson: CreditStatus.php - Fix bug in sql statement</p> <p>28/11/10 Tim: OutstandingGRNs.php - Only show when the invoiced qty is less than the GRN qty</p> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |