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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 10 Jul 2023 18:43:08 +0000 (15:43 -0300)
commit8cb2dd4e3077f95528ffffaa4a825aae314d034f
tree49fcb1ac4f1186a1fcb1b010e9dfca87f3e17f43
parent55f3eb3919b282dd3adf7c584b57158b8eed8c25
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>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt