From 46253bc51e3f251513b0149f0362021c86111019 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Fri, 12 Jul 2013 10:44:08 +0000 Subject: Fix indentation git-svn-id: svn+ssh://svn.mageia.org/svn/soft/mga-treasurer/trunk@8610 5b7c3c08-40e5-403b-9995-ace06908e4af --- tmpl/transactions_by_year.html | 306 ++++++++++++++++++++--------------------- 1 file changed, 153 insertions(+), 153 deletions(-) (limited to 'tmpl/transactions_by_year.html') diff --git a/tmpl/transactions_by_year.html b/tmpl/transactions_by_year.html index d82127b..4c6d373 100644 --- a/tmpl/transactions_by_year.html +++ b/tmpl/transactions_by_year.html @@ -10,162 +10,162 @@

treasurer ยป year : [% year %]

-

Mageia.Org accounts transactions for year [% year %]

-

Summary

- -

By category

- - [%- - SET ca_expenses = []; - SET ca_expenses_names = []; - SET ca_revenues = []; - SET ca_revenues_names = []; - - IF transactions.by_year.$year.ca_revenues; - FOREACH ca IN transactions.by_year.$year.ca_revenues.keys; - ca_revenues.push(ca); - ca_revenues_names.push(transactions.by_ca.$ca.c_name); - END; - END; - IF transactions.by_year.$year.ca_expenses; - FOREACH ca IN transactions.by_year.$year.ca_expenses.keys; - ca_expenses.push(ca); - ca_expenses_names.push(transactions.by_ca.$ca.c_name); - END; - END; - -%] -

Expenses

- [% IF ca_expenses.size > 1 %] - - - - [% END %] - - -

Revenues

- [% IF ca_revenues.size > 1 %] - - - + [% END %] + + +

Revenues

+ [% IF ca_revenues.size > 1 %] + + + - [% END %] - - -

Monthly reports

- - - - + [% END %] + + +

Monthly reports

+ + + + - - -

Details

- - - - - - - - - - [%- USE date(format='%Y/%m/%d') -%] - [% FOR tra IN transactions.by_year.$year.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] -
DateAmountAccountWhoNotesCategory
+ + var myLine = new Chart(document.getElementById("accounts_history_bar_chart").getContext("2d")).Bar(barChartData); + + + + +

Details

+ + + + + + + + + + [%- USE date(format='%Y/%m/%d') -%] + [% FOR tra IN transactions.by_year.$year.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] +
DateAmountAccountWhoNotesCategory
-- cgit v1.2.1