Merge remote branch 'kc/new/enh/bug_4421' into kcmaster
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / printinvoice.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_IF NAME="IntranetFavicon" --><!-- TMPL_VAR NAME="IntranetFavicon" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico<!-- /TMPL_IF -->" 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 <!-- TMPL_IF NAME="LibraryName" -->
17   <tr>
18         <th colspan=3 class="centerednames">
19                 <h3><!-- TMPL_VAR name="LibraryName" --></h3>
20         </th>
21   </tr>
22 <!-- /TMPL_IF -->
23   <tr>
24         <th colspan=3 class="centerednames">
25                 <h2><u>INVOICE</u></h2>
26         </th>
27   </tr>
28   <tr>
29         <th colspan=3 class="centerednames">
30                 <!-- TMPL_IF NAME="branchname" --><h2><!-- TMPL_VAR NAME="branchname" --></h2><!-- /TMPL_IF -->
31         </th>
32   </tr>
33   <tr>
34         <th colspan=3 >
35                 Bill To: <!-- TMPL_VAR NAME="firstname"> <!-- TMPL_VAR NAME="surname"> <br />
36                 Card Number: <!-- TMPL_VAR NAME="cardnumber" --><br />
37         </th>
38   </tr>
39   <tr>
40         <th>Date</th>
41     <th>Description of charges</th>
42     <th style="text-align:right;">Amount</th>
43  </tr>
44
45   <!-- TMPL_LOOP NAME="accounts" -->
46 <tr class="highlight">
47       <td><!-- TMPL_VAR NAME="date" --></td>
48       <td><!-- TMPL_VAR NAME="description" --></td>
49       <!-- TMPL_IF NAME="amountcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="amount" --></td>
50     </tr>
51
52   <!-- /TMPL_LOOP -->
53 <tfoot>
54   <tr>
55     <td colspan="2">Total outstanding dues as on date: </td>
56     <!-- TMPL_IF NAME="totalcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="total" --></td>
57   </tr>
58   </tfoot>
59 </table>
60 </div>
61 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->