Bug 4440: Revised combined patch to print fee receipts and invoices
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / printfeercpt.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Print Receipt for <!-- TMPL_VAR NAME="cardnumber" --></title>
3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4 <link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
5 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="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  <tr>
17         <th colspan=3 class="centerednames">
18                 <h3><!-- TMPL_VAR name="LibraryName" --></h3>
19         </th>
20  </tr>
21  <tr>
22         <th colspan=3 class="centerednames">
23                 <h2><u>Fee Receipt</u></h2>
24         </th>
25  </tr>
26  <tr>
27         <th colspan=3 class="centerednames">
28                 <!-- TMPL_IF NAME="branchname" --><h2><!-- TMPL_VAR NAME="branchname" --></h2><!-- /TMPL_IF -->
29         </th>
30  </tr>
31  <tr>
32         <th colspan=3 >
33                 Received with thanks from  <!-- TMPL_VAR NAME="firstname"> <!-- TMPL_VAR NAME="surname"> <br />
34                 Card Number : <!-- TMPL_VAR NAME="cardnumber" --><br />
35         </th>
36  </tr>
37   <tr>
38         <th>Date</th>
39     <th>Description of charges</th>
40     <th>Amount</th>
41  </tr>
42
43   <!-- TMPL_LOOP NAME="accounts" -->
44 <tr class="highlight">
45       <td><!-- TMPL_VAR NAME="date" --></td>
46       <td><!-- TMPL_VAR NAME="description" --></td>
47       <!-- TMPL_IF NAME="amountcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="amount" --></td>
48     </tr>
49
50   <!-- /TMPL_LOOP -->
51 <tfoot>
52   <tr>
53     <td colspan="2">Total outstanding dues as on date : </td>
54     <!-- TMPL_IF NAME="totalcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="total" --></td>
55   </tr>
56   </tfoot>
57 </table>
58 </div>
59 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->