[% USE Koha %]
[% IF ( borrowernumber ) %]
[% INCLUDE 'patron-title.inc' %]
[% IF ( patronimages ) %]
[% IF ( picture ) %]
-
[% ELSE %]
-
[% END %]
[% END %]
[% IF Koha.Preference( 'AddressFormat' ) %]
[% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
[% ELSE %]
[% INCLUDE 'member-display-address-style-us.inc' %]
[% END %]
[% IF ( phone || mobile || phonepro ) %]-
[% IF ( phone ) %]
[% phone | html %]
[% ELSE %]
[% IF ( mobile ) %]
[% mobile | html %]
[% ELSE %]
[% IF ( phonepro ) %]
[% phonepro | html %]
[% END %]
[% END %]
[% END %]
[% END %]
[% IF ( email ) %]
- [% email | html %]
[% ELSE %]
[% IF ( emailpro ) %]
- [% emailpro | html %]
[% END %]
[% END %]
[% UNLESS ( address or address2 ) %]
- No address stored.
[% END %]
[% UNLESS ( city ) %]
- No city stored.
[% END %]
[% UNLESS ( phone or mobile or phonepro) %]
- No phone stored.
[% END %]
[% UNLESS ( email or emailpro) %]
- No email stored.
[% END %]
[% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
[% IF ( extendedattribute.display_checkout ) %]
[% IF ( extendedattribute.value ) %]
- [% extendedattribute.description %] : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description %][% ELSE %][% extendedattribute.value %][% END %]
[% END %]
[% END %]
[% END %][% END %]
- Category: [% categoryname %] ([% categorycode %])
- Home library: [% Branches.GetName( branchcode ) %]
[% END %]