]> git.koha-community.org Git - koha.git/commit
Bug 33620: Don't show guarantor info on details page if borrowerRelationship is empty
authorLucas Gass <lucas@bywatersolutions.com>
Fri, 7 Jul 2023 16:07:47 +0000 (16:07 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 18 Oct 2023 18:41:33 +0000 (15:41 -0300)
commit3d21b002c12fcf39359782fb587ae05836b2b62e
treefc86a5bf20420440ab6f6d4fe36ad2a17f16b959
parentf596a474171193543da9d573e787f7e55a1ddd29
Bug 33620: Don't show guarantor info on details page if borrowerRelationship is empty

To test:
1. Apply patch
2. Have some values in borrowerRelationship.
3. Go to a patron details page and see both 'Show checkouts to guarantor:' and 'Show charges to guarantor:'
4. Now empty borrowerRelationship.
5. Visit the patron detail page again and you should no longer see either of those fields.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt