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].name}</td>
20 <td>${transfer[1].name}</td>
21 <td class="amount">${transfer[2]}</td>
33 <th class="amount">${abs(c.net)}</th>
45 <td class="scope"></td>
46 <th class="scope">Everyone</th>
47 <th class="scope">My Share</th>
49 % for period in ('Total', 'Past year', 'Year to date', 'Month to date', 'Last month'):
52 % for scope in ('all', 'mine'):
53 <td>${c.totals[period][scope]}</td>
63 <span class="see-all">
64 ${h.link_to('See all history', h.url_for(controller='history', action='index'))}
70 ${self.listExpenditures(c.expenditures)}
74 ${self.listTransfers(c.transfers)}