]> git.koha-community.org Git - koha.git/commit
Bug 24767: Hide the "Claim returned" tab if the feature is turned off
authorKyle M Hall <kyle@bywatersolutions.com>
Thu, 12 Mar 2020 11:07:48 +0000 (07:07 -0400)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 3 Apr 2020 17:27:35 +0000 (17:27 +0000)
commit5d4f396c7e9114dbfb0bb45bc2b9e862b2af0ecd
tree1422219171546d65c3129627d11273bd71ddce1d
parent572c3afef1a3b6dfe3ee4d841737170ee92b7e1f
Bug 24767: Hide the "Claim returned" tab if the feature is turned off

The ability to claim an item "claim returned" is not there if the syspref is empty, however, the Claim Returned tab is stil present on the patrons detail page.

Test Plan:
1) Ensure ClaimReturnedLostValue is not set
2) Note the claims tabs on the circulation and patron details pages
3) Apply this patch
4) Refresh those pages
5) The claims tabs should be gone!

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt