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>${transfer[2]}</td>
33 <td class="scope"></td>
34 <th class="scope">Everyone</th>
35 <th class="scope">My Share</th>
37 % for period in ('Total', 'Past year', 'Year to date', 'Month to date', 'Last month'):
40 % for scope in ('all', 'mine'):
41 <td>${c.totals[period][scope]}</td>
51 <span class="see-all">
52 ${h.link_to('See all history', h.url_for(controller='history', action='index'))}
58 ${self.listExpenditures(c.expenditures)}
62 ${self.listTransfers(c.transfers)}