Koha/circ
Fridolin Somers dae97fd2b7
Bug 33345: On-site checkout checkbox does not work since issue date using flatpickr
Since Bug 30718, date due uses flatpickr.
The JavaScript code setting due date via on-site checkout checkbox needs to be adapted.
Sort of like Bug 30717.

This patch renames the variable sent to template
'today_due_date_and_time' to avoid confusion with variable 'todaysdate'
used in other templates.

Test plan :
1) Enable system preference 'OnSiteCheckouts'
2) Go to a patron circulation page /cgi-bin/koha/circ/circulation.pl
3) Click on settings icon inside barcode input
=> Check due date input is empty
4) Click on 'On-site checkout'
=> Check due date input is filled with today date at 23:59
5) Fill barcode input and do check-out
6) Check due date is correct

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-14 11:35:22 -03:00
..
add_message.pl
article-request-slip.pl
article-requests.pl
bookcount.pl Bug 33149: Use template wrapper for breadcrumbs: Circulation part 1 2023-04-06 09:29:26 -03:00
branchoverdues.pl
branchtransfers.pl
checkout-notes.pl
circulation-home.pl
circulation.pl Bug 33345: On-site checkout checkbox does not work since issue date using flatpickr 2023-04-14 11:35:22 -03:00
curbside_pickups.pl Bug 32883: (QA follow-up) Adjust ordering for pickups 2023-03-27 11:49:33 +02:00
del_message.pl
hold-transfer-slip.pl
offline-mf.pl
offline.pl
on-site_checkouts.pl
overdue.pl
pendingreserves.pl Bug 32421: Add collection column to holds to pull 2023-03-14 09:06:14 -03:00
renew.pl
request-article.pl
reserveratios.pl
returns.pl Bug 31615: Allow checkin of items bundles without verifying their contents 2023-04-06 10:45:03 -03:00
set-library.pl
transfer-slip.pl
transfers_to_send.pl
transferstoreceive.pl
view_holdsqueue.pl
waitingreserves.pl