aboutsummaryrefslogtreecommitdiffstats
path: root/mktreasurer
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-16 20:27:03 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-16 20:27:03 +0000
commitf1647e2f33ab09e70c19f9265b40f09656986b41 (patch)
tree1a7e3c7b17be82352a1d97b5cfcce114bc74fe09 /mktreasurer
parent096e94906cfcb29ae4913d26d136fa834b8e905b (diff)
downloadmgatres-f1647e2f33ab09e70c19f9265b40f09656986b41.tar
mgatres-f1647e2f33ab09e70c19f9265b40f09656986b41.tar.gz
mgatres-f1647e2f33ab09e70c19f9265b40f09656986b41.tar.bz2
mgatres-f1647e2f33ab09e70c19f9265b40f09656986b41.tar.xz
mgatres-f1647e2f33ab09e70c19f9265b40f09656986b41.zip
Add per category transactions pages
git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8287 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 9cf8c7a..dd8c08e 100755
--- a/mktreasurer
+++ b/mktreasurer
@@ -241,6 +241,17 @@ sub output_pages {
process_template($template, 'transactions_by_ac', $vars, "a_$ac");
}
+ foreach my $ca (keys %{$transactions->{by_ca}}) {
+ my $vars = {
+ config => $config,
+ ca => $ca,
+ c_name => $transactions->{by_ca}->{$ca}->{c_name},
+ donations => $donations,
+ transactions => $transactions,
+ };
+ process_template($template, 'transactions_by_ca', $vars, "c_$ca");
+ }
+
my $vars = {
config => $config,
donations => $donations,