Lines 114-125
$(document).ready(function(){
Link Here
|
114 |
<div id="bd"> |
114 |
<div id="bd"> |
115 |
|
115 |
|
116 |
[% IF ( impossible ) %]<!-- We tried to issue, but failed. --> |
116 |
[% IF ( impossible ) %]<!-- We tried to issue, but failed. --> |
117 |
<div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, This item cannot be checked out at this station. </p> |
117 |
<div class="dialog alert"><h3>Item cannot be checked out.</h3><p>Sorry, this item cannot be checked out at this station. </p> |
118 |
[% IF ( title ) %]<p>Title: <em>[% title |html %]</em> </p>[% END %] |
118 |
[% IF ( title ) %]<p>Title: <em>[% title |html %]</em> </p>[% END %] |
119 |
<p> |
119 |
<p> |
120 |
[% IF ( circ_error_UNKNOWN_BARCODE ) %] |
120 |
[% IF ( circ_error_UNKNOWN_BARCODE ) %] |
121 |
<em>MESSAGE 1:</em> The system does not recognize this barcode. |
121 |
<em>MESSAGE 1:</em> The system does not recognize this barcode. |
122 |
[% ELSIF ( circ_error_TOO_MANY ) %] |
122 |
[% ELSIF ( circ_error_max_loans_allowed ) %] |
123 |
<em>MESSAGE 2:</em> You have checked out too many items and can't check out any more. |
123 |
<em>MESSAGE 2:</em> You have checked out too many items and can't check out any more. |
124 |
[% ELSIF ( circ_error_ISSUED_TO_ANOTHER ) %] |
124 |
[% ELSIF ( circ_error_ISSUED_TO_ANOTHER ) %] |
125 |
<em>MESSAGE 3:</em> This item is checked out to someone else. |
125 |
<em>MESSAGE 3:</em> This item is checked out to someone else. |
Lines 158-163
$(document).ready(function(){
Link Here
|
158 |
<input type="hidden" name="barcode" value="[% barcode %]" /> |
158 |
<input type="hidden" name="barcode" value="[% barcode %]" /> |
159 |
<input type="submit" name="returnbook" value="Return this item" class="return" /> |
159 |
<input type="submit" name="returnbook" value="Return this item" class="return" /> |
160 |
</form> |
160 |
</form> |
|
|
161 |
[% END %] |
162 |
[% END %] |
161 |
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post"> |
163 |
<form action="/cgi-bin/koha/sco/sco-main.pl" name="errorForm" class="inline" method="post"> |
162 |
<input type="hidden" name="op" value="" /> |
164 |
<input type="hidden" name="op" value="" /> |
163 |
<input type="hidden" name="patronid" value="[% patronid %]" /> |
165 |
<input type="hidden" name="patronid" value="[% patronid %]" /> |
Lines 165-172
$(document).ready(function(){
Link Here
|
165 |
<input type="submit" name= "confirm" value="Return to account summary" class="back focus" /> |
167 |
<input type="submit" name= "confirm" value="Return to account summary" class="back focus" /> |
166 |
</form> |
168 |
</form> |
167 |
[% END %] |
169 |
[% END %] |
168 |
[% END %] |
|
|
169 |
[% END %] |
170 |
[% IF ( confirm ) %]<!-- We need to confirm the issue.. --> |
170 |
[% IF ( confirm ) %]<!-- We need to confirm the issue.. --> |
171 |
<div class="dialog alert"><h3>Please confirm the checkout:</h3> |
171 |
<div class="dialog alert"><h3>Please confirm the checkout:</h3> |
172 |
<p>[% IF ( confirm_renew_issue ) %]This item is already checked out to you.[% END %]</p> |
172 |
<p>[% IF ( confirm_renew_issue ) %]This item is already checked out to you.[% END %]</p> |
Lines 276-294
Sorry, this self-checkout station has lost authentication. Please contact the a
Link Here
|
276 |
[% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due | $KohaDates %]</td>[% ELSE %]<td>[% ISSUE.date_due | $KohaDates %]</td>[% END %] |
276 |
[% IF ( ISSUE.overdue ) %]<td class="overdue">[% ISSUE.date_due | $KohaDates %]</td>[% ELSE %]<td>[% ISSUE.date_due | $KohaDates %]</td>[% END %] |
277 |
<td> |
277 |
<td> |
278 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
278 |
<form action="/cgi-bin/koha/sco/sco-main.pl" method="post"> |
279 |
<input type="hidden" name="op" value="checkout" /> |
|
|
280 |
<input type="hidden" name="patronid" value="[% patronid %]" /> |
279 |
<input type="hidden" name="patronid" value="[% patronid %]" /> |
281 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode %]" /> |
280 |
<input type="hidden" name="barcode" value="[% ISSUE.barcode %]" /> |
282 |
<input type="hidden" name="confirmed" value="" /> |
|
|
283 |
[% IF ( ISSUE.norenew ) %] |
281 |
[% IF ( ISSUE.norenew ) %] |
284 |
[% IF ( ISSUE.AllowSelfCheckReturns ) %] |
282 |
[% IF ( AllowSelfCheckReturns ) %] |
285 |
<input type="button" value="Return Item" name="confirm" class="return" onclick="this.form.op.value='returnbook';this.form.submit();" /> |
283 |
<input type="submit" value="Check in item" name="confirm" class="return" /> |
|
|
284 |
<input type="hidden" name="op" value="returnbook" /> |
285 |
<input type="hidden" name="confirmed" value="" /> |
286 |
[% ELSE %] |
286 |
[% ELSE %] |
287 |
<span>No renewals allowed</span> |
287 |
<span>No renewals allowed</span> |
288 |
[% END %] |
288 |
[% END %] |
289 |
[% ELSE %] |
289 |
[% ELSE %] |
290 |
[% UNLESS ( ISSUE.renew ) %]<input type="button" value="Renew Item" name="confirm" class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" /> |
290 |
<input type="hidden" name="op" value="checkout" /> |
291 |
[% ELSE %]<input type="button" value="Renew Item" class="renew" onclick="this.form.confirmed.value='1';this.form.submit();" />[% END %] |
291 |
<input type="hidden" name="confirmed" value="1" /> |
|
|
292 |
[% UNLESS ( ISSUE.renew ) %]<input type="submit" value="Renew item" name="confirm" class="renew" /> |
293 |
[% ELSE %]<input type="submit" value="Renew item" class="renew" />[% END %] |
292 |
[% END %] |
294 |
[% END %] |
293 |
</form> |
295 |
</form> |
294 |
</td> |
296 |
</td> |
295 |
- |
|
|