]> git.koha-community.org Git - koha.git/commit
Bug 29504: Allow 'ADDITIONAL_MATERIALS' check to be confirmed
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 22 Nov 2021 11:33:25 +0000 (11:33 +0000)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Thu, 21 Jul 2022 14:31:19 +0000 (16:31 +0200)
commitcf1afb56857b2a7faffd2f8dfd5accb2ed845f95
treee036a157ec21ca1c90737ca97c77aa44e9032f23
parentba3d9d51de900e776bbb15ac8a7ae5caecd0ac95
Bug 29504: Allow 'ADDITIONAL_MATERIALS' check to be confirmed

The additional materials check when CircConfirmParts is enabled was
errantly relying upon the 'FORCE_CHECKOUT' permission.  This patch
updates the template to allow confirmation as well as cancellation of
chekout.

Test plan
1. Set a staff member with circ permissions, but not FORCE_CHECKOUT
2. Turn on CircConfirmItemParts
3. Log in as staff member in step 1
4. Attempt to checkout an item with a 952$3
5. The only option given is the Continue button (with a red X) and when
   clicked, the item does not get checked out.
6. Apply patch
7. Repeat step 4.
8. You should now have the option to 'Yes, check out (Y)' or
   'No, don't check out (N)'

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>
(cherry picked from commit 49ef741405d0b81ba0cb37dd81fa9a4b5aba5bbb)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 39f89b43fd0a1083b85b4902b4338aee04224a44)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt