Lines 367-372
Link Here
|
367 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> |
367 |
<form method="post" action="/cgi-bin/koha/circ/returns.pl" autocomplete="off"> |
368 |
<input type="hidden" name="barcode" value="[% item.barcode | html %]" /> |
368 |
<input type="hidden" name="barcode" value="[% item.barcode | html %]" /> |
369 |
<input type="hidden" name="multiple_confirm" value="1" /> |
369 |
<input type="hidden" name="multiple_confirm" value="1" /> |
|
|
370 |
<input type="hidden" name="delay_notice_until" value="[% delay_notice_until | html %]" /> |
370 |
[% FOREACH inputloo IN inputloop %] |
371 |
[% FOREACH inputloo IN inputloop %] |
371 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
372 |
<input type="hidden" name="ri-[% inputloo.counter | html %]" value="[% inputloo.barcode | html %]" /> |
372 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
373 |
<input type="hidden" name="dd-[% inputloo.counter | html %]" value="[% inputloo.duedate | html %]" /> |
Lines 432-437
Link Here
|
432 |
<form method="post" action="returns.pl" name="wrongtransferform" id="wrongtransferform"> |
433 |
<form method="post" action="returns.pl" name="wrongtransferform" id="wrongtransferform"> |
433 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
434 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
434 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
435 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
|
|
436 |
<input type="hidden" name="delay_notice_until" value="[% delay_notice_until | html %]" /> |
435 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
437 |
<input type="hidden" name="itemnumber" value="[% itemnumber | html %]" /> |
436 |
<input type="hidden" name="transit" value="[% NewTransfer | html %]" /> |
438 |
<input type="hidden" name="transit" value="[% NewTransfer | html %]" /> |
437 |
[% FOREACH inputloo IN inputloop %] |
439 |
[% FOREACH inputloo IN inputloop %] |
Lines 538-543
Link Here
|
538 |
|
540 |
|
539 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
541 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
540 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
542 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
|
|
543 |
<input type="hidden" name="delay_notice_until" value="[% delay_notice_until | html %]" /> |
541 |
[% INCLUDE all_checkin_messages %] |
544 |
[% INCLUDE all_checkin_messages %] |
542 |
</div> <!-- /.modal-body --> |
545 |
</div> <!-- /.modal-body --> |
543 |
|
546 |
|
Lines 609-614
Link Here
|
609 |
[% END %] |
612 |
[% END %] |
610 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
613 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
611 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
614 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
|
|
615 |
<input type="hidden" name="delay_notice_until" value="[% delay_notice_until | html %]" /> |
612 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
616 |
<input type="hidden" name="exemptfine" value="[% exemptfine | html %]" /> |
613 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
617 |
<input type="hidden" name="dropboxmode" value="[% dropboxmode | html %]" /> |
614 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
618 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
Lines 708-713
Link Here
|
708 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
712 |
<input type="hidden" name="forgivemanualholdsexpire" value="[% forgivemanualholdsexpire | html %]" /> |
709 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
713 |
<input type="hidden" name="return_date_override" value="[% return_date_override | html %]" /> |
710 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
714 |
<input type="hidden" name="return_date_override_remember" value="[% return_date_override_remember | html %]" /> |
|
|
715 |
<input type="hidden" name="delay_notice_until" value="[% delay_notice_until | html %]" /> |
711 |
[% INCLUDE all_checkin_messages %] |
716 |
[% INCLUDE all_checkin_messages %] |
712 |
</div> |
717 |
</div> |
713 |
|
718 |
|
Lines 800-805
Link Here
|
800 |
[% END %] |
805 |
[% END %] |
801 |
<p><i class="fa fa-check"></i> Saved check-in date: <span id="saved_return_date" class="single-line">[% return_date_override | html %]</span></p> |
806 |
<p><i class="fa fa-check"></i> Saved check-in date: <span id="saved_return_date" class="single-line">[% return_date_override | html %]</span></p> |
802 |
</div> |
807 |
</div> |
|
|
808 |
[% IF ( delay_notice_until ) %] |
809 |
<div id="delay_notice" class="checkin-active-setting"> |
810 |
[% ELSE %] |
811 |
<div id="delay_notice" class="checkin-active-setting" style="display:none;"> |
812 |
[% END %] |
813 |
<p><i class="fa fa-check"></i> Delay pickup notice until: <span id="saved_delay_notice" class="single-line">[% delay_notice_until | html %]</span></p> |
814 |
</div> |
803 |
</div> |
815 |
</div> |
804 |
</div> |
816 |
</div> |
805 |
|
817 |
|
Lines 851-857
Link Here
|
851 |
<label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label> |
863 |
<label for="forgivemanualholdsexpire">Forgive fees for manually expired holds</label> |
852 |
</div> |
864 |
</div> |
853 |
[% END %] <!-- overduecharges --> |
865 |
[% END %] <!-- overduecharges --> |
854 |
|
866 |
<div id="delay-notice" class="date-select" > |
|
|
867 |
<div class="hint">Delay pickup notice until: </div> |
868 |
<input type="text" size="20" id="delay_notice_until" name="delay_notice_until" value="[% delay_notice_until | html %]" class="flatpickr" data-flatpickr-enable-time="true" data-flatpickr-on-close-focus="#barcode" data-flatpickr-futuredatetime="true" /> |
869 |
</div> |
855 |
</div> <!-- /.circ-settings --> |
870 |
</div> <!-- /.circ-settings --> |
856 |
</fieldset> <!-- /#circ_returns_checkin --> |
871 |
</fieldset> <!-- /#circ_returns_checkin --> |
857 |
</form> <!-- /#checkin-form --> |
872 |
</form> <!-- /#checkin-form --> |
Lines 1038-1043
Link Here
|
1038 |
"dom": 'B<"clearfix">t', |
1053 |
"dom": 'B<"clearfix">t', |
1039 |
}, columns_settings); |
1054 |
}, columns_settings); |
1040 |
|
1055 |
|
|
|
1056 |
|
1041 |
$("#exemptcheck").change(function () { |
1057 |
$("#exemptcheck").change(function () { |
1042 |
if (this.checked == true) { |
1058 |
if (this.checked == true) { |
1043 |
$("#barcode").addClass("input-warning"); |
1059 |
$("#barcode").addClass("input-warning"); |
Lines 1147-1152
Link Here
|
1147 |
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); |
1163 |
window.open("/cgi-bin/koha/members/printslip.pl?borrowernumber=" + borrowernumber + "&print=checkinslip", "printwindow"); |
1148 |
}); |
1164 |
}); |
1149 |
|
1165 |
|
|
|
1166 |
$("input#delay_notice_until").on("change", function () { |
1167 |
console.log('change'); |
1168 |
let delay_date = $(this).val(); |
1169 |
$("span#saved_delay_notice").text(delay_date); |
1170 |
if ( delay_date == '' ){ |
1171 |
$("div#delay_notice").hide(); |
1172 |
} |
1173 |
else { |
1174 |
$("div#delay_notice").show(); |
1175 |
} |
1176 |
}); |
1177 |
|
1150 |
}); |
1178 |
}); |
1151 |
</script> |
1179 |
</script> |
1152 |
[% END %] |
1180 |
[% END %] |