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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-8 / +2 lines)
Lines 29-35 Link Here
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
                        [% PROCESS account_type_description account=ACCOUNT_LINE %]
31
                        [% PROCESS account_type_description account=ACCOUNT_LINE %]
32
                        [%- PROCESS account_status_description account=ACCOUNT_LINE -%]
33
                    </td>
32
                    </td>
34
                    <td>
33
                    <td>
35
                        [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %]
34
                        [%- IF ACCOUNT_LINE.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', ACCOUNT_LINE.payment_type, 1) | html %][% END %]
Lines 59-65 Link Here
59
                    <td><span title="[% outstanding_credit.date | html %]">[% outstanding_credit.date | $KohaDates %]</span></td>
58
                    <td><span title="[% outstanding_credit.date | html %]">[% outstanding_credit.date | $KohaDates %]</span></td>
60
                    <td>
59
                    <td>
61
                        [% PROCESS account_type_description account=outstanding_credit %]
60
                        [% PROCESS account_type_description account=outstanding_credit %]
62
                        [%- PROCESS account_status_description account=outstanding_credit -%]
63
                    </td>
61
                    </td>
64
                    <td>
62
                    <td>
65
                        [%- IF outstanding_credit.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', outstanding_credit.payment_type, 1) | html %][% END %]
63
                        [%- IF outstanding_credit.payment_type %][% AuthorisedValues.GetByCode('PAYMENT_TYPE', outstanding_credit.payment_type, 1) | html %][% END %]
Lines 198-208 Link Here
198
           [%- CASE                    -%][% account.debit_type.description | html %]
196
           [%- CASE                    -%][% account.debit_type.description | html %]
199
       [%- END -%]
197
       [%- END -%]
200
    [%- END -%]
198
    [%- END -%]
201
    [%- PROCESS account_status_description account=account -%]
202
    </span>
203
[%- END -%]
204
205
[%- BLOCK account_status_description -%]
206
    [%- SWITCH account.status -%]
199
    [%- SWITCH account.status -%]
207
        [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
200
        [%- CASE 'UNRETURNED' -%]<span> (Accruing)</span>
208
        [%- CASE 'RETURNED'   -%]<span> (Returned)</span>
201
        [%- CASE 'RETURNED'   -%]<span> (Returned)</span>
Lines 212-215 Link Here
212
        [%- CASE 'LOST'       -%]<span> (Lost)</span>
205
        [%- CASE 'LOST'       -%]<span> (Lost)</span>
213
        [%- CASE              -%]
206
        [%- CASE              -%]
214
    [%- END -%]
207
    [%- END -%]
208
    </span>
215
[%- END -%]
209
[%- END -%]
216
- 
210

Return to bug 24486