Bug 3268: Adds the ability to edit the description of a holiday.
[srvgit] / koha-tmpl / opac-tmpl / prog / en / modules / sco / circulation.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 <!-- TMPL_IF name="loggedinusername" -->
26 <h3><!-- TMPL_VAR NAME="libraryname" --> Self Checkout System</h3>
27
28 <div id="main">
29 <div class="form">
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>
35 </div>
36 <!-- /TMPL_IF --><!-- /TMPL_IF -->
37
38
39
40 <!-- TMPL_IF name="question" -->
41         <div class="error">
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" -->" />
58             <!-- /TMPL_LOOP -->
59             <input type="hidden" name="answer" value="Y" />
60             <input type="submit" value="  Yes  " class="confirm">
61           </form>
62
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" -->" />
75             <!-- /TMPL_LOOP -->
76             <input type="hidden" name="answer" value="N" />
77             <input type="submit" value=" No " class="reject">
78           </form>
79         </div>
80         <!-- /TMPL_IF -->
81
82 <!-- TMPL_IF name="rejected" -->
83         <div class="error">
84                 <h3>Error Issuing Book</h3>
85                 <!-- TMPL_VAR name="rejected" -->
86         </div>
87 <!-- /TMPL_IF -->
88
89 <!-- TMPL_IF name="message" -->
90         <div class="error">
91                 <h3>No borrower matched <!-- TMPL_VAR name="message" --></h3>
92         </div>
93 <!-- /TMPL_IF -->
94
95
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"
99 value="Click Here to 
100 Complete Transaction" class="complete" /></form>
101 </div>
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>
104 <label
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" -->" />
108                                         <!-- /TMPL_IF -->
109 </form>
110 <!-- Begin Code Added By Suneeta Polisetty -->
111 <script language="JavaScript">
112 function callPrint()
113 {
114         //var receipt = window.open('/opac-tmpl/default/en/sco/receipt.html');
115       var receipt = window.open('/cgi-bin/koha/sco/printer.pl');
116
117       receipt.document.open();
118       receipt.document.close();
119       receipt.print();
120       receipt.close();
121 }
122
123 function closeThis()
124 {
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
128    self.close();
129 }
130 </script> 
131
132 <!-- End Code Added By Suneeta Polisetty--><!-- /TMPL_UNLESS -->
133 </div>
134
135 <!-- TMPL_IF name="todayissues" -->
136 <table>
137      <caption>Today's Issues</caption>  
138         <tr>
139                 <!-- <th>Bar Code</th> --><th colspan="2">Title</th><th>Author</th><th>Call No.</th><th>Due Date</th>
140         </tr>
141         <!-- TMPL_LOOP name="todayissues" -->
142          <tr>
143                 
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>            
149         </tr>
150         <!-- /TMPL_LOOP -->
151 </table>
152 <!-- /TMPL_IF -->
153
154 <!-- TMPL_IF name="previssues" -->
155         <table>
156         <caption>Previous Issues</caption>
157                 <tr>
158                         <!-- <th>Bar Code</th> --><th colspan="2">Title</th><th>Author</th><th>Call No.</th><th>Due Date</th> 
159                 </tr>
160         <!-- TMPL_LOOP name="previssues" -->
161             <tr>
162                         
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 -->&nbsp;<!-- /TMPL_IF --></td>
167                         <td><!-- TMPL_IF NAME="classification" --><!-- TMPL_VAR NAME="classification" --><!-- TMPL_ELSE -->&nbsp;<!-- /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>
170 <!-- /TMPL_IF -->
171 </body>
172 </html>