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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/account-table.inc (-7 / +7 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-140 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
                        [% SWITCH a.accounttype %]
139
                        [% SWITCH a.accounttype %]
140
                        [% CASE 'Pay' %]Payment, thanks
140
                        [% CASE 'Pay' %]Payment, thanks
Lines 157-167 Link Here
157
                        [% CASE 'WO' %]Writeoff
157
                        [% CASE 'WO' %]Writeoff
158
                        [% CASE 'C' %]Credit
158
                        [% CASE 'C' %]Credit
159
                        [% CASE 'CR' %]Credit
159
                        [% CASE 'CR' %]Credit
160
                        [% CASE %][% a.accounttype %]
160
                        [% CASE %][% a.accounttype | html %]
161
                        [%- END -%]
161
                        [%- END -%]
162
                        [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) %][% END %]
162
                        [%- IF a.payment_type %], [% AuthorisedValues.GetByCode('PAYMENT_TYPE', a.payment_type, 1) | html %][% END %]
163
                        [%- IF a.description %], [% a.description %][% END %]
163
                        [%- IF a.description %], [% a.description | html %][% END %]
164
                        [% IF a.itemnumber %]([% a.item.biblio.title %])[% END %]
164
                        [% IF a.itemnumber %]([% a.item.biblio.title | html %])[% END %]
165
                    </td>
165
                    </td>
166
                    [% IF ( a.amount < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amount | $Price %]</td>
166
                    [% IF ( a.amount < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amount | $Price %]</td>
167
                    [% IF ( a.amountoutstanding < 0 ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% a.amountoutstanding | $Price %]</td>
167
                    [% 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-memberentry.tt (-1 / +1 lines)
Lines 99-105 Link Here
99
                [% IF failed_captcha %]
99
                [% IF failed_captcha %]
100
                    <div class="alert">You typed in the wrong characters in the box before submitting. Please try again.</div>
100
                    <div class="alert">You typed in the wrong characters in the box before submitting. Please try again.</div>
101
                [% END %]
101
                [% END %]
102
                
102
103
                [% IF has_guarantor_flag && !Koha.Preference('OPACPrivacy') && ( Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') || Koha.Preference('AllowPatronToSetFinesVisibilityForGuarantor') ) %]
103
                [% IF has_guarantor_flag && !Koha.Preference('OPACPrivacy') && ( Koha.Preference('AllowPatronToSetCheckoutsVisibilityForGuarantor') || Koha.Preference('AllowPatronToSetFinesVisibilityForGuarantor') ) %]
104
                    <fieldset class="rows" id="memberentry_privacy">
104
                    <fieldset class="rows" id="memberentry_privacy">
105
                        <legend id="privacy_legend">Privacy</legend>
105
                        <legend id="privacy_legend">Privacy</legend>
(-)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 | html %]">[% r.account.balance | $Price %]</a></td>
429
                                            </tr>
429
                                            </tr>
430
                                            [% END %]
430
                                            [% END %]
431
                                        </tbody>
431
                                        </tbody>
432
- 

Return to bug 20691