Lines 44-50
Link Here
|
44 |
[% FOREACH account IN accounts %] |
44 |
[% FOREACH account IN accounts %] |
45 |
<tr class="highlight"> |
45 |
<tr class="highlight"> |
46 |
<td>[% account.date %]</td> |
46 |
<td>[% account.date %]</td> |
47 |
<td>[% account.description %]</td> |
47 |
<td> |
|
|
48 |
[% SWITCH account.accounttype %] |
49 |
[% CASE 'Pay' %]Payment,thanks |
50 |
[% CASE 'Pay00' %]Payment,thanks (cash via SIP2) |
51 |
[% CASE 'Pay01' %]Payment,thanks (VISA via SIP2) |
52 |
[% CASE 'Pay02' %]Payment,thanks (credit card via SIP2) |
53 |
[% CASE 'N' %]New Card |
54 |
[% CASE 'F' %]Fine |
55 |
[% CASE 'A' %]Account management fee |
56 |
[% CASE 'M' %]Sundry |
57 |
[% CASE 'L' %]Lost Item |
58 |
[% CASE 'W' %]Writeoff |
59 |
[% CASE %][% account.accounttype %] |
60 |
[%- END -%] |
61 |
[%- IF account.description %], [% account.description %][% END %] |
62 |
</td> |
48 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
63 |
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td> |
49 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> |
64 |
[% IF ( account.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amountoutstanding %]</td> |
50 |
</tr> |
65 |
</tr> |