]> git.koha-community.org Git - koha.git/commit
Bug 25583: Disable the "claim returned" button if the feature is disabled
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Nov 2020 08:18:26 +0000 (09:18 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 9 Dec 2020 10:23:43 +0000 (11:23 +0100)
commit3ae3981d3c881bbbd136015ae94e91961236d15e
treec5ee497c5bf8d9cc65f11111ace87cab74caeae3
parent30acf1a9884b98b5e7e965fc057aa632cd781f8f
Bug 25583: Disable the "claim returned" button if the feature is disabled

It's possible to display the "Return claims" column on the checkout
list, even if the feature is disabled.
We should disable the link and add an explanation.

Test plan:
- Make sure ClaimReturnedLostValue is empty
- Go to a patron account
- Check out an item
- Make the claims returned column visible in the table of checkouts
=> The button is disabled and a tooltip explains that the feature is
disabled

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js