View | Details | Raw Unified | Return to bug 12165
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-account.tt (-4 / +18 lines)
Lines 48-55 Link Here
48
                                [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %]
48
                                [% FOREACH ACCOUNT_LINE IN ACCOUNT_LINES %]
49
                                    [% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
49
                                    [% IF ( ACCOUNT_LINE.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
50
                                        <td>[% ACCOUNT_LINE.date | $KohaDates %]</td>
50
                                        <td>[% ACCOUNT_LINE.date | $KohaDates %]</td>
51
                                        <td>[% ACCOUNT_LINE.description %]
51
                                        <td>
52
                                        [% IF ( ACCOUNT_LINE.title ) %][% ACCOUNT_LINE.title |html %][% END %]</td>
52
                                          [% SWITCH ACCOUNT_LINE.accounttype %]
53
                                            [% CASE 'Pay' %]Payment,thanks
54
                                            [% CASE 'Pay00' %]Payment,thanks (cash via SIP2)
55
                                            [% CASE 'Pay01' %]Payment,thanks (VISA via SIP2)
56
                                            [% CASE 'Pay02' %]Payment,thanks (credit card via SIP2)
57
                                            [% CASE 'N' %]New Card
58
                                            [% CASE 'F' %]Fine
59
                                            [% CASE 'A' %]Account management fee
60
                                            [% CASE 'M' %]Sundry
61
                                            [% CASE 'L' %]Lost Item
62
                                            [% CASE 'W' %]Writeoff
63
                                            [% CASE %][% ACCOUNT_LINE.accounttype %]
64
                                          [%- END -%]
65
                                          [%- IF ACCOUNT_LINE.description %], [% ACCOUNT_LINE.description %][% END %]
66
                                          [% IF line.title %]([% line.title |html_entity %])[% END %]
67
                                        </td>
53
                                        [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
68
                                        [% IF ( ACCOUNT_LINE.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amount %]</td>
54
                                        [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
69
                                        [% IF ( ACCOUNT_LINE.amountoutstandingcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% ACCOUNT_LINE.amountoutstanding %]</td>
55
                                    </tr>
70
                                    </tr>
Lines 67-70 Link Here
67
</div> <!-- / .main -->
82
</div> <!-- / .main -->
68
83
69
[% INCLUDE 'opac-bottom.inc' %]
84
[% INCLUDE 'opac-bottom.inc' %]
70
[% BLOCK jsinclude %][% END %]
85
[% BLOCK jsinclude %][% END %]
71
- 

Return to bug 12165