Bug 33817: Prevent item bundle that is checked out to be modified
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 May 2023 11:16:14 +0000 (13:16 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 18 Jul 2023 09:26:13 +0000 (10:26 +0100)
commita29fec1b4e9de007c7a833cea3df788c3e5cac29
treed03bbe5fb6515da53e0b83647e767a540c360941
parent3a550c39cb0dfef068b29ad58ecae2fc2f9480fb
Bug 33817: Prevent item bundle that is checked out to be modified

While an item bundle is checked out, we don't want any items to be
added or removed from the bundle.

To test:
* Create a record with LDR Pos. 7 = c
* Add an item for your bundle
* Add one or more existing items from other records to the bundle
* Check out the bundle item
* Verify it appears correctly on the patron account
* Verify you can still add/remove items from the bundle
* Apply patch set
* Verify that the add/remove links are now disabled (greyed out)

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 8cb2dd4e3077f95528ffffaa4a825aae314d034f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt