aboutsummaryrefslogtreecommitdiffstats
path: root/mktreasurer
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-16 20:27:00 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-16 20:27:00 +0000
commit096e94906cfcb29ae4913d26d136fa834b8e905b (patch)
tree607bc5342d5620b09b12ecf1ca6bc167816ed9c5 /mktreasurer
parent89f4b7b98b6138c2ec10dc42e22d3bd27aab33bf (diff)
downloadmgatres-096e94906cfcb29ae4913d26d136fa834b8e905b.tar
mgatres-096e94906cfcb29ae4913d26d136fa834b8e905b.tar.gz
mgatres-096e94906cfcb29ae4913d26d136fa834b8e905b.tar.bz2
mgatres-096e94906cfcb29ae4913d26d136fa834b8e905b.tar.xz
mgatres-096e94906cfcb29ae4913d26d136fa834b8e905b.zip
Add per account transactions pages
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8286 5b7c3c08-40e5-403b-9995-ace06908e4af
Diffstat (limited to 'mktreasurer')
-rwxr-xr-xmktreasurer11
1 files changed, 11 insertions, 0 deletions
diff --git a/mktreasurer b/mktreasurer
index 961e269..9cf8c7a 100755
--- a/mktreasurer
+++ b/mktreasurer
@@ -230,6 +230,17 @@ sub output_pages {
"p_$pa") if $transactions->{by_pa}->{$pa};
}
+ foreach my $ac (keys %{$transactions->{by_ac}}) {
+ my $vars = {
+ config => $config,
+ ac => $ac,
+ account => $transactions->{by_ac}->{$ac}->{account},
+ donations => $donations,
+ transactions => $transactions,
+ };
+ process_template($template, 'transactions_by_ac', $vars, "a_$ac");
+ }
+
my $vars = {
config => $config,
donations => $donations,