[Koha-bugs] [Bug 33345] On-site checkout checkbox does not work since issue date using flatpickr

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 27 23:34:19 CEST 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33345

--- Comment #2 from Fridolin Somers <fridolin.somers at biblibre.com> ---
There are other places setting 'duedatespec' input, but they are hidden so not
with flatpickr :

koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt:                   
$("input[name=duedatespec]:hidden").val('[% HIGHHOLDS.returndate | html %]');
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt:                   
    $("input[name=restoreduedatespec]:hidden").val('highholds_empty');
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt:                   
    $("input[name=restoreduedatespec]:hidden").val('[% duedatespec | html %]');
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt:                   
    $("input[name=duedatespec]:hidden").val('');
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt:   
                          $("input[name=duedatespec]:hidden").val('[%
checkout_info.HIGHHOLDS.returndate | html %]');
koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt:            if
($('#duedatespec').val().length === 0) {
koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt:            var
date_due = flatpickr.parseDate( $('#duedatespec').val(),
flatpickr_datetime_string );

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list