1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Print Receipt for [% cardnumber %]</title>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <link rel="shortcut icon" href="[% IF ( IntranetFavicon ) %][% IntranetFavicon %][% ELSE %][% themelang %]/includes/favicon.ico[% END %]" type="image/x-icon" />
5 <link rel="stylesheet" type="text/css" href="[% themelang %]/css/printreceiptinvoice.css" />
6 <script language="javascript">
7 function printThenClose() {
13 <body onload="printThenClose();">
16 <!-- The table with the account items -->
18 [% IF ( LibraryName ) %]
20 <th colspan=3 class="centerednames">
21 <h3>[% LibraryName %]</h3>
26 <th colspan=3 class="centerednames">
27 <h2><u>Fee Receipt</u></h2>
31 <th colspan=3 class="centerednames">
32 [% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
37 Received with thanks from [% firstname %] [% surname %] <br />
38 Card Number : [% cardnumber %]<br />
43 <th>Description of charges</th>
47 [% FOREACH account IN accounts %]
48 <tr class="highlight">
49 <td>[% account.date %]</td>
50 <td>[% account.description %]</td>
51 [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
57 <td colspan="2">Total outstanding dues as on date : </td>
58 [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
63 [% INCLUDE 'intranet-bottom.inc' %]