Lines 644-650
No patron matched <span class="ex">[% message %]</span>
Link Here
|
644 |
|
644 |
|
645 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
645 |
[% IF (forceallow) %]<input type="hidden" name="forceallow" value="1">[% END %] |
646 |
|
646 |
|
647 |
<label for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> |
647 |
<label class="circ_barcode" for="barcode">Checking out to [% INCLUDE 'patron-title.inc' %]</label> |
648 |
|
648 |
|
649 |
<div class="hint">Enter item barcode:</div> |
649 |
<div class="hint">Enter item barcode:</div> |
650 |
|
650 |
|
Lines 655-722
No patron matched <span class="ex">[% message %]</span>
Link Here
|
655 |
[% END %] |
655 |
[% END %] |
656 |
<button type="submit" class="btn">Check out</button> |
656 |
<button type="submit" class="btn">Check out</button> |
657 |
|
657 |
|
658 |
[% UNLESS noissues %] |
658 |
<div id="show-checkout-settings"> |
659 |
<div class="date-select"> |
659 |
<a href="#"><i class="fa fa-caret-right checkout-settings-icon"></i> Checkout settings</a> |
660 |
[% IF NEEDSCONFIRMATION %] |
660 |
</div> |
661 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
|
|
662 |
[% ELSE %] |
663 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" /> |
664 |
[% END %] |
665 |
|
661 |
|
666 |
<label for="auto_renew">Automatic renewal</label> |
662 |
<div class="checkout-settings"> |
667 |
|
663 |
|
668 |
[% IF Koha.Preference('decreaseLoanHighHolds') %] |
664 |
[% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %] |
669 |
[% IF NEEDSCONFIRMATION %] |
665 |
[% IF ( SpecifyDueDate ) %] |
670 |
[% IF override_high_holds %] |
666 |
<div id="specify-due-date" class="checkout-setting"> |
671 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/> |
667 |
<div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> |
|
|
668 |
[% IF ( duedatespec ) %] |
669 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" /> |
672 |
[% ELSE %] |
670 |
[% ELSE %] |
673 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled"/> |
671 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" /> |
674 |
[% END %] |
672 |
[% END %] |
675 |
[% ELSE %] |
673 |
<label for="stickyduedate"> Remember for session:</label> |
676 |
[% IF override_high_holds %] |
674 |
[% IF ( stickyduedate ) %] |
677 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" checked="checked" /> |
675 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" /> |
678 |
[% ELSE %] |
676 |
[% ELSE %] |
679 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" /> |
677 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" /> |
680 |
[% END %] |
678 |
[% END %] |
681 |
[% END %] |
679 |
<button class="btn btn-small 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> |
682 |
<label for="override_high_holds">Don't decrease loan length based on holds</label> |
680 |
</div> |
683 |
[% END %] |
681 |
[% END %] |
684 |
</div> |
682 |
[% END %] |
685 |
[% END %] |
|
|
686 |
|
683 |
|
687 |
[% UNLESS ( noissues && Koha.Preference('OnSiteCheckoutsForce') ) %] |
684 |
[% UNLESS ( noissues ) %] |
688 |
[% IF ( SpecifyDueDate ) %] |
685 |
<div id="set-automatic-renewal" class="checkout-setting"> |
689 |
<div class="date-select"> |
686 |
[% IF NEEDSCONFIRMATION %] |
690 |
<div class="hint">Specify due date [% INCLUDE 'date-format.inc' %]: </div> |
687 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" disabled="disabled" /> |
691 |
[% IF ( duedatespec ) %] |
|
|
692 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="[% duedatespec %]" readonly="readonly" /> |
693 |
[% ELSE %] |
688 |
[% ELSE %] |
694 |
<input type="text" size="13" id="duedatespec" name="duedatespec" value="" readonly="readonly" /> |
689 |
<input type="checkbox" name="auto_renew" id="auto_renew" value="auto_renew" /> |
695 |
[% END %] |
690 |
[% END %] |
696 |
<label for="stickyduedate"> Remember for session:</label> |
691 |
|
697 |
[% IF ( stickyduedate ) %] |
692 |
<label for="auto_renew">Automatic renewal</label> |
698 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" checked="checked" /> |
693 |
</div> |
|
|
694 |
[% IF Koha.Preference('decreaseLoanHighHolds') %] |
695 |
<div id="set_high_holds_overrride" class="checkout-setting"> |
696 |
[% IF NEEDSCONFIRMATION %] |
697 |
[% IF override_high_holds %] |
698 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled" checked="checked"/> |
699 |
[% ELSE %] |
700 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" disabled="disabled"/> |
701 |
[% END %] |
702 |
[% ELSE %] |
703 |
[% IF override_high_holds %] |
704 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" checked="checked" /> |
705 |
[% ELSE %] |
706 |
<input type="checkbox" name="override_high_holds" id="override_high_holds" value="1" /> |
707 |
[% END %] |
708 |
[% END %] |
709 |
<label for="override_high_holds">Don't decrease checkout length based on holds</label> |
710 |
</div> |
711 |
[% END %] |
712 |
[% END %] |
713 |
|
714 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
715 |
<div id="onsite_checkout-select" class="checkout-setting"> |
716 |
[% IF noissues %] |
717 |
<div class="onsite-checkout-only"> |
718 |
<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> |
719 |
<input type="text" name="duedatespec" id="duedatespec" readonly="readonly" /> |
720 |
<input type="hidden" name="onsite_checkout" checked="checked" value="1" /> |
721 |
</div> |
699 |
[% ELSE %] |
722 |
[% ELSE %] |
700 |
<input type="checkbox" id="stickyduedate" onclick="this.form.barcode.focus();" name="stickyduedate" /> |
723 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label> |
701 |
[% END %] |
724 |
[% END %] |
702 |
<button class="btn btn-small 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> |
|
|
703 |
</div> |
725 |
</div> |
704 |
[% END %] |
726 |
[% END %] |
705 |
[% END %] |
|
|
706 |
|
727 |
|
707 |
[% IF Koha.Preference('OnSiteCheckouts') %] |
728 |
</div> <!-- /.checkout-settings --> |
708 |
<div class="onsite_checkout-select"> |
|
|
709 |
[% IF noissues %] |
710 |
<div class="onsite-checkout-only"> |
711 |
<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> |
712 |
<input type="text" name="duedatespec" id="duedatespec" readonly="readonly" /> |
713 |
<input type="hidden" name="onsite_checkout" checked="checked" value="1" /> |
714 |
</div> |
715 |
[% ELSE %] |
716 |
<input type="checkbox" id="onsite_checkout" name="onsite_checkout" /> <label for="onsite_checkout">On-site checkout</label> |
717 |
[% END %] |
718 |
</div> |
719 |
[% END %] |
720 |
|
729 |
|
721 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /> |
730 |
<input type="hidden" name="borrowernumber" id="borrowernumber" value="[% borrowernumber %]" /> |
722 |
<input type="hidden" name="branch" value="[% branch %]" /> |
731 |
<input type="hidden" name="branch" value="[% branch %]" /> |
723 |
- |
|
|