1 <%inherit file="/base.mako"/>
4 <h2>Settling Transfers</h2>
6 % if len(c.settle) == 0:
7 <p>No need! The books are balanced!</p>
9 <p>To balance the books, the following transfers need to be made:</p>
17 % for transfer in c.settle:
19 <td>${transfer[0].username}</td>
20 <td>${transfer[1].username}</td>
21 <td>${transfer[2]}</td>
38 <td>${c.year_total}</td>
42 <td>${c.this_year_total}</td>
45 <th>Month to date</th>
46 <td>${c.this_month_total}</td>
50 <td>${c.last_month_total}</td>
56 <h2>Add a new transaction</h2>
59 <li>${h.link_to('Expenditure for the group', h.url_for(controller='spend', action='index'))}</li>
60 <li>${h.link_to('Transfer between two people', h.url_for(controller='transfer', action='index'))}</li>
67 ${h.link_to('See all history', h.url_for(controller='history', action='index'))}
71 ${self.listExpenditures(c.expenditures)}
75 ${self.listTransfers(c.transfers)}