2017-01-15 16:27:22 +01:00
|
|
|
% title 'Outcome of ' . $account;
|
|
|
|
|
2017-01-25 22:38:39 +01:00
|
|
|
<p>Listed in reverse order:</p>
|
|
|
|
|
2017-01-15 16:27:22 +01:00
|
|
|
<table class="income">
|
|
|
|
<tr><th>Id</th><th>Date</th><th>Purpose</th><th>value</th><th>paid</th><th>to</th></tr>
|
|
|
|
% while ( my $debit = $debits->next ) {
|
|
|
|
% my $tgt = $debit->target;
|
2017-01-25 22:38:39 +01:00
|
|
|
<tr><td><a href="/debit/<%= $debit->billId %>"><%= $debit->billId %></a></td><td><%= $debit->date %></td><td><%== nl2br $debit->purpose %></td><td class="number"><%== money $debit->value %></td><td class="number <%= $debit->paid < $debit->value ? "mark" : "" %>"><%== money $debit->paid %><td><a href="/credit/<%= $tgt->credId %>"><%= $tgt->account->ID %></a></tr>
|
2017-01-15 16:27:22 +01:00
|
|
|
% }
|
|
|
|
</table>
|
2017-01-29 15:57:34 +01:00
|
|
|
|
|
|
|
%= include 'filter-widget'
|