fd10b61bbd2d268b4825ef973837fda446750025
[koha.git] / koha-tmpl / opac-tmpl / prog / en / modules / sco / sco-circ.tmpl
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">
4 <head>
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) {
11         newwin =
12         window.open(targeturl,windowname,"height=480,width=640,scrollbars,resizable")
13     }
14     function focusOnFirst (){
15         document.forms[1].elements[0].focus();
16     }
17
18     function abort(){
19         window.open("/cgi-bin/koha/sco/abort.pl","aborting","height=5,width=5");
20     }
21     // end hiding -->
22 </script>
23 </head>
24 <body onload="focusOnFirst();" onblur="self.focus();">
25
26 <!-- TMPL_IF name="loggedinusername" -->
27 <h3><!-- TMPL_VAR NAME="libraryname" --> Self Checkout System</h3>
28
29 <div id="main">
30 <div class="form">
31 <!-- TMPL_IF NAME="dbarred" -->
32 <div class="error"><h3>Sorry, checkout cannot proceed</h3>
33 There is a problem with your account.  Please ask for help at the circulation desk.
34 <div id="abort"><form method="get" action="#">
35 <input type="submit" value="Please Click Here to Exit" class="complete" onclick="self.close();"  /></form></div>
36 </div>
37 <!-- /TMPL_IF -->
38
39 <!-- TMPL_IF name="confirm" -->
40         <div class="error">
41                 <h3>Warning:</h3>
42                 <p>Attempting to issue <!-- TMPL_VAR name="title" --> <br />
43                         to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" -->.</p>
44                 <p><!-- TMPL_VAR name="confirm" --></p>
45                 <form action="/cgi-bin/koha/sco/sco-circ.pl" method="get">
46                   <input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
47                   <input type="hidden" name="barcode" value="<!-- TMPL_VAR name="barcode" -->" />
48                   <input type="button" name="confirmed" value="Confirm?" />
49                   <input type="button" name="cancel" value="Cancel" />
50                 </form>
51         </div>
52 <!-- /TMPL_IF -->
53
54 <!-- TMPL_IF name="impossible" -->
55         <div class="error">
56                 <h3>Error Issuing Book</h3>
57                 <!-- TMPL_VAR name="impossible" -->
58         </div>
59 <!-- /TMPL_IF -->
60
61 <!-- TMPL_IF name="message" -->
62         <div class="error">
63                 <h3>No borrower matched <!-- TMPL_VAR name="message" --></h3>
64         </div>
65 <!-- /TMPL_IF -->
66
67 <!-- TMPL_UNLESS NAME="dbarred" -->
68 <div id="complete">
69 <form method="get" action="/cgi-bin/koha/sco/abort.pl"><input type="submit" value="Click Here to End Transaction" class="complete" onclick="self.close();" />
70 </form>
71 </div>
72 <form method="post" action="/cgi-bin/koha/sco/sco-circ.pl">
73 <h4>Checking out to <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR name="surname" --> (<!-- TMPL_VAR name="cardnumber" -->)</h4>
74 <label for="barcode">Scan a new item or enter its barcode:</label> 
75 <input id="barcode" name="barcode" size="14" maxlength="14" class="unfocus" onfocus="this.className='focus';" onblur="this.className='unfocus';" /> 
76 <input type="submit" value="Submit" class="submit" />
77 <input type="hidden" name="borrnumber" value="<!-- TMPL_VAR name="borrowernumber" -->" />
78 </form>
79 <!-- /TMPL_UNLESS -->
80 <!-- /TMPL_IF -->
81
82 <div id="borrowerdetails">
83 <!-- TMPL_IF NAME="issues_count" -->
84 <div class="table"><table><caption>Issues <span class="count">(<!-- TMPL_VAR NAME="issues_count" --> total)</span></caption>
85 <!-- ISSUES TABLE ROWS -->
86 <tr><th colspan="2">Title</th><th>Call No.</th><th>Due</th><th>Renew</th><th>Fines</th></tr>
87 <!-- TMPL_LOOP NAME="ISSUES" -->
88 <!-- TMPL_IF NAME="overdue" --><tr class="overdue"><!-- TMPL_ELSE --><tr><!-- /TMPL_IF -->
89 <td><!-- TMPL_IF NAME="itemtypeimages" --> <img src="<!-- TMPL_VAR NAME="themelang" -->/images/<!-- TMPL_VAR NAME="itemtype" -->.gif" alt="<!-- TMPL_VAR NAME="description" -->" title="<!-- TMPL_VAR NAME="description" -->" /><!-- /TMPL_IF --></td>
90 <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 --><a href="/cgi-bin/koha/opac-detail.pl?bib=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a><span class="item-details">
91 <!-- TMPL_VAR NAME="author" --></span></td>
92 <td><!-- TMPL_VAR NAME="classification" --></td>
93 <!-- TMPL_IF NAME="overdue" --><td class="overdue"><!-- TMPL_VAR NAME="date_due" --></td><!-- TMPL_ELSE --><td><!-- TMPL_VAR NAME="date_due" --></td><!-- /TMPL_IF -->
94 <td>
95 <!-- TMPL_IF NAME="status" -->
96 <a href="/cgi-bin/koha/opac-renew.pl?from=opac_user&amp;item=<!-- TMPL_VAR NAME="itemnumber" -->&amp;bornum=<!-- TMPL_VAR NAME="borrowernumber" -->">Renew</a>
97 <!-- TMPL_ELSE -->
98 Not renewable<!-- /TMPL_IF -->
99 </td>
100 <td><!-- TMPL_IF NAME="charges" -->Yes<!-- TMPL_ELSE -->No<!-- /TMPL_IF --></td></tr>
101 <!-- /TMPL_LOOP -->
102 </table>
103 </div>
104 </div> <!-- borrowerdetails -->
105
106 </div>
107 <!-- /TMPL_IF -->
108 </body>
109 </html>