[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[5610] trunk



Revision: 5610
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=5610&view=rev
Author:   einhverfr
Date:     2013-01-20 06:56:56 +0000 (Sun, 20 Jan 2013)
Log Message:
-----------
Fix for the credit limit fix, per freelock on irc

Modified Paths:
--------------
    trunk/Changelog
    trunk/LedgerSMB/AA.pm

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2013-01-19 10:40:42 UTC (rev 5609)
+++ trunk/Changelog	2013-01-20 06:56:56 UTC (rev 5610)
@@ -102,7 +102,7 @@
 is not a total pain(Chris T)
 * Fixed lines 2 and 3 not showing on address div for contacts (Chris T)
 * Fixed credit limit not accounting for some payments (Chris T, 3600679)
-* Payments tables in invoice/transaction screens can be references in CSS
+* Payments tables in invoice/transaction screens can be referenced in CSS
 (Chris T)
 
 Changelog for 1.3.28

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2013-01-19 10:40:42 UTC (rev 5609)
+++ trunk/LedgerSMB/AA.pm	2013-01-20 06:56:56 UTC (rev 5610)
@@ -898,7 +898,7 @@
 		SELECT SUM(ac.amount) 
                        * CASE WHEN '$arap' = 'ar' THEN -1 ELSE 1 END as used
 		  FROM $arap a
-                  JOIN acc_trans ac ON a.id = ac.trans_id and approved
+                  JOIN acc_trans ac ON a.id = ac.trans_id and ac.approved
                   JOIN account_link al ON al.account_id = ac.chart_id
                                        AND al.description IN ('AR', 'AP')
 		 WHERE entity_credit_account = ?

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.