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> |