Bug 18885: Specify due date behavior according to on-site checkbox
authorThibaud Guillot <thibaud.guillot@biblibre.com>
Tue, 31 Oct 2023 12:57:00 +0000 (13:57 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Fri, 22 Mar 2024 11:26:37 +0000 (12:26 +0100)
commitec8897377e4179461b8d0495f1495fccbd0820db
tree9ac404d8ff33bce043eb9f2a529c84ea6861556b
parent9cc622be1fb267efe5202f24450f9c5acee77fd2
Bug 18885: Specify due date behavior according to on-site checkbox

When a on-site checkout is performed a date is automatically added but
if you unchecked the date remains. Even with OnSiteCheckoutAutoCheck
syspref

Test plan:
1) Do an on-site checkout by clicking on checkbox and see date added
2) Unchecked and see that the date remains on input
3) Do another test with OnSiteCheckoutAutoCheck enabled
4) Apply this patch and repeat actions

Normally now its works correctly

Signed-off-by: tuxayo <victor@tuxayo.net>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt