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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-49 / +29 lines)
Lines 28-57 Link Here
28
                    [% END %]
28
                    [% END %]
29
                    <td><span title="[% ACCOUNT_LINE.date | html %]">[% ACCOUNT_LINE.date | $KohaDates %]</span></td>
29
                    <td><span title="[% ACCOUNT_LINE.date | html %]">[% ACCOUNT_LINE.date | $KohaDates %]</span></td>
30
                    <td>
30
                    <td>
31
                        [% SWITCH ACCOUNT_LINE.accounttype %]
31
                        [% PROCESS account_type_description account=ACCOUNT_LINE %]
32
                        [% CASE 'Pay' %]Payment
33
                        [% CASE 'Pay00' %]Payment (cash via SIP2)
34
                        [% CASE 'Pay01' %]Payment (VISA via SIP2)
35
                        [% CASE 'Pay02' %]Payment (credit card via SIP2)
36
                        [% CASE 'VOID' %]Voided
37
                        [% CASE 'N' %]New card
38
                        [% CASE 'OVERDUE' %]Fine
39
                        [% CASE 'A' %]Account management fee
40
                        [% CASE 'M' %]Sundry
41
                        [% CASE 'L' %]Lost item
42
                        [% CASE 'W' %]Writeoff
43
                        [% CASE 'HE' %]Hold waiting too long
44
                        [% CASE 'Rent' %]Rental fee
45
                        [% CASE 'FOR' %]Forgiven
46
                        [% CASE 'LR' %]Lost item fee refund
47
                        [% CASE 'PF' %]Lost item processing fee
48
                        [% CASE 'PAY' %]Payment
49
                        [% CASE 'WO' %]Writeoff
50
                        [% CASE 'C' %]Credit
51
                        [% CASE 'CR' %]Credit
52
                        [%-CASE 'Res' %]Hold fee
53
                        [% CASE %][% ACCOUNT_LINE.accounttype | html %]
54
                        [%- END -%]
55
                        [%- PROCESS account_status_description account=ACCOUNT_LINE -%]
32
                        [%- PROCESS account_status_description account=ACCOUNT_LINE -%]
56
                    </td>
33
                    </td>
57
                    <td>
34
                    <td>
Lines 81-110 Link Here
81
                    [% IF ENABLE_OPAC_PAYMENTS %]<td></td>[% END %]
58
                    [% IF ENABLE_OPAC_PAYMENTS %]<td></td>[% END %]
82
                    <td><span title="[% outstanding_credit.date | html %]">[% outstanding_credit.date | $KohaDates %]</span></td>
59
                    <td><span title="[% outstanding_credit.date | html %]">[% outstanding_credit.date | $KohaDates %]</span></td>
83
                    <td>
60
                    <td>
84
                        [% SWITCH outstanding_credit.accounttype %]
61
                        [% PROCESS account_type_description account=outstanding_credit %]
85
                        [% CASE 'Pay' %]Payment
86
                        [% CASE 'Pay00' %]Payment (cash via SIP2)
87
                        [% CASE 'Pay01' %]Payment (VISA via SIP2)
88
                        [% CASE 'Pay02' %]Payment (credit card via SIP2)
89
                        [% CASE 'VOID' %]Voided
90
                        [% CASE 'N' %]New card
91
                        [% CASE 'OVERDUE' %]Fine
92
                        [% CASE 'A' %]Account management fee
93
                        [% CASE 'M' %]Sundry
94
                        [% CASE 'L' %]Lost item
95
                        [% CASE 'W' %]Writeoff
96
                        [% CASE 'HE' %]Hold waiting too long
97
                        [% CASE 'Rent' %]Rental fee
98
                        [% CASE 'FOR' %]Forgiven
99
                        [% CASE 'LR' %]Lost item fee refund
100
                        [% CASE 'PF' %]Lost item processing fee
101
                        [% CASE 'PAY' %]Payment
102
                        [% CASE 'WO' %]Writeoff
103
                        [% CASE 'C' %]Credit
104
                        [% CASE 'CR' %]Credit
105
                        [%-CASE 'Res' %]Hold fee
106
                        [% CASE %][% outstanding_credit.accounttype | html %]
107
                        [%- END -%]
108
                        [%- PROCESS account_status_description account=outstanding_credit -%]
62
                        [%- PROCESS account_status_description account=outstanding_credit -%]
109
                    </td>
63
                    </td>
110
                    <td>
64
                    <td>
Lines 162-167 Link Here
162
    <h4>You have no fines or charges</h4>
116
    <h4>You have no fines or charges</h4>
163
[% END %]
117
[% END %]
164
118
119
[%- BLOCK account_type_description -%]
120
    [%- SWITCH account.accounttype -%]
121
        [%- CASE 'Pay'     -%]<span>Payment
122
        [%- CASE 'Pay00'   -%]<span>Payment (cash via SIP2)
123
        [%- CASE 'Pay01'   -%]<span>Payment (VISA via SIP2)
124
        [%- CASE 'Pay02'   -%]<span>Payment (credit card via SIP2)
125
        [%- CASE 'N'       -%]<span>New card
126
        [%- CASE 'OVERDUE' -%]<span>Fine
127
        [%- CASE 'A'       -%]<span>Account management fee
128
        [%- CASE 'M'       -%]<span>Sundry
129
        [%- CASE 'L'       -%]<span>Lost item
130
        [%- CASE 'W'       -%]<span>Writeoff
131
        [%- CASE 'HE'      -%]<span>Hold waiting too long
132
        [%- CASE 'Rent'    -%]<span>Rental fee
133
        [%- CASE 'FOR'     -%]<span>Forgiven
134
        [%- CASE 'LR'      -%]<span>Lost item fee refund
135
        [%- CASE 'PF'      -%]<span>Lost item processing fee
136
        [%- CASE 'PAY'     -%]<span>Payment
137
        [%- CASE 'WO'      -%]<span>Writeoff
138
        [%- CASE 'C'       -%]<span>Credit
139
        [%- CASE 'CR'      -%]<span>Credit
140
        [%- CASE 'Res'     -%]<span>Hold fee
141
        [%- CASE           -%]<span>[% account.accounttype | html %]
142
    [%- END -%]
143
    [%- PROCESS account_status_description account=account -%]</span>
144
[%- END -%]
145
165
[%- BLOCK account_status_description -%]
146
[%- BLOCK account_status_description -%]
166
    [%- SWITCH account.status -%]
147
    [%- SWITCH account.status -%]
167
        [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
148
        [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
168
- 

Return to bug 23115