1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
5 <title>Koha Self Checkout</title>
6 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
7 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
8 <script type="text/javascript" language="JavaScript">
9 <!-- Hide from old browsers
10 function openWindow(targeturl, windowname) {
12 window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
14 function focusOnFirst (){
15 document.forms[1].elements[0].focus();
19 window.open("/cgi-bin/koha/sco/abort.pl","aborting","height=5,width=5");
24 <body onload="focusOnFirst();" onblur="self.focus();">
25 <!-- TMPL_IF name="loggedinusername" -->
26 <h3><!-- TMPL_VAR NAME="libraryname" --> Self Checkout System</h3>
30 <!-- TMPL_IF NAME="dbarred" -->
31 <div class="error"><h3>Sorry, checkout cannot proceed</h3>
32 There is a problem with your account. Please ask for help at the circulation desk.
33 <div id="abort"><form method="get" action="/cgi-bin/koha/sco/abort.pl">
34 <input type="submit" value="Please Click Here to Exit" class="complete" /></form></div>
36 <!-- /TMPL_IF --><!-- /TMPL_IF -->
40 <!-- TMPL_IF name="question" -->
42 <h3>Issuing Question</h3>
43 <p>Attempting to issue <!-- TMPL_VAR name="title" escape="html" -->
44 by <!-- TMPL_VAR name="author" --> to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->.</p>
45 <p><!-- TMPL_VAR name="question" --></p>
46 <form action="/cgi-bin/koha/sco/circulation.pl" method="get">
47 <input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
48 <input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->" />
49 <input type="hidden" name="questionnumber" value="<!-- TMPL_VAR name="questionnumber" -->" />
50 <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
51 <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
52 <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
53 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR name="stickyduedate" -->" />
54 <input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" />
55 <input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->">
56 <!-- TMPL_LOOP NAME="responseloop" -->
57 <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
59 <input type="hidden" name="answer" value="Y" />
60 <input type="submit" value=" Yes " class="confirm">
63 <form action="/cgi-bin/koha/sco/circulation.pl" method="get">
64 <input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
65 <input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->" />
66 <input type="hidden" name="questionnumber" value="<!-- TMPL_VAR name="questionnumber" -->" />
67 <input type="hidden" name="day" value="<!-- TMPL_VAR name="day" -->" />
68 <input type="hidden" name="month" value="<!-- TMPL_VAR name="month" -->" />
69 <input type="hidden" name="year" value="<!-- TMPL_VAR name="year" -->" />
70 <input type="hidden" name="stickyduedate" value="<!-- TMPL_VAR name="stickyduedate" -->" />
71 <input type="hidden" name="branch" value="<!-- TMPL_VAR name="branch" -->" />
72 <input type="hidden" name="printer" value="<!-- TMPL_VAR name="printer" -->" />
73 <!-- TMPL_LOOP NAME="responseloop" -->
74 <input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->" />
76 <input type="hidden" name="answer" value="N" />
77 <input type="submit" value=" No " class="reject">
82 <!-- TMPL_IF name="rejected" -->
84 <h3>Error Issuing Book</h3>
85 <!-- TMPL_VAR name="rejected" -->
89 <!-- TMPL_IF name="message" -->
91 <h3>No borrower matched <!-- TMPL_VAR name="message" --></h3>
96 <!-- TMPL_IF name="loggedinusername" -->
97 <!-- TMPL_UNLESS NAME="dbarred" --><div id="complete">
98 <form method="get" action="/cgi-bin/koha/sco/printer.pl"><input type="submit"
100 Complete Transaction" class="complete" /></form>
102 <form method="post" action="/cgi-bin/koha/sco/circulation.pl">
103 <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)</h4>
105 for="barcode">Enter the item barcode:</label> <input id="barcode"
106 name="barcode" size="14" maxlength="14" class="unfocus" onfocus="this.className='focus';" onblur="this.className='unfocus';" /> <input
107 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" -->" />
110 <!-- Begin Code Added By Suneeta Polisetty -->
111 <script language="JavaScript">
114 //var receipt = window.open('/opac-tmpl/default/en/sco/receipt.html');
115 var receipt = window.open('/cgi-bin/koha/sco/printer.pl');
117 receipt.document.open();
118 receipt.document.close();
125 // Begin code modified by Christina Lee
126 javascript:window.opener.location='/cgi-bin/koha/sco/sco-main.pl?logout.x=1';
127 // End code modified by Christina Lee
132 <!-- End Code Added By Suneeta Polisetty--><!-- /TMPL_UNLESS -->
135 <!-- TMPL_IF name="todayissues" -->
137 <caption>Today's Issues</caption>
139 <!-- <th>Bar Code</th> --><th colspan="2">Title</th><th>Author</th><th>Call No.</th><th>Due Date</th>
141 <!-- TMPL_LOOP name="todayissues" -->
144 <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" align="left" title="<!-- TMPL_VAR NAME="itemtype" -->" alt="" /></td>
145 <!-- <td><!-- TMPL_VAR NAME="barcode" --></td> -->
146 <td><!-- TMPL_VAR NAME="title" escape="html" --></td>
147 <td><!-- TMPL_VAR NAME="author" --></td>
148 <td><!-- TMPL_VAR NAME="classification" --></td><td><!-- TMPL_VAR NAME="dd" --></td>
154 <!-- TMPL_IF name="previssues" -->
156 <caption>Previous Issues</caption>
158 <!-- <th>Bar Code</th> --><th colspan="2">Title</th><th>Author</th><th>Call No.</th><th>Due Date</th>
160 <!-- TMPL_LOOP name="previssues" -->
163 <!-- <td><!-- TMPL_VAR NAME="barcode" --></td> -->
164 <td><img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" align="left" title="<!-- TMPL_VAR NAME="itemtype" -->" alt="" /></td>
165 <td><!-- TMPL_VAR NAME="title" escape="html" --></td>
166 <td><!-- TMPL_IF NAME="author" --><!-- TMPL_VAR NAME="author" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
167 <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>
168 </tr><!-- /TMPL_LOOP --></table>
169 <!-- /TMPL_IF --></div>