8a4195658d
and will print a SHORT SLIP of today's checkouts only. I also enhanced the normal slip to print the overdues separately as well as today's checkouts. There is another button on the print CIRC menu. Easily another quick key can be added, one for the regular slip and one for the short slip, i.e. today's only. Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
59 lines
2.6 KiB
Cheetah
59 lines
2.6 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/print.css" />
|
|
<script language="javascript">
|
|
window.print();
|
|
window.close();
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div id="receipt">
|
|
|
|
<h3><!-- TMPL_VAR name="LibraryName" --></h3>
|
|
<!-- TMPL_IF NAME="branchname" --><!-- TMPL_VAR NAME="branchname" --><br /><!-- /TMPL_IF -->
|
|
Checked out to <a href="/cgi-bin/koha/circ/circulation.pl?findborrower=<!-- TMPL_VAR NAME="cardnumber">"><!-- TMPL_VAR NAME="cardnumber" --></a><br />
|
|
|
|
<!-- TMPL_VAR NAME="todaysdate" --><br />
|
|
|
|
<!-- TMPL_IF name="quickslip" -->
|
|
<h4>Checked Out Today</h4>
|
|
<!-- TMPL_loop name="issueloop" -->
|
|
<!-- TMPL_IF name="red" --><!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="today" -->
|
|
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><br />
|
|
Barcode: <!-- TMPL_VAR NAME="barcode" --><br />
|
|
Date due: <!-- TMPL_VAR NAME="date_due" --><br /></p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
|
|
<!-- TMPL_ELSE -->
|
|
<h4>Checked Out</h4>
|
|
<!-- TMPL_loop name="issueloop" -->
|
|
<!-- TMPL_IF name="red" --><!-- TMPL_ELSE -->
|
|
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><br />
|
|
Barcode: <!-- TMPL_VAR NAME="barcode" --><br />
|
|
Date due: <!-- TMPL_VAR NAME="date_due" --><br /></p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="quickslip" -->
|
|
<!-- TMPL_ELSE -->
|
|
<!-- TMPL_IF name="overdues_exist" -->
|
|
<h4>Overdues</h4>
|
|
<!-- TMPL_LOOP name="issueloop" -->
|
|
<!-- TMPL_IF name="red" -->
|
|
<p><a href="/cgi-bin/koha/catalogue/detail.pl?item=<!-- TMPL_VAR NAME="itemnumber" -->&biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->&bi=<!-- TMPL_VAR NAME="biblioitemnumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><br />
|
|
Barcode: <!-- TMPL_VAR NAME="barcode" --><br />
|
|
Date due: <!-- TMPL_VAR NAME="date_due" --></p>
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_LOOP -->
|
|
<!-- /TMPL_IF -->
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->
|