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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/accounts.inc (-21 / +22 lines)
Lines 1-27 Link Here
1
[%- BLOCK account_type_description -%]
1
[%- BLOCK account_type_description -%]
2
    [%- SWITCH account.accounttype -%]
2
    [%- SWITCH account.accounttype -%]
3
        [%- CASE 'Pay'     -%]<span>Payment</span>
3
        [%- CASE 'Pay'     -%]<span>Payment
4
        [%- CASE 'Pay00'   -%]<span>Payment (cash via SIP2)</span>
4
        [%- CASE 'Pay00'   -%]<span>Payment (cash via SIP2)
5
        [%- CASE 'Pay01'   -%]<span>Payment (VISA via SIP2)</span>
5
        [%- CASE 'Pay01'   -%]<span>Payment (VISA via SIP2)
6
        [%- CASE 'Pay02'   -%]<span>Payment (credit card via SIP2)</span>
6
        [%- CASE 'Pay02'   -%]<span>Payment (credit card via SIP2)
7
        [%- CASE 'N'       -%]<span>New card</span>
7
        [%- CASE 'N'       -%]<span>New card
8
        [%- CASE 'OVERDUE' -%]<span>Fine[%- PROCESS account_status_description account=account -%]</span>
8
        [%- CASE 'OVERDUE' -%]<span>Fine
9
        [%- CASE 'A'       -%]<span>Account management fee</span>
9
        [%- CASE 'A'       -%]<span>Account management fee
10
        [%- CASE 'M'       -%]<span>Sundry</span>
10
        [%- CASE 'M'       -%]<span>Sundry
11
        [%- CASE 'L'       -%]<span>Lost item</span>
11
        [%- CASE 'L'       -%]<span>Lost item
12
        [%- CASE 'W'       -%]<span>Writeoff[%- PROCESS account_status_description account=account -%]</span>
12
        [%- CASE 'W'       -%]<span>Writeoff
13
        [%- CASE 'HE'      -%]<span>Hold waiting too long</span>
13
        [%- CASE 'HE'      -%]<span>Hold waiting too long
14
        [%- CASE 'Rent'    -%]<span>Rental fee</span>
14
        [%- CASE 'Rent'    -%]<span>Rental fee
15
        [%- CASE 'FOR'     -%]<span>Forgiven[%- PROCESS account_status_description account=account -%]</span>
15
        [%- CASE 'FOR'     -%]<span>Forgiven
16
        [%- CASE 'LR'      -%]<span>Lost item fee refund[%- PROCESS account_status_description account=account -%]</span>
16
        [%- CASE 'LR'      -%]<span>Lost item fee refund
17
        [%- CASE 'PF'      -%]<span>Lost item processing fee[%- PROCESS account_status_description account=account -%]</span>
17
        [%- CASE 'PF'      -%]<span>Lost item processing fee
18
        [%- CASE 'PAY'     -%]<span>Payment[%- PROCESS account_status_description account=account -%]</span>
18
        [%- CASE 'PAY'     -%]<span>Payment
19
        [%- CASE 'WO'      -%]<span>Writeoff[%- PROCESS account_status_description account=account -%]</span>
19
        [%- CASE 'WO'      -%]<span>Writeoff
20
        [%- CASE 'C'       -%]<span>Credit[%- PROCESS account_status_description account=account -%]</span>
20
        [%- CASE 'C'       -%]<span>Credit
21
        [%- CASE 'CR'      -%]<span>Credit[%- PROCESS account_status_description account=account -%]</span>
21
        [%- CASE 'CR'      -%]<span>Credit
22
        [%- CASE 'Res'     -%]<span>Hold fee</span>
22
        [%- CASE 'Res'     -%]<span>Hold fee
23
        [%- CASE           -%][% account.accounttype | html %]
23
        [%- CASE           -%]<span>[% account.accounttype | html %]
24
    [%- END -%]
24
    [%- END -%]
25
    [%- PROCESS account_status_description account=account -%]</span>
25
[%- END -%]
26
[%- END -%]
26
27
27
[%- BLOCK offset_type_description -%]
28
[%- BLOCK offset_type_description -%]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-9 / +9 lines)
Lines 35-57 Link Here
35
                        [% CASE 'Pay02' %]Payment (credit card via SIP2)
35
                        [% CASE 'Pay02' %]Payment (credit card via SIP2)
36
                        [% CASE 'VOID' %]Voided
36
                        [% CASE 'VOID' %]Voided
37
                        [% CASE 'N' %]New card
37
                        [% CASE 'N' %]New card
38
                        [% CASE 'OVERDUE' %]Fine[%- PROCESS account_status_description account=account -%]
38
                        [% CASE 'OVERDUE' %]Fine
39
                        [% CASE 'A' %]Account management fee
39
                        [% CASE 'A' %]Account management fee
40
                        [% CASE 'M' %]Sundry
40
                        [% CASE 'M' %]Sundry
41
                        [% CASE 'L' %]Lost item
41
                        [% CASE 'L' %]Lost item
42
                        [% CASE 'W' %]Writeoff[%- PROCESS account_status_description account=account -%]
42
                        [% CASE 'W' %]Writeoff
43
                        [% CASE 'HE' %]Hold waiting too long
43
                        [% CASE 'HE' %]Hold waiting too long
44
                        [% CASE 'Rent' %]Rental fee
44
                        [% CASE 'Rent' %]Rental fee
45
                        [% CASE 'FOR' %]Forgiven[%- PROCESS account_status_description account=account -%]
45
                        [% CASE 'FOR' %]Forgiven
46
                        [% CASE 'LR' %]Lost item fee refund[%- PROCESS account_status_description account=account -%]
46
                        [% CASE 'LR' %]Lost item fee refund
47
                        [% CASE 'PF' %]Lost item processing fee
47
                        [% CASE 'PF' %]Lost item processing fee
48
                        [% CASE 'PAY' %]Payment[%- PROCESS account_status_description account=account -%]
48
                        [% CASE 'PAY' %]Payment
49
                        [% CASE 'WO' %]Writeoff[%- PROCESS account_status_description account=account -%]
49
                        [% CASE 'WO' %]Writeoff
50
                        [% CASE 'C' %]Credit[%- PROCESS account_status_description account=account -%]
50
                        [% CASE 'C' %]Credit
51
                        [% CASE 'CR' %]Credit[%- PROCESS account_status_description account=account -%]
51
                        [% CASE 'CR' %]Credit
52
                        [%-CASE 'Res' %]Hold fee
52
                        [%-CASE 'Res' %]Hold fee
53
                        [% CASE %][% ACCOUNT_LINE.accounttype | html %]
53
                        [% CASE %][% ACCOUNT_LINE.accounttype | html %]
54
                        [%- END -%]
54
                        [%- END -%]
55
                        [%- PROCESS account_status_description account=ACCOUNT_LINE -%]
55
                    </td>
56
                    </td>
56
                    <td>
57
                    <td>
57
                        [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %]
58
                        [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %]
58
- 

Return to bug 22511