@@ -, +, @@
separate on patron entry form
- Open an adult patron for editing. You should see no guarantor-related
fields.
- Open a child patron for editing. There should be two guarantor
sections: "Patron guarantor" and "Non-patron guarantor."
- Test that adding patron guarantors and non-patron guarantors works
correctly.
- Add "contactname|contactfirstname|relationship" to the
BorrowerUnwantedField system preference.
- Reload the child patron entry form. The non-patron guarantor
section should now be hidden.
---
.../prog/en/modules/members/memberentrygen.tt | 113 +++++++++++----------
1 file changed, 60 insertions(+), 53 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt
@@ -409,7 +409,7 @@ legend:hover {
[% SET possible_relationships = Koha.Preference('borrowerRelationship') %]
+
+ [% UNLESS nocontactname && nocontactfirstname && norelationship %]
+