637cf26045
This patch adds two sysprefs: OpacFavicon IntranetFavicon The two sysprefs take full URLs to an alternate favicon.ico file for the OPAC and Staff Client, respectively. Leaving them blank will use the favicon.ico file that is included with Koha. Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com> Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
61 lines
2 KiB
Cheetah
61 lines
2 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_IF NAME="IntranetFavicon" --><!-- TMPL_VAR NAME="IntranetFavicon" --><!-- TMPL_ELSE --><!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico<!-- /TMPL_IF -->" 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" -->
|