Changes and fixes in HTTP (e.g. + account upsertion)
==================================================== * Account upsertion * Empty credit and debit forms, the latter with the ability to charge groups * Fixed redirection on posting transfers * Reverse order of credits and debits * Style: prevent monospace size reduction in some browsers; td.mark class * Totals in report and and bankStatement
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
% title 'Income of ' . $account;
|
||||
|
||||
<p>Listed in reverse order:</p>
|
||||
|
||||
<table class="income">
|
||||
<tr><th>Id</th><th>Date</th><th>Purpose</th><th>value</th><th>spent</th></tr>
|
||||
% while ( my $credit = $credits->next ) {
|
||||
<tr><td class="number"><a href="/credit/<%= $credit->credId %>"><%= $credit->credId %></a></td><td><%= $credit->date %></td><td><%== nl2br $credit->purpose %></td><td class="number"><%== money $credit->value %></td><td class="number"><%== money $credit->spent %></td></tr>
|
||||
<tr><td class="number"><a href="/credit/<%= $credit->credId %>"><%= $credit->credId %></a></td><td><%= $credit->date %></td><td><%== nl2br $credit->purpose %></td><td class="number"><%== money $credit->value %></td><td class="number <%= $credit->spent < $credit->value ? "mark" : "" %>"><%== money $credit->spent %></td></tr>
|
||||
% }
|
||||
</table>
|
||||
|
||||
Reference in New Issue
Block a user