]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 16 Mar 2020 10:57:28 +0000 (10:57 +0000)
commit22f2494914a4bbec0bb4612e813515ee7412008a
tree858aa25d38798c28955f9468e077a9132929ac91
parentc8468a92029af19ced6d1454ed4c5c3ae30aca34
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>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt