]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Thu, 17 Dec 2020 15:46:44 +0000 (15:46 +0000)
commit0234d8e64af9647f1c78f26aac22619decc86fc3
tree5b51e6f8528950400e6a22a69746e6f104501940
parent9455ff0c787b6ff9bbeacd2ba58500584656d756
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>
(cherry picked from commit 3ae3981d3c881bbbd136015ae94e91961236d15e)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 188461bdfe00de99886e1a6e865f8a394f35e279)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/js/checkouts.js