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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/accounts.inc (-7 / +6 lines)
Lines 1-16 Link Here
1
[%- BLOCK account_type_description -%]
1
[%- BLOCK account_type_description -%]
2
    <span>
2
    <span>
3
        [%- IF account.credit_type_code -%]
3
        [%- IF account.credit_type_code -%]
4
            [%- PROCESS credit_type_description credit_type_code = account.credit_type_code account=account -%]
4
            [%- PROCESS credit_type_description account=account -%]
5
        [%- ELSIF account.debit_type_code -%]
5
        [%- ELSIF account.debit_type_code -%]
6
            [%- PROCESS debit_type_description debit_type_code = account.debit_type_code account=account -%]
6
            [%- PROCESS debit_type_description account=account -%]
7
        [%- END -%]
7
        [%- END -%]
8
        [%- PROCESS account_status_description account=account -%]
8
        [%- PROCESS account_status_description account=account -%]
9
    </span>
9
    </span>
10
[%- END -%]
10
[%- END -%]
11
11
12
[%- BLOCK debit_type_description -%]
12
[%- BLOCK debit_type_description -%]
13
    [%- SWITCH debit_type_code -%]
13
    [%- SWITCH account.debit_type_code -%]
14
14
15
    [%- CASE 'ACCOUNT' -%]
15
    [%- CASE 'ACCOUNT' -%]
16
        <span>Account creation fee</span>
16
        <span>Account creation fee</span>
Lines 49-62 Link Here
49
            >[%- IF account && account.debit_type && account.debit_type.description -%]
49
            >[%- IF account && account.debit_type && account.debit_type.description -%]
50
                [% account.debit_type.description | html %]
50
                [% account.debit_type.description | html %]
51
            [%- ELSE -%]
51
            [%- ELSE -%]
52
                [% debit_type_code | html %]
52
                [% account.debit_type_code | html %]
53
            [%- END -%]
53
            [%- END -%]
54
        </span>
54
        </span>
55
    [%- END -%]
55
    [%- END -%]
56
[%- END -%]
56
[%- END -%]
57
57
58
[%- BLOCK credit_type_description -%]
58
[%- BLOCK credit_type_description -%]
59
    [%- SWITCH credit_type_code -%]
59
    [%- SWITCH account.credit_type_code -%]
60
60
61
    [%- CASE 'CANCELLATION' -%]
61
    [%- CASE 'CANCELLATION' -%]
62
        <span>Cancelled charge</span>
62
        <span>Cancelled charge</span>
Lines 85-91 Link Here
85
            >[%- IF account && account.credit_type && account.credit_type.description -%]
85
            >[%- IF account && account.credit_type && account.credit_type.description -%]
86
                [% account.credit_type.description | html %]
86
                [% account.credit_type.description | html %]
87
            [%- ELSE -%]
87
            [%- ELSE -%]
88
                [% credit_type_code | html %]
88
                [% account.credit_type_code | html %]
89
            [%- END -%]
89
            [%- END -%]
90
        </span>
90
        </span>
91
    [%- END -%]
91
    [%- END -%]
92
- 

Return to bug 40836