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