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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-6 / +6 lines)
Lines 117-125 Link Here
117
[% END %]
117
[% END %]
118
118
119
[% FOREACH r IN relatives %]
119
[% FOREACH r IN relatives %]
120
    <h3 id="g[% r.patron.id %]">[% r.patron.firstname %] [% r.patron.surname %]'s fines and charges</h3>
120
    <h3 id="g[% r.patron.id | html %]">[% r.patron.firstname | html %] [% r.patron.surname | html %]'s fines and charges</h3>
121
121
122
    <table class="table table-bordered table-striped" id="finestable-[% r.id %]">
122
    <table class="table table-bordered table-striped" id="finestable-[% r.id | html %]">
123
        <thead>
123
        <thead>
124
            <tr>
124
            <tr>
125
                <th class="title-string">Date</th>
125
                <th class="title-string">Date</th>
Lines 134-145 Link Here
134
            [% FOREACH a IN r.accountlines %]
134
            [% FOREACH a IN r.accountlines %]
135
                [% SET account_sum = account_sum + a.amountoutstanding %]
135
                [% SET account_sum = account_sum + a.amountoutstanding %]
136
                <tr>
136
                <tr>
137
                    <td><span title="[% a.date %]">[% a.date | $KohaDates %]</span></td>
137
                    <td><span title="[% a.date | html %]">[% a.date | $KohaDates %]</span></td>
138
                    <td>
138
                    <td>
139
                        [% PROCESS account_type_description account=a %]
139
                        [% PROCESS account_type_description account=a %]
140
                        [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) %][% END %]
140
                        [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) | html %][% END %]
141
                        [%- IF a.description %], [% a.description %][% END %]
141
                        [%- IF a.description %], [% a.description | html %][% END %]
142
                        [% IF a.itemnumber %]([% a.item.biblio.title %])[% END %]
142
                        [% IF a.itemnumber %]([% a.item.biblio.title | html %])[% END %]
143
                    </td>
143
                    </td>
144
                    [% IF ( a.amount < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amount | $Price %]</td>
144
                    [% IF ( a.amount < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amount | $Price %]</td>
145
                    [% IF ( a.amountoutstanding < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amountoutstanding | $Price %]</td>
145
                    [% IF ( a.amountoutstanding < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amountoutstanding | $Price %]</td>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-3 / +2 lines)
Lines 424-431 Link Here
424
                                        <tbody>
424
                                        <tbody>
425
                                            [% FOREACH r IN relatives_with_fines %]
425
                                            [% FOREACH r IN relatives_with_fines %]
426
                                            <tr>
426
                                            <tr>
427
                                                <td>[% r.firstname %] [% r.surname %] currently owes fines and charges amounting to:</td>
427
                                                <td>[% r.firstname | html %] [% r.surname | html %] currently owes fines and charges amounting to:</td>
428
                                                <td><a href="/cgi-bin/koha/opac-account.pl#g[% r.id %]">[% r.account.balance | $Price %]</a></td>
428
                                                <td><a href="/cgi-bin/koha/opac-account.pl#g[% r.id | uri %]">[% r.account.balance | $Price %]</a></td>
429
                                            </tr>
429
                                            </tr>
430
                                            [% END %]
430
                                            [% END %]
431
                                        </tbody>
431
                                        </tbody>
432
- 

Return to bug 20691