]> git.koha-community.org Git - koha.git/commit
Bug 29002: Add bookable state to items
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 10 Nov 2021 11:42:17 +0000 (11:42 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 3 Nov 2023 15:04:11 +0000 (12:04 -0300)
commit2472214301fc04250a978570b78096ebf4d5e5d1
tree3ae8fdda9f94a414d95ab6cccde43366216464b4
parent662c4d6ba2c9370ee315cd1a99f99cb5acb0ec4d
Bug 29002: Add bookable state to items

This patch adds a bookable boolean to enable/disable the ability to book
an item ahead of time

Test plan
1) Navigate to the 'Items' tab of a biblio
2) Note the new 'Bookable' option and select at least one item to allow
   bookings to take place
3) Note that without any items selected as 'bookable' one does not have
   the 'Place booking' option or the 'Bookings' tab on the biblio
   details page.
4) Note that when at least one item is bookable, the place booking modal
   now only displays items that are marked as bookable in the item
   selection
5) Sign off

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Janet McGowan <janet.mcgowan@ptfs-europe.com>
Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>
Signed-off-by: Laurence Rault <laurence.rault@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Koha/Items.pm
Koha/Template/Plugin/Biblio.pm
api/v1/swagger/definitions/item.yaml
catalogue/updateitem.pl
installer/data/mysql/atomicupdate/bug_29002.pl
installer/data/mysql/kohastructure.sql
koha-tmpl/intranet-tmpl/prog/en/includes/biblio-view-menu.inc
koha-tmpl/intranet-tmpl/prog/en/includes/cat-toolbar.inc
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt