@@ -, +, @@ detail page - Create a patron with category type "Child" - Define a "guarantor surname" and/or "guarantor firstname" in the - See the patron's detail page and notice that the info appear - Edit and add a registered guarantor - See the patron's detail page and notice that the 2 guarantors info appear --- .../intranet-tmpl/prog/en/modules/members/moremember.tt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt @@ -263,9 +263,9 @@ [% END %] - [% ELSIF guarantor_relationships.count > 0 %] + [% ELSIF guarantor_relationships.count > 0 OR ( patron.contactfirstname OR patron.contactname ) %]
  • - [% IF guarantor_relationships.count > 1 %] + [% IF guarantor_relationships.count > 1 OR guarantor_relationships.count == 0 AND ( patron.contactfirstname OR patron.contactname ) %] Guarantors: [% ELSE %] Guarantor: @@ -274,9 +274,12 @@ [% FOREACH gr IN guarantor_relationships %] [% SET guarantor = gr.guarantor %] [% IF logged_in_user.can_see_patron_infos( guarantor ) %] -
  • [% guarantor.firstname | html %] [% guarantor.surname | html %]
  • +
  • [% guarantor.firstname | html %] [% guarantor.surname | html %][% IF gr.relationship %] ([% gr.relationship %])[% END %]
  • [% END %] [% END %] + [% IF patron.contactfirstname OR patron.contactname %] +
  • [% patron.contactfirstname %] [% patron.contactname %][% IF patron.relationship %] ([% patron.relationship %])[% END %]
  • + [% END %] [% END %] --