]> git.koha-community.org Git - koha.git/commit
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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 22 May 2024 14:08:55 +0000 (16:08 +0200)
commit9dbc2737e1073794c653cb7b605d6be142d64996
tree86bb092dbfc9c433b90aa541ff77a904aebe3571
parente04518f050ecbf8cbcf9ff86c9dca8501ef4fafe
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>
(cherry picked from commit ec8897377e4179461b8d0495f1495fccbd0820db)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt