% title 'Transfer history';

Reverse ordered list:

% while ( my $hr = $history->next ) { % }
TimestampPurpose (own/other/debit)debitcreditnote
<%= $hr->date %> % my $this = $hr->this_credit; On <%= <%= $this->credId %>: <%= $this->purpose %>
% my $that = $hr->that_credit; With <%= $that->account->ID %>/<%= <%= $that->credId %>: <%= $that->purpose %>
Pay <%= $hr->billId %>: <%= $hr->purpose %>
<%= $hr->debit %><%= $hr->credit %><%= $hr->note %>