diff options
Diffstat (limited to 'tmpl/transactions_by_ca.html')
-rw-r--r-- | tmpl/transactions_by_ca.html | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/tmpl/transactions_by_ca.html b/tmpl/transactions_by_ca.html index 4e28cda..49b6804 100644 --- a/tmpl/transactions_by_ca.html +++ b/tmpl/transactions_by_ca.html @@ -9,31 +9,31 @@ <h1 id='mgnavt'><a href="index.html">treasurer</a> ยป category : [% c_name %]</h1> <div class="content"> - <h1>Mageia.Org transactions for category [% c_name %]</h1> - <h2>Summary</h2> - <ul> - [% IF transactions.by_ca.$ca.revenues != 0 %] - <li><b>Revenues</b>: [% transactions.by_ca.$ca.revenues %] Euros</li> - [% END %] - [% IF transactions.by_ca.$ca.expenses != 0 %] - <li><b>Expenses</b>: [% transactions.by_ca.$ca.expenses %] Euros</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_ca.$ca.transactions.sort('date').reverse %] - [%- INCLUDE tra_row.html %] - [%- END -%] - </table> + <h1>Mageia.Org transactions for category [% c_name %]</h1> + <h2>Summary</h2> + <ul> + [% IF transactions.by_ca.$ca.revenues != 0 %] + <li><b>Revenues</b>: [% transactions.by_ca.$ca.revenues %] Euros</li> + [% END %] + [% IF transactions.by_ca.$ca.expenses != 0 %] + <li><b>Expenses</b>: [% transactions.by_ca.$ca.expenses %] Euros</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_ca.$ca.transactions.sort('date').reverse %] + [%- INCLUDE tra_row.html %] + [%- END -%] + </table> </div> </body> </html> |