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

SF.net SVN: ledger-smb:[4676] branches/1.3



Revision: 4676
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4676&view=rev
Author:   einhverfr
Date:     2012-04-25 01:41:18 +0000 (Wed, 25 Apr 2012)
Log Message:
-----------
Correcting ordering of AR/AP aging reports so invoices in the same currency are clustered together.

Modified Paths:
--------------
    branches/1.3/Changelog
    branches/1.3/LedgerSMB/RP.pm

Modified: branches/1.3/Changelog
===================================================================
--- branches/1.3/Changelog	2012-04-24 11:55:28 UTC (rev 4675)
+++ branches/1.3/Changelog	2012-04-25 01:41:18 UTC (rev 4676)
@@ -7,6 +7,7 @@
 * Changes in <head> element for non-Latin characters, HTML invoices (Erik H)
 * Corrected untranslated string in Contact management screen (Chris T)
 * Corrected permissions issue creating pricelist (Chris T, 3513861)
+* Correcting ordering of aging reports so currencies are clustered (Chris T)
 
 Changelog for 1.3.15
 * Update WX POS (almost there) - readme and code  (Andres B, item 3516949)

Modified: branches/1.3/LedgerSMB/RP.pm
===================================================================
--- branches/1.3/LedgerSMB/RP.pm	2012-04-24 11:55:28 UTC (rev 4675)
+++ branches/1.3/LedgerSMB/RP.pm	2012-04-25 01:41:18 UTC (rev 4676)
@@ -1841,7 +1841,7 @@
                        a.curr, a.ponumber, a.notes, c.language_code
 		HAVING sum(p.due) <> 0|;
 
-    $query .= qq| ORDER BY e.legal_name, ctid, curr, $transdate, invnumber|;
+    $query .= qq| ORDER BY curr, e.legal_name, ctid, $transdate, invnumber|;
     $sth = $dbh->prepare($query) || $form->dberror($query);
 
     $sth->execute($form->{todate}, $form->{todate}, $form->{todate}, 

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