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

SF.net SVN: ledger-smb: [1533] trunk/bin/am.pl



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

Log Message:
-----------
Applying patch 1790355:  Recurring transaction groups now have subtotals

Modified Paths:
--------------
    trunk/bin/am.pl

Modified: trunk/bin/am.pl
===================================================================
--- trunk/bin/am.pl	2007-09-07 17:23:00 UTC (rev 1532)
+++ trunk/bin/am.pl	2007-09-07 18:04:52 UTC (rev 1533)
@@ -3052,9 +3052,10 @@
     %f = &formnames;
 
     foreach $transaction ( sort keys %{ $form->{transactions} } ) {
+    	my $transaction_count = scalar( @{ $form->{transactions}{$transaction} } );
         print qq|
         <tr>
-	  <th class="listheading" colspan=$colspan>$tr{$transaction}</th>
+	  <th class="listheading" colspan=$colspan>$tr{$transaction} ($transaction_count)</th>
 	</tr>
 |;
 


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