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

SF.net SVN: ledger-smb: [1531] trunk/LedgerSMB/RP.pm



Revision: 1531
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=1531&view=rev
Author:   einhverfr
Date:     2007-09-07 10:09:37 -0700 (Fri, 07 Sep 2007)

Log Message:
-----------
Fixing broken language selection in aging report.

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

Modified: trunk/LedgerSMB/RP.pm
===================================================================
--- trunk/LedgerSMB/RP.pm	2007-09-07 16:59:11 UTC (rev 1530)
+++ trunk/LedgerSMB/RP.pm	2007-09-07 17:09:37 UTC (rev 1531)
@@ -1626,7 +1626,7 @@
 			       '' as $form->{ct}fax,
 			       '' as $form->{ct}taxnumber,
 		               a.invnumber, a.transdate, a.till, a.ordnumber, 
-			       a.ponumber, a.notes, 
+			       a.ponumber, a.notes, c.language_code, 
 			       CASE WHEN 
 			                 EXTRACT(days FROM age(a.transdate)/30) 
 			                 = 0
@@ -1667,7 +1667,6 @@
                     $ref->{module} = 'ps' if $ref->{till};
                     $ref->{exchangerate} = 1
                       unless $ref->{exchangerate};
-                    $ref->{language_code} = $item->{language_code};
                     push @{ $form->{AG} }, $ref;
 
     }


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