Koha/koha-tmpl/opac-tmpl/prog/en/modules/sco/receipt.tmpl
Joshua Ferraro a0b220f855 much-awaited web-based self-checkout system
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
2007-11-25 23:45:52 -06:00

53 lines
960 B
Cheetah

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> RECEIPT </title>
<script language="JavaScript" type="text/javascript">
x = 0;
function callPrint()
{
while (x == 0)
{
self.print();
javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1';
x = 1;
}
}
function closeNow()
{
if (x == 1)
{
setTimeout('self.close()',1000);
}
}
</script>
</head>
<body onLoad="callPrint(); closeNow();">
<!-- TMPL_VAR name="branchname" --><br><br>
<!-- TMPL_VAR name="cardnumber" --><br>
<!-- begin code Mamata-->
<!-- TMPL_IF name="todayissues" --><br>
<p><b>Today's issues</b></p>
<!-- TMPL_LOOP name="todayissues" --><br>
<!-- TMPL_VAR NAME="title" --><br>
<!-- TMPL_VAR NAME="author" --><br>
<!-- TMPL_VAR NAME="dd" --><br>
<!-- TMPL_VAR NAME="barcode" --><br>
<!-- /TMPL_LOOP -->
<!-- /TMPL_IF -->
<!-- end code Mamata-->
</body>
</html>