]> git.koha-community.org Git - koha.git/commit
Bug 37345: Only toggle_onsite_checkout() if OnSiteCheckoutAutoCheck is enabled
authorLucas Gass <lucas@bywatersolutions.com>
Mon, 15 Jul 2024 16:20:15 +0000 (16:20 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 19 Jul 2024 09:48:38 +0000 (11:48 +0200)
commit637cfe45d94d322f0c7946f00521249cf176a1d2
tree1e082197f7302de7855a420ed94cf7b1ae5cd079
parent915974f3dbb67c5ef5fa8ce29a158af39182c3c9
Bug 37345: Only toggle_onsite_checkout() if OnSiteCheckoutAutoCheck is enabled

To test:
1. Find an item to checkout and a patron to check out to.
2. Set a due manually: "Specify due date (MM/DD/YYYY):"
3. Before checking out click the "Remember for session:" checkbox.
4. Check the item out.
5. The specific due date is not retained.
6. APPLY PATCH
7. Try 1 -4 again, now the date should be sticking.
8. Turn on the OnSiteCheckouts system pref and make sure it still works
9. Turn on the  OnSiteCheckoutAutoCheck system pref and make sure the on-site checkbox is still checked after doing an on-site checkout.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 3276e0fa0c9931bab75c50b59c66c44f89c459b3)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 75a77a3c82c0f51d7ead49e6670aef7bd4029242)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt