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

SF.net SVN: ledger-smb:[2438] trunk/LedgerSMB/AA.pm



Revision: 2438
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2438&view=rev
Author:   einhverfr
Date:     2009-01-06 17:51:10 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
Correcting retrieval of control code and account number where only one is selected

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

Modified: trunk/LedgerSMB/AA.pm
===================================================================
--- trunk/LedgerSMB/AA.pm	2009-01-05 23:54:05 UTC (rev 2437)
+++ trunk/LedgerSMB/AA.pm	2009-01-06 17:51:10 UTC (rev 2438)
@@ -1126,7 +1126,9 @@
 		          c.curr AS currency, 
 		          c.language_code, $duedate AS duedate, 
 			  b.discount AS tradediscount, 
-		          b.description AS business
+		          b.description AS business, 
+			  entity.control_code as entity_control_code,
+			  c.meta_number
 		     FROM entity_credit_account c
 		     JOIN entity ON (entity.id = c.entity_id)
 		LEFT JOIN business b ON (b.id = c.business_id)


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