Bug 22761: Remove hard coded version from template

Signed-off-by: Michal Denar <black23@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2019-04-23 14:40:08 -04:00 committed by Nick Clemens
parent d1a22a42be
commit 86079b5823

View file

@ -18,64 +18,7 @@
<body id="pat_printfeercpt" class="pat">
<div id="receipt">
[% IF letter %]
[% letter.content | evaltt %]
[% ELSE %]
<!-- The table with the account items -->
<table>
[% IF ( LibraryName ) %]
<tr>
<th colspan=4 class="centerednames">
<h3>[% LibraryName | html %]</h3>
</th>
</tr>
[% END %]
<tr>
<th colspan=4 class="centerednames">
<h2><u>Fee receipt</u></h2>
</th>
</tr>
<tr>
<th colspan=4 class="centerednames">
<h2>[% Branches.GetName( patron.branchcode ) | html %]</h2>
</th>
</tr>
<tr>
<th colspan=4 >
Received with thanks from [% patron.firstname | html %] [% patron.surname | html %] <br />
Card number: [% patron.cardnumber | html %]<br />
</th>
</tr>
<tr>
<th>Date</th>
<th>Description of charges</th>
<th>Note</th>
<th>Amount</th>
</tr>
[% FOREACH account IN accounts %]
<tr class="highlight">
<td>[% account.date | $KohaDates %]</td>
<td>
[% PROCESS account_type_description account=account %]
[%- IF account.description %], [% account.description | html %][% END %]
</td>
<td>[% account.note | html %]</td>
[% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount | $Price %]</td>
</tr>
[% END %]
<tfoot>
<tr>
<td colspan="3">Total outstanding dues as on date: </td>
[% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total | $Price %]</td>
</tr>
</tfoot>
</table>
<!-- / The table with the account items -->
[% END %]
</div>
[% MACRO jsinclude BLOCK %]