Bug 5917 : Swapping templates over
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / printfeercpt.tt
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         window.print();
8         window.close();
9 </script>
10 </head>
11 <body>
12
13 <div id="receipt">
14 <!-- The table with the account items -->
15 <table>
16 [% IF ( LibraryName ) %]
17  <tr>
18         <th colspan=3 class="centerednames">
19                 <h3>[% LibraryName %]</h3>
20         </th>
21  </tr>
22 [% END %]
23  <tr>
24         <th colspan=3 class="centerednames">
25                 <h2><u>Fee Receipt</u></h2>
26         </th>
27  </tr>
28  <tr>
29         <th colspan=3 class="centerednames">
30                 [% IF ( branchname ) %]<h2>[% branchname %]</h2>[% END %]
31         </th>
32  </tr>
33  <tr>
34         <th colspan=3 >
35                 Received with thanks from  [% firstname %] [% surname %] <br />
36                 Card Number : [% cardnumber %]<br />
37         </th>
38  </tr>
39   <tr>
40         <th>Date</th>
41     <th>Description of charges</th>
42     <th>Amount</th>
43  </tr>
44
45   [% FOREACH account IN accounts %]
46 <tr class="highlight">
47       <td>[% account.date %]</td>
48       <td>[% account.description %]</td>
49       [% IF ( account.amountcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% account.amount %]</td>
50     </tr>
51
52   [% END %]
53 <tfoot>
54   <tr>
55     <td colspan="2">Total outstanding dues as on date : </td>
56     [% IF ( totalcredit ) %]<td class="credit">[% ELSE %]<td class="debit">[% END %][% total %]</td>
57   </tr>
58   </tfoot>
59 </table>
60 </div>
61 [% INCLUDE 'intranet-bottom.inc' %]