]> 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)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Sun, 24 Jul 2022 03:07:08 +0000 (05:07 +0200)
commit8c525d75a02685a4b99b50c730ad3bb5311ecd6a
tree5c93574b8fd006e24876658552a36e6844fe34fd
parent71384ce51b344babf3ca698ad8529be4caadf172
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>
(cherry picked from commit cf1afb56857b2a7faffd2f8dfd5accb2ed845f95)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt