Lines 16-21
Link Here
|
16 |
</title> |
16 |
</title> |
17 |
[% INCLUDE 'doc-head-close.inc' %] |
17 |
[% INCLUDE 'doc-head-close.inc' %] |
18 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" /> |
18 |
<link rel="stylesheet" type="text/css" href="[% interface %]/[% theme %]/css/datatables_[% KOHA_VERSION %].css" /> |
|
|
19 |
[% show_barcode_input = (Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce')) || !noissues || forceallow %] |
20 |
<style> |
21 |
.issue-allow, .issue-disallow {display: none;} |
22 |
[% IF !show_barcode_input %]#mainform {display: none;}[% END %] |
23 |
</style> |
19 |
</head> |
24 |
</head> |
20 |
|
25 |
|
21 |
<body id="circ_circulation" class="circ"> |
26 |
<body id="circ_circulation" class="circ"> |
Lines 288-296
Link Here
|
288 |
</form> |
293 |
</form> |
289 |
|
294 |
|
290 |
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %] |
295 |
[% IF ( RESERVED || ISSUED_TO_ANOTHER ) && (CAN_user_reserveforothers_place_holds ) %] |
291 |
[% UNLESS noissues %] |
|
|
292 |
<button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber %]&borrowernumber=[% patron.borrowernumber %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button> |
296 |
<button type="submit" onclick="window.location.href='/cgi-bin/koha/reserve/request.pl?biblionumber=[% itembiblionumber %]&borrowernumber=[% patron.borrowernumber %]'"><i class="fa fa-sticky-note-o"></i> Cancel checkout and place a hold for [% INCLUDE 'patron-title.inc' %]</button> |
293 |
[% END %] |
|
|
294 |
[% END %] |
297 |
[% END %] |
295 |
</div></div> |
298 |
</div></div> |
296 |
[% END %] <!-- NEEDSCONFIRMATION --> |
299 |
[% END %] <!-- NEEDSCONFIRMATION --> |
Lines 494-500
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
494 |
<div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div> |
497 |
<div class="dialog alert"><strong>Error:</strong> This patron has requested their circulation history be anonymized on check-in, but the AnonymousPatron system preference is empty or incorrect.</div> |
495 |
[% END %] |
498 |
[% END %] |
496 |
|
499 |
|
497 |
[% IF ( !noissues ) || ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') )%] |
|
|
498 |
<div class="yui-u first"> |
500 |
<div class="yui-u first"> |
499 |
|
501 |
|
500 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
502 |
<form method="post" action="/cgi-bin/koha/circ/circulation.pl" id="mainform" name="mainform" autocomplete="off"> |
Lines 531-537
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
531 |
|
533 |
|
532 |
<div class="checkout-settings"> |
534 |
<div class="checkout-settings"> |
533 |
|
535 |
|
534 |
[% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %] |
|
|
535 |
[% IF ( SpecifyDueDate ) %] |
536 |
[% IF ( SpecifyDueDate ) %] |
536 |
<div id="specify-due-date" class="checkout-setting"> |
537 |
<div id="specify-due-date" class="checkout-setting"> |
537 |
<div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> |
538 |
<div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> |
Lines 549-558
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
549 |
<button class="btn btn-default btn-sm action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button> |
550 |
<button class="btn btn-default btn-sm action" id="cleardate" name="cleardate" onclick="this.checked = false; this.form.duedatespec.value = ''; this.form.stickyduedate.checked = false; this.form.barcode.focus(); return false;" >Clear</button> |
550 |
</div> |
551 |
</div> |
551 |
[% END %] |
552 |
[% END %] |
552 |
[% END %] |
|
|
553 |
|
553 |
|
554 |
[% UNLESS ( noissues ) %] |
554 |
<div id="set-automatic-renewal" class="checkout-setting issue-allow"> |
555 |
<div id="set-automatic-renewal" class="checkout-setting"> |
|
|
556 |
[% IF NEEDSCONFIRMATION %] |
555 |
[% IF NEEDSCONFIRMATION %] |
557 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
556 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
558 |
[% ELSE %] |
557 |
[% ELSE %] |
Lines 579-597
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
579 |
<label for="override_high_holds">Don't decrease checkout length based on holds</label> |
578 |
<label for="override_high_holds">Don't decrease checkout length based on holds</label> |
580 |
</div> |
579 |
</div> |
581 |
[% END %] |
580 |
[% END %] |
582 |
[% END %] |
|
|
583 |
|
581 |
|
584 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
582 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
585 |
<div id="onsite_checkout-select" class="checkout-setting"> |
583 |
<div id="onsite_checkout-select" class="checkout-setting"> |
586 |
[% IF noissues %] |
584 |
<div class="onsite-checkout-only issue-disallow"> |
587 |
<div class="onsite-checkout-only"> |
|
|
588 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label> |
585 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout_forced" checked="checked" disabled="disabled" /> <label for="onsite_checkout">On-site checkouts only. Automatic due date: </label> |
589 |
<input type="text" name="duedatespec" id="duedatespec" /> |
586 |
<input type="text" name="duedatespec" id="duedatespec" /> |
590 |
<input type="hidden" name="onsite_checkout" checked="checked" value="1" /> |
587 |
<input type="hidden" name="onsite_checkout" checked="checked" value="1" /> |
591 |
</div> |
588 |
</div> |
592 |
[% ELSE %] |
589 |
<div class="issue-allow"> |
593 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting" /> <label for="onsite_checkout">On-site checkout</label> |
590 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" class="circ_setting" /> <label for="onsite_checkout">On-site checkout</label> |
594 |
[% END %] |
591 |
</div> |
595 |
</div> |
592 |
</div> |
596 |
[% END %] |
593 |
[% END %] |
597 |
|
594 |
|
Lines 612-646
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
612 |
[% END %] |
609 |
[% END %] |
613 |
</form></div> |
610 |
</form></div> |
614 |
|
611 |
|
615 |
[% END %]<!-- /unless noissues --> |
|
|
616 |
|
617 |
[% IF ( noissues ) %] |
618 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
619 |
<div class="yui-u"> |
620 |
[% ELSE %] |
621 |
<div> |
622 |
[% END %] |
623 |
[% ELSE %] |
624 |
<div class="yui-u"> |
612 |
<div class="yui-u"> |
625 |
[% END %] |
613 |
<div id="circmessages" class="circmessage attention"> |
626 |
|
614 |
<h3>Attention:</h3> |
627 |
[% IF ( noissues ) %] |
615 |
<div class="issue-disallow"> |
628 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
616 |
[% IF !( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
629 |
<div id="circmessages" class="circmessage attention"> |
|
|
630 |
[% ELSE %] |
631 |
<h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4> |
617 |
<h4>Checking out to [% INCLUDE 'patron-title.inc' %]</h4> |
632 |
<div id="circmessages" class="circmessage warning"> |
|
|
633 |
[% END %] |
618 |
[% END %] |
634 |
<h3> |
619 |
<h3> |
635 |
Cannot check out! |
620 |
Cannot check out! |
636 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
621 |
[% IF ( Koha.Preference('OnSiteCheckouts') && Koha.Preference('OnSiteCheckoutsForce') ) %] |
637 |
<span class="circ-hlt">Only on-site checkouts are allowed</span> |
622 |
<span class="circ-hlt">Only on-site checkouts are allowed</span> |
638 |
[% END %] |
623 |
[% END %] |
639 |
</h3> |
624 |
</h3> |
640 |
[% ELSE %] |
625 |
</div> |
641 |
<div id="circmessages" class="circmessage attention"> |
|
|
642 |
<h3>Attention:</h3> |
643 |
[% END %] |
644 |
|
626 |
|
645 |
<ul> |
627 |
<ul> |
646 |
|
628 |
|
Lines 699-706
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
699 |
[% END %] |
681 |
[% END %] |
700 |
<br/> |
682 |
<br/> |
701 |
<a class="btn btn-default btn-sm" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a> |
683 |
<a class="btn btn-default btn-sm" href="#reldebarments" onclick="$('#debarments-tab-link').click()"><i class="fa fa-ban"></i> View restrictions</a> |
702 |
[% IF (noissues && patron && CAN_user_circulate_force_checkout) %] |
684 |
[% IF (borrowernumber && CAN_user_circulate_force_checkout) %] |
703 |
<span class="override_debarment"> |
685 |
<span class="override_debarment issue-disallow"> |
704 |
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber %]" class="btn btn-default btn-sm">Override restriction temporarily</a> |
686 |
<a href="/cgi-bin/koha/circ/circulation.pl?forceallow=1&borrowernumber=[% patron.borrowernumber %]" class="btn btn-default btn-sm">Override restriction temporarily</a> |
705 |
</span> |
687 |
</span> |
706 |
[% END %] |
688 |
[% END %] |
Lines 710-718
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
710 |
[% IF ( odues ) %]<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li> |
692 |
[% IF ( odues ) %]<li><span class="circ-hlt">Overdues: Patron has ITEMS OVERDUE.</span> <a href="#checkouts">See highlighted items below</a></li> |
711 |
[% END %] |
693 |
[% END %] |
712 |
|
694 |
|
713 |
[% IF ( charges ) %] |
695 |
[% INCLUDE 'blocked-fines.inc' %] |
714 |
[% INCLUDE 'blocked-fines.inc' fines = chargesamount %] |
|
|
715 |
[% END %] |
716 |
|
696 |
|
717 |
[% IF ( charges_guarantees ) %] |
697 |
[% IF ( charges_guarantees ) %] |
718 |
<li> |
698 |
<li> |
Lines 798-808
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
798 |
|
778 |
|
799 |
<ul> |
779 |
<ul> |
800 |
<li> |
780 |
<li> |
801 |
[% IF ( issuecount ) %] |
781 |
<a href="#checkouts"><span id="issuecount">0</span> Checkout(s)</a> |
802 |
<a href="#checkouts">[% issuecount %] Checkout(s)</a> |
|
|
803 |
[% ELSE %] |
804 |
<a href="#checkouts">0 Checkouts</a> |
805 |
[% END %] |
806 |
</li> |
782 |
</li> |
807 |
|
783 |
|
808 |
[% IF relatives_issues_count %] |
784 |
[% IF relatives_issues_count %] |
Lines 980-986
No patron matched <span class="ex">[% message | html %]</span>
Link Here
|
980 |
[% INCLUDE 'timepicker.inc' %] |
956 |
[% INCLUDE 'timepicker.inc' %] |
981 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping_[% KOHA_VERSION %].js"></script> |
957 |
<script type="text/javascript" src="[% interface %]/lib/jquery/plugins/jquery.dataTables.rowGrouping_[% KOHA_VERSION %].js"></script> |
982 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/circulation_[% KOHA_VERSION %].js"></script> |
958 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/pages/circulation_[% KOHA_VERSION %].js"></script> |
983 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/checkouts_[% KOHA_VERSION %].js"></script> |
959 |
[% INCLUDE 'checkouts.inc' %] |
984 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/holds_[% KOHA_VERSION %].js"></script> |
960 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/holds_[% KOHA_VERSION %].js"></script> |
985 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/circ-patron-search-results_[% KOHA_VERSION %].js"></script> |
961 |
<script type="text/javascript" src="[% interface %]/[% theme %]/js/circ-patron-search-results_[% KOHA_VERSION %].js"></script> |
986 |
<script type="text/javascript"> |
962 |
<script type="text/javascript"> |