1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" --><!-- TMPL_VAR NAME="LibraryName" --> › Self Checkout </title>
2 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
3 <meta name="generator" content="Koha <!-- TMPL_VAR NAME="Version" -->" /> <!-- leave this for stats -->
4 <link rel="shortcut icon" href="<!-- TMPL_VAR NAME="themelang" -->/includes/favicon.ico" type="image/x-icon" />
5 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/jquery.js"></script>
6 <script type="text/javascript" src="<TMPL_VAR NAME="themelang">/js/sco.js"></script>
7 <script type="text/javascript">//<![CDATA[
8 $(document).ready(function(){
10 $(".unfocus").focus();
14 <link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR name="themelang" -->/css/sco.css" />
18 <div id="doc" class="yui-t7">
20 <div id="masthead"><h1><!-- TMPL_VAR NAME="LibraryName" --> Self Checkout System </h1></div>
25 <!-- TMPL_IF NAME="impossible" --><!-- We tried to issue, but failed. -->
26 <div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, This item cannot be checked out at this station. </p>
27 <!-- TMPL_IF NAME="title" --><p>Title: <em><!-- TMPL_VAR NAME="title" escape="html" --></em> </p><!-- /TMPL_IF -->
28 <p><em>Error type:</em> <!-- TMPL_VAR NAME="impossible" --></p>
29 <form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" method="post">
30 <input type="hidden" name="op" value="login" />
31 <input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
32 <!-- TMPL_IF NAME="returnitem" -->
33 <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
34 <input type="button" name="returnbook" value="Return this item" class="return" onclick="this.form.op.value='returnbook';this.form.submit();" />
36 <input type="submit" name= "confirm" value="Return to Account Summary" class="back" />
39 <!-- TMPL_IF NAME="confirm" --><!-- We need to confirm the issue.. -->
40 <div class="dialog alert"><h3>Please confirm the checkout:</h3>
41 <p><!-- TMPL_IF NAME="confirm_renew_issue" -->This item is already checked out to you. Return it?<!-- /TMPL_IF --></p>
43 <form action="/cgi-bin/koha/sco/sco-main.pl" name="confirmForm" method="post">
44 <input type="hidden" id="op" name="op" value="checkout" />
45 <input type="hidden" name="patronid" value="<!-- TMPL_VAR NAME="patronid" -->" />
46 <input type="hidden" name="barcode" value="<!-- TMPL_VAR NAME="barcode" -->" />
47 <input type="hidden" id="confirmation" name="confirmed" value="" />
48 <!-- TMPL_IF NAME="renew" -->
49 <input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();" />
51 <input type="button" value="Renew Item" <!-- TMPL_UNLESS NAME="renew" --> name="confirm"<!-- /TMPL_UNLESS --> class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />
52 <input type="button" value="Cancel" class="cancel" onclick="this.form.op.value='';this.form.submit();return true;" />
57 <!-- TMPL_IF NAME="nopermission" --><!-- This is what is displayed if user doesnt have permission --><div class="dialog alert"><h3>Access Denied</h3>
58 Sorry, This Self-Checkout Station has lost authentication. Please contact the administrator to resolve this problem. </div>
60 <!-- TMPL_IF NAME="timed_out" --><!-- This is what is displayed if login has timed out -->
61 <div class="dialog alert"><h3>Session timed out</h3>Sorry, your session has timed out, please log in again.</div><!-- /TMPL_IF -->
62 <!-- TMPL_IF NAME="different_ip" --><!-- This is what is displayed if user doesnt have permission --><div class="dialog alert"><h3>Session Lost</h3>You are accessing Self-Checkout from a different IP address! please log in again.</div><!-- /TMPL_IF -->
63 <!-- TMPL_IF NAME="invalid_username_or_password" -->
64 <!-- This is what is displayed if user doesnt have permission --><div class="dialog alert"><h3>Record not found</h3><p>Your userid was not found in the database. Please try again.</p></div><!-- /TMPL_IF -->
67 <!-- TMPL_UNLESS NAME="hide_main" -->
68 <div class="sco_head">
69 <!-- TMPL_UNLESS NAME="validuser" -->
70 <h3> <!-- TMPL_VAR NAME="libraryname" --> Self Checkout </h3>
72 <div id="checkouthelp">
73 <a href="/cgi-bin/koha/sco/help.pl">HELP</a> with the self checkout system
76 <!-- TMPL_IF NAME="patronid" -->
77 <!-- TMPL_IF NAME="validuser" -->
78 <h3 class="warning">You are logged in as <!-- TMPL_VAR NAME="borrowername" -->.</h3>
81 <!-- TMPL_IF NAME="nouser" -->
82 <div class="error"><h4>Sorry</h4><p>The userid <!-- TMPL_VAR NAME="patronid" --> was not found in the database. Please try again.</p></div>
86 <!-- TMPL_IF NAME="timedout" -->
87 <div class="error"><h4>Sorry</h4><p>Your session has timed out due to inactivity. Please sign in.</p></div>
90 <!-- TMPL_UNLESS NAME="validuser" -->
91 <div class="sco_entry" >
92 <form id="mainform" action="/cgi-bin/koha/sco/sco-main.pl" name="mainform" method="post">
93 <fieldset class="checkout"><label for="patronid">Please enter your card number:</label>
94 <input type="text" id="patronid" class="unfocus" size="20" name="patronid" />
95 <!-- TMPL_LOOP NAME="INPUTS" --><input type="hidden" name="<!-- TMPL_VAR NAME="name" -->" value="<!-- TMPL_VAR NAME="value" -->"><!-- /TMPL_LOOP -->
96 <input type="hidden" name="op" value="login" />
97 <input type="submit" value="Submit" class="submit" /></fieldset></form>
100 <!-- TMPL_IF NAME="validuser" -->
101 <div id="newcheckout" class="sco_entry">
102 <form id="mainform" name="scan_form" method="post" action="/cgi-bin/koha/sco/sco-main.pl" onsubmit=" if(this.valid_session == 0) { if(confirm('Session has expired. Click \'OK\' to continue processing this item. Click Cancel if you are not <!-- TMPL_VAR NAME="patronid" -->.')){ this.op.value='logout'; this.patronid.value=''; } return true;}; " >
103 <fieldset><legend> Check out or return an item: </legend>
104 <label for="barcode">Scan a new item or enter its barcode:</label>
105 <input id="barcode" name="barcode" size="20" class="unfocus" onfocus="this.className='focus';" onblur="this.className='unfocus';" />
106 <input type="hidden" name="op" value="checkout" />
107 <input type="hidden" name="patronid" value="<!-- TMPL_VAR name="patronid" -->" />
108 <input type="hidden" name="valid_session" value="1" />
109 <input type="submit" value="Submit" class="submit" /></fieldset>
111 <p class="alert"><form method="post" action="/cgi-bin/koha/sco/sco-main.pl?op=logout" >Scan next item, or <input type="submit" value="Click here if done." class="finish" /></form></p>
112 </div> <!-- sco_entry --> <!-- newcheckout -->
114 <div id="borrowerdetails">
115 <!-- TMPL_IF NAME="issues_count" -->
116 <table><caption>Issues for <!-- TMPL_VAR NAME='borrowername' --> <span class="count">(<!-- TMPL_VAR NAME="issues_count" --> total)</span></caption>
117 <!-- ISSUES TABLE ROWS -->
118 <tr><th>Title</th><th>Call No.</th><th>Due</th><th>Renew</th><!-- TMPL_UNLESS NAME="nofines" --><th>Fines</th><!-- /TMPL_UNLESS --></tr>
119 <!-- TMPL_LOOP NAME="ISSUES" -->
120 <!-- TMPL_UNLESS name="__odd__" --><tr class="highlight"><!-- TMPL_ELSE --><tr><!-- /TMPL_UNLESS -->
121 <td><!-- TMPL_IF NAME="amazonimages" --> <!-- TMPL_IF NAME="isbn" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" ESCAPE="URL" -->"><img src="http://images.amazon.com/images/P/<!-- TMPL_VAR name="isbn" -->.01.THUMBZZZ.jpg" alt="Book Cover Image" class="thumbnail" /></a><!-- /TMPL_IF --> <!-- /TMPL_IF --><!-- TMPL_UNLESS NAME="noitemlinks" --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" escape="html" --></a><!-- TMPL_ELSE --><strong><!-- TMPL_VAR NAME="title" escape="html" --></strong><!-- /TMPL_UNLESS --><span class="item-details">
122 <!-- TMPL_VAR NAME="author" --></span> (<!-- TMPL_VAR NAME="barcode" -->)</td>
123 <td><!-- TMPL_IF NAME="itemcallnumber" --> <!-- TMPL_VAR NAME="itemcallnumber" --><!-- TMPL_ELSE --> <!-- /TMPL_IF --></td>
124 <!-- TMPL_IF NAME="overdue" --><td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td><!-- TMPL_ELSE --><td><!-- TMPL_VAR NAME="date_due" --></td><!-- /TMPL_IF -->
126 <!-- TMPL_IF NAME="status" -->
127 <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&item=<!-- TMPL_VAR NAME="itemnumber" -->&bornum=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a>
129 Not renewable<!-- /TMPL_IF -->
131 <!-- TMPL_UNLESS NAME="nofines" --><td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td><!-- /TMPL_UNLESS --></tr>
135 <h3>You currently have nothing checked out.</h3>
137 </div> <!-- borrowerdetails -->
139 <!-- /TMPL_UNLESS --> <!-- ( / hide main) -->
145 <!-- TMPL_INCLUDE NAME="opac-bottom.inc" -->