Koha/koha-tmpl/intranet-tmpl/prog/en/modules/members/printinvoice.tmpl
2010-11-18 15:29:04 +13:00

61 lines
1.9 KiB
Cheetah

<!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
<title>Print Receipt for <!-- TMPL_VAR NAME="cardnumber" --></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/printreceiptinvoice.css" />
<script language="javascript">
window.print();
window.close();
</script>
</head>
<body>
<div id="receipt">
<!-- The table with the account items -->
<table>
<!-- TMPL_IF NAME="LibraryName" -->
<tr>
<th colspan=3 class="centerednames">
<h3><!-- TMPL_VAR name="LibraryName" --></h3>
</th>
</tr>
<!-- /TMPL_IF -->
<tr>
<th colspan=3 class="centerednames">
<h2><u>INVOICE</u></h2>
</th>
</tr>
<tr>
<th colspan=3 class="centerednames">
<!-- TMPL_IF NAME="branchname" --><h2><!-- TMPL_VAR NAME="branchname" --></h2><!-- /TMPL_IF -->
</th>
</tr>
<tr>
<th colspan=3 >
Bill To: <!-- TMPL_VAR NAME="firstname"> <!-- TMPL_VAR NAME="surname"> <br />
Card Number: <!-- TMPL_VAR NAME="cardnumber" --><br />
</th>
</tr>
<tr>
<th>Date</th>
<th>Description of charges</th>
<th style="text-align:right;">Amount</th>
</tr>
<!-- TMPL_LOOP NAME="accounts" -->
<tr class="highlight">
<td><!-- TMPL_VAR NAME="date" --></td>
<td><!-- TMPL_VAR NAME="description" --></td>
<!-- TMPL_IF NAME="amountcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="amount" --></td>
</tr>
<!-- /TMPL_LOOP -->
<tfoot>
<tr>
<td colspan="2">Total outstanding dues as on date: </td>
<!-- TMPL_IF NAME="totalcredit" --><td class="credit"><!-- TMPL_ELSE --><td class="debit"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="total" --></td>
</tr>
</tfoot>
</table>
</div>
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->