|
Lines 327-337
function validate1(date) {
Link Here
|
| 327 |
<div class="yui-g"> |
327 |
<div class="yui-g"> |
| 328 |
|
328 |
|
| 329 |
<div id="circ_needsconfirmation" class="dialog alert"> |
329 |
<div id="circ_needsconfirmation" class="dialog alert"> |
| 330 |
<h3>Please confirm checkout</h3> |
330 |
[% IF CAN_user_circulate_force_checkout %] |
|
|
331 |
<h3>Please confirm checkout</h3> |
| 332 |
[% ELSE %] |
| 333 |
<h3>Cannot checkout</h3> |
| 334 |
[% END %] |
| 331 |
|
335 |
|
| 332 |
<ul> |
336 |
<ul> |
| 333 |
[%IF ( AGE_RESTRICTION ) %] |
337 |
[%IF ( AGE_RESTRICTION ) %] |
| 334 |
<li>Age restriction [% AGE_RESTRICTION %]. Check out anyway?</li> |
338 |
<li>Age restriction [% AGE_RESTRICTION %]. |
|
|
339 |
[% IF CAN_user_circulate_force_checkout %] |
| 340 |
Check out anyway? |
| 341 |
[% END %] |
| 342 |
</li> |
| 335 |
[% END %] |
343 |
[% END %] |
| 336 |
|
344 |
|
| 337 |
[% IF ( DEBT ) %] |
345 |
[% IF ( DEBT ) %] |
|
Lines 351-357
function validate1(date) {
Link Here
|
| 351 |
[% END %] |
359 |
[% END %] |
| 352 |
|
360 |
|
| 353 |
[% IF ( ISSUED_TO_ANOTHER ) %] |
361 |
[% IF ( ISSUED_TO_ANOTHER ) %] |
| 354 |
<li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber %]">[% issued_firstname %] [% issued_surname %]</a> ([% issued_cardnumber %]). Check in and check out?</li> |
362 |
<li>Item <i>[% getTitleMessageIteminfo %]</i> ([% getBarcodeMessageIteminfo %]) is checked out to <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issued_borrowernumber %]">[% issued_firstname %] [% issued_surname %]</a> ([% issued_cardnumber %]). |
|
|
363 |
[% IF CAN_user_circulate_force_checkout %] |
| 364 |
Check in and check out? |
| 365 |
[% END %] |
| 366 |
</li> |
| 355 |
[% END %] |
367 |
[% END %] |
| 356 |
|
368 |
|
| 357 |
[% IF ( TOO_MANY ) %] |
369 |
[% IF ( TOO_MANY ) %] |
|
Lines 374-393
function validate1(date) {
Link Here
|
| 374 |
[% item_notforloan_lib = KohaAuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %] |
386 |
[% item_notforloan_lib = KohaAuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %] |
| 375 |
Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %]. |
387 |
Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib %])[% END %]. |
| 376 |
[% END %] |
388 |
[% END %] |
|
|
389 |
[% IF CAN_user_circulate_force_checkout %] |
| 377 |
Check out anyway? |
390 |
Check out anyway? |
|
|
391 |
[% END %] |
| 378 |
</li> |
392 |
</li> |
| 379 |
[% END %] |
393 |
[% END %] |
| 380 |
|
394 |
|
| 381 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
395 |
[% IF ( USERBLOCKEDOVERDUE ) %] |
| 382 |
<li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). Check out anyway?</li> |
396 |
<li>Patron has [% USERBLOCKEDOVERDUE %] overdue item(s). |
|
|
397 |
[% IF CAN_user_circulate_force_checkout %] |
| 398 |
Check out anyway? |
| 399 |
[% END %] |
| 400 |
</li> |
| 383 |
[% END %] |
401 |
[% END %] |
| 384 |
|
402 |
|
| 385 |
[% IF ( ITEM_LOST ) %] |
403 |
[% IF ( ITEM_LOST ) %] |
| 386 |
<li>This item has been lost with a status of "[% ITEM_LOST %]". Check out anyway?</li> |
404 |
<li>This item has been lost with a status of "[% ITEM_LOST %]". |
|
|
405 |
[% IF CAN_user_circulate_force_checkout %] |
| 406 |
Check out anyway? |
| 407 |
[% END %] |
| 408 |
</li> |
| 387 |
[% END %] |
409 |
[% END %] |
| 388 |
|
410 |
|
| 389 |
[% IF HIGHHOLDS %] |
411 |
[% IF HIGHHOLDS %] |
| 390 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). Check out anyway?</li> |
412 |
<li>High demand item. Loan period shortened to [% HIGHHOLDS.duration %] days (due [% HIGHHOLDS.returndate %]). |
|
|
413 |
[% IF CAN_user_circulate_force_checkout %] |
| 414 |
Check out anyway? |
| 415 |
[% END %] |
| 416 |
</li> |
| 391 |
[% END %] |
417 |
[% END %] |
| 392 |
</ul> |
418 |
</ul> |
| 393 |
|
419 |
|
|
Lines 398-403
function validate1(date) {
Link Here
|
| 398 |
}); |
424 |
}); |
| 399 |
</script> |
425 |
</script> |
| 400 |
[% END %] |
426 |
[% END %] |
|
|
427 |
|
| 428 |
[% IF CAN_user_circulate_force_checkout %] |
| 401 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
429 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" autocomplete="off"> |
| 402 |
|
430 |
|
| 403 |
[% IF ( RESERVED ) %] |
431 |
[% IF ( RESERVED ) %] |
|
Lines 447-452
function validate1(date) {
Link Here
|
| 447 |
<input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" /> |
475 |
<input type="submit" class="deny" value="No, Don't Check Out (N)" accesskey="n" /> |
| 448 |
[% END %] |
476 |
[% END %] |
| 449 |
</form> |
477 |
</form> |
|
|
478 |
[% END %] |
| 450 |
|
479 |
|
| 451 |
</div></div> |
480 |
</div></div> |
| 452 |
[% END %] <!-- NEEDSCONFIRMATION --> |
481 |
[% END %] <!-- NEEDSCONFIRMATION --> |
|
Lines 623-629
No patron matched <span class="ex">[% message %]</span>
Link Here
|
| 623 |
|
652 |
|
| 624 |
<div class="hint">Enter item barcode:</div> |
653 |
<div class="hint">Enter item barcode:</div> |
| 625 |
|
654 |
|
| 626 |
[% IF ( NEEDSCONFIRMATION ) %] |
655 |
[% IF NEEDSCONFIRMATION %] |
| 627 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> |
656 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" disabled="disabled" /> |
| 628 |
[% ELSE %] |
657 |
[% ELSE %] |
| 629 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> |
658 |
<input type="text" name="barcode" id="barcode" class="barcode focus" size="14" /> |
|
Lines 700-711
No patron matched <span class="ex">[% message %]</span>
Link Here
|
| 700 |
[% IF ( userdebarred ) %] |
729 |
[% IF ( userdebarred ) %] |
| 701 |
<li class="blocker"> |
730 |
<li class="blocker"> |
| 702 |
<span class="circ-hlt"> Restricted:</span> Patron's account is restricted [% IF (userdebarreddate ) %] until [% userdebarreddate %] [% END %] [% IF (debarredcomment ) %] with the comment "[% debarredcomment %]"[% END %] |
731 |
<span class="circ-hlt"> Restricted:</span> Patron's account is restricted [% IF (userdebarreddate ) %] until [% userdebarreddate %] [% END %] [% IF (debarredcomment ) %] with the comment "[% debarredcomment %]"[% END %] |
|
|
732 |
[% IF CAN_user_circulate_lift_restriction %] |
| 703 |
<form class="inline compact" action="/cgi-bin/koha/members/setstatus.pl" method="post"> |
733 |
<form class="inline compact" action="/cgi-bin/koha/members/setstatus.pl" method="post"> |
| 704 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
734 |
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" /> |
| 705 |
<input type="hidden" name="destination" value="circ" /> |
735 |
<input type="hidden" name="destination" value="circ" /> |
| 706 |
<input type="hidden" name="cardnumber" value="[% cardnumber %]" /> |
736 |
<input type="hidden" name="cardnumber" value="[% cardnumber %]" /> |
| 707 |
<input type="submit" value="Lift restriction" /> |
737 |
<input type="submit" value="Lift restriction" /> |
| 708 |
</form> |
738 |
</form> |
|
|
739 |
[% END %] |
| 709 |
</li>[% END %] |
740 |
</li>[% END %] |
| 710 |
|
741 |
|
| 711 |
[% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a>[% END %]</li> |
742 |
[% IF ( odues ) %]<li>[% IF ( nonreturns ) %]<span class="circ-hlt">Overdues:</span> Patron has <span class="circ-hlt">ITEMS OVERDUE</span>. See highlighted items <a href="#checkouts">below</a>[% END %]</li> |