1 <%inherit file="/base.mako"/>
3 <h2>Settling Transfers</h2>
5 % if len(c.settle) == 0:
6 <p>No need! The books are balanced!</p>
8 <p>To balance the books, the following transfers need to be made:</p>
16 % for transfer in c.settle:
18 <td>${transfer[0].username}</td>
19 <td>${transfer[1].username}</td>
20 <td>${transfer[2]}</td>
35 <td>${c.year_total}</td>
39 <td>${c.this_year_total}</td>
42 <td>Month to date</td>
43 <td>${c.this_month_total}</td>
47 <td>${c.last_month_total}</td>
51 <h2>Add a new transaction</h2>
54 <li>${h.link_to('Expenditure for the group', h.url_for(controller='spend', action='index'))}</li>
55 <li>${h.link_to('Transfer between two people', h.url_for(controller='transfer', action='index'))}</li>
60 ${h.link_to('See all history', h.url_for(controller='history',
65 ${self.listExpenditures(c.expenditures)}
69 ${self.listTransfers(c.transfers)}