aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/transactions_by_month.html
diff options
context:
space:
mode:
Diffstat (limited to 'tmpl/transactions_by_month.html')
-rw-r--r--tmpl/transactions_by_month.html74
1 files changed, 37 insertions, 37 deletions
diff --git a/tmpl/transactions_by_month.html b/tmpl/transactions_by_month.html
index 926b9de..e9d48b9 100644
--- a/tmpl/transactions_by_month.html
+++ b/tmpl/transactions_by_month.html
@@ -9,43 +9,43 @@
<h1 id='mgnavt'><a href="index.html">treasurer</a> ยป month : [% month %]</h1>
<div class="content">
- <h1>Mageia.Org accounts transactions for month [% month %]</h1>
- <h2>Summary</h2>
- <ul>
- <li>
- <b>Start balance</b>: [% transactions.by_month.$month.start_balance %] Euros
- </li>
- <li>
- <b>End balance</b>: [% transactions.by_month.$month.end_balance %] Euros
- </li>
- <li>
- <b>Revenues</b>: [% transactions.by_month.$month.revenues %] Euros
- </li>
- <li>
- <b>Expenses</b>: [% transactions.by_month.$month.expenses %] Euros
- </li>
- </ul>
- <h2>By category</h2>
- <ul>
- [% FOR ca IN transactions.by_month.$month.ca_balance.keys %]
- <li><b><a href="c_[% ca %].html">[% transactions.by_ca.$ca.c_name %]</a></b>: [% transactions.by_month.$month.ca_balance.$ca %] Euros</b></li>
- [%- END -%]
- </ul>
- <h2>Details</h2>
- <table border="1">
- <tr>
- <th>Date</th>
- <th>Amount</th>
- <th>Account</th>
- <th>Who</th>
- <th>Notes</th>
- <th>Category</th>
- </tr>
- [%- USE date(format='%Y/%m/%d') -%]
- [%- FOR tra IN transactions.by_month.$month.transactions.sort('date').reverse %]
- [%- INCLUDE tra_row.html %]
- [%- END -%]
- </table>
+ <h1>Mageia.Org accounts transactions for month [% month %]</h1>
+ <h2>Summary</h2>
+ <ul>
+ <li>
+ <b>Start balance</b>: [% transactions.by_month.$month.start_balance %] Euros
+ </li>
+ <li>
+ <b>End balance</b>: [% transactions.by_month.$month.end_balance %] Euros
+ </li>
+ <li>
+ <b>Revenues</b>: [% transactions.by_month.$month.revenues %] Euros
+ </li>
+ <li>
+ <b>Expenses</b>: [% transactions.by_month.$month.expenses %] Euros
+ </li>
+ </ul>
+ <h2>By category</h2>
+ <ul>
+ [% FOR ca IN transactions.by_month.$month.ca_balance.keys %]
+ <li><b><a href="c_[% ca %].html">[% transactions.by_ca.$ca.c_name %]</a></b>: [% transactions.by_month.$month.ca_balance.$ca %] Euros</b></li>
+ [%- END -%]
+ </ul>
+ <h2>Details</h2>
+ <table border="1">
+ <tr>
+ <th>Date</th>
+ <th>Amount</th>
+ <th>Account</th>
+ <th>Who</th>
+ <th>Notes</th>
+ <th>Category</th>
+ </tr>
+ [%- USE date(format='%Y/%m/%d') -%]
+ [%- FOR tra IN transactions.by_month.$month.transactions.sort('date').reverse %]
+ [%- INCLUDE tra_row.html %]
+ [%- END -%]
+ </table>
</div>
</body>
</html>