85092daa56
* prior to this commit, virtual shelvesn't did not function in the OPAC! Now they do, except for deletion from virtual shelves in list form * I've re-named 'Virtual Shelves' to 'Lists' as per our agreed upon convention * while vshelves aren't perfect yet, they're in enough of a working state for the RC1 now Signed-off-by: Joshua Ferraro <jmf@liblime.com>
141 lines
7.5 KiB
Cheetah
141 lines
7.5 KiB
Cheetah
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Koha Self Checkout</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
|
|
<link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
|
|
<script type="text/javascript" language="JavaScript">
|
|
<!-- Hide from old browsers
|
|
function openWindow(targeturl, windowname) {
|
|
newwin =
|
|
window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
|
|
}
|
|
function focusOnFirst (){
|
|
document.forms[1].elements[0].focus();
|
|
}
|
|
|
|
function abort(){
|
|
window.open("/cgi-bin/koha/sco/abort.pl","aborting","height=5,width=5");
|
|
}
|
|
// end hiding -->
|
|
</script>
|
|
</head>
|
|
<body onload="focusOnFirst();" onblur="self.focus();">
|
|
<!-- TMPL_IF name="loggedinusername" -->
|
|
<h3><!-- TMPL_VAR NAME="libraryname" --> Self Checkout System</h3>
|
|
|
|
<div id="main">
|
|
<div class="form">
|
|
<!-- TMPL_IF NAME="dbarred" -->
|
|
<div class="error"><h3>Sorry, checkout cannot proceed</h3>
|
|
There is a problem with your account. Please ask for help at the circulation desk.
|
|
<div id="abort"><form method="get" action="/cgi-bin/koha/sco/abort.pl">
|
|
<input type="submit" value="Please Click Here to Exit" class="complete" /></form></div>
|
|
</div>
|
|
<!-- /TMPL_IF --><!-- /TMPL_IF -->
|
|
|
|
|
|
|
|
<!-- TMPL_IF name="question" -->
|
|
<div class="error">
|
|
<h3>Issuing Question</h3>
|
|
<p>Attempting to issue <!-- TMPL_VAR name="title" -->
|
|
by <!-- TMPL_VAR name="author" --> to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->.</p>
|
|
<p><!-- TMPL_VAR name="question" --></p><form action="/cgi-bin/koha/sco/circulation.pl" method="get"><input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" /><input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->" /><input type="hidden" name="questionnumber" value="<!-- TMPL_VAR name="questionnumber" -->" /><input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" /><input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" /><input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" /><input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR name="stickyduedate" -->" /><input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" /><input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->"><!-- TMPL_LOOP NAME="responseloop" --><input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" /><!-- /TMPL_LOOP --><input type="hidden" name="answer" value="Y" /><input type="submit" value=" Yes " class="confirm"></form>
|
|
|
|
<form action="/cgi-bin/koha/sco/circulation.pl" method="get"><input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" /><input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->" /><input type="hidden" name="questionnumber" value="<!-- TMPL_VAR name="questionnumber" -->" /><input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" /><input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" /><input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" /><input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR name="stickyduedate" -->" /><input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" /><input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->" /><!-- TMPL_LOOP NAME="responseloop" --><input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" /><!-- /TMPL_LOOP --><input type="hidden" name="answer" value="N" /><input type="submit" value=" No " class="reject"></form>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="rejected" -->
|
|
<div class="error">
|
|
<h3>Error Issuing Book</h3>
|
|
<!-- TMPL_VAR name="rejected" -->
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="message" -->
|
|
<div class="error">
|
|
<h3>No borrower matched <!-- TMPL_VAR name="message" --></h3>
|
|
</div>
|
|
<!-- /TMPL_IF -->
|
|
|
|
|
|
<!-- TMPL_IF name="loggedinusername" -->
|
|
<!-- TMPL_UNLESS NAME="dbarred" --><div id="complete">
|
|
<form method="get" action="/cgi-bin/koha/sco/printer.pl"><input type="submit"
|
|
value="Click Here to
|
|
Complete Transaction" class="complete" /></form>
|
|
</div>
|
|
<form method="post" action="/cgi-bin/koha/sco/circulation.pl">
|
|
<h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)</h4>
|
|
<label
|
|
for="barcode">Enter the item barcode:</label> <input id="barcode"
|
|
name="barcode" size="14" maxlength="14" class="unfocus" onfocus="this.className='focus';" onblur="this.className='unfocus';" /> <input
|
|
type="submit" value="Submit" class="submit" /><input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" /><input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" /><input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->" /><input type="hidden" name="print" value="maybe" /><!-- TMPL_IF name="CHARGES" --><input type="hidden" name="charges" value="yes" /><input type="hidden" name="oldamount" value="<!-- TMPL_VAR name="amountold" -->" />
|
|
<!-- /TMPL_IF -->
|
|
</form>
|
|
<!-- Begin Code Added By Suneeta Polisetty -->
|
|
<script language="JavaScript">
|
|
function callPrint()
|
|
{
|
|
//var receipt = window.open('/opac-tmpl/default/en/sco/receipt.html');
|
|
var receipt = window.open('/cgi-bin/koha/sco/printer.pl');
|
|
|
|
receipt.document.open();
|
|
receipt.document.close();
|
|
receipt.print();
|
|
receipt.close();
|
|
}
|
|
|
|
function closeThis()
|
|
{
|
|
// Begin code modified by Christina Lee
|
|
javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1';
|
|
// End code modified by Christina Lee
|
|
self.close();
|
|
}
|
|
</script>
|
|
|
|
<!-- End Code Added By Suneeta Polisetty--><!-- /TMPL_UNLESS -->
|
|
</div>
|
|
|
|
<!-- TMPL_IF name="todayissues" -->
|
|
<table>
|
|
<caption>Today's Issues</caption>
|
|
<tr>
|
|
<!-- <th>Bar Code</th> --><th colspan="2">Title</th><th>Author</th><th>Call No.</th><th>Due Date</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP name="todayissues" -->
|
|
<tr>
|
|
|
|
<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" align="left" title="<!-- TMPL_VAR NAME="itemtype" -->" alt="" /></td>
|
|
<!-- <td><!-- TMPL_VAR NAME="barcode" --></td> -->
|
|
<td><!-- TMPL_VAR NAME="title" --></td>
|
|
<td><!-- TMPL_VAR NAME="author" --></td>
|
|
<td><!-- TMPL_VAR NAME="classification" --></td><td><!-- TMPL_VAR NAME="dd" --></td>
|
|
</tr>
|
|
<!-- /TMPL_LOOP -->
|
|
</table>
|
|
<!-- /TMPL_IF -->
|
|
|
|
<!-- TMPL_IF name="previssues" -->
|
|
<table>
|
|
<caption>Previous Issues</caption>
|
|
<tr>
|
|
<!-- <th>Bar Code</th> --><th colspan="2">Title</th><th>Author</th><th>Call No.</th><th>Due Date</th>
|
|
</tr>
|
|
<!-- TMPL_LOOP name="previssues" -->
|
|
<tr>
|
|
|
|
<!-- <td><!-- TMPL_VAR NAME="barcode" --></td> -->
|
|
<td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" align="left" title="<!-- TMPL_VAR NAME="itemtype" -->" alt="" /></td>
|
|
<td><!-- TMPL_VAR NAME="title" --></td>
|
|
<td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
|
|
<td><!-- TMPL_IF NAME="classification" --><!-- TMPL_VAR NAME="classification" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td><td><!-- TMPL_IF NAME="od" --><font color="red"><!-- /TMPL_IF --><!-- TMPL_VAR NAME="dd" --><!-- TMPL_IF NAME="od" --></font><!-- /TMPL_IF --></td>
|
|
</tr><!-- /TMPL_LOOP --></table>
|
|
<!-- /TMPL_IF --></div>
|
|
<!-- /TMPL_IF -->
|
|
</body>
|
|
</html>
|