[% USE Koha %]
[% IF ( borrowernumber ) %]
[% INCLUDE 'patron-title.inc' %]
[% IF ( patronimages ) %]
[% IF ( picture ) %]
[% ELSE %]
[% END %]
[% END %]
[% SWITCH Koha.Preference( 'AddressFormat' ) %]
[% CASE 'de' %]
[% INCLUDE 'member-display-address-style-de.inc' %]
[% CASE # us %]
[% INCLUDE 'member-display-address-style-us.inc' %]
[% END %]
[% IF ( phone ) %]-
[% phone %]
[% ELSE %]
[% IF ( mobile ) %]
[% mobile %]
[% ELSE %]
[% IF ( phonepro ) %]
[% phonepro %]
[% END %]
[% END %]
[% END %]
[% IF ( email ) %]
- [% email %]
[% ELSE %]
[% IF ( emailpro ) %]
- [% emailpro %]
[% 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: [% IF ( branchname ) %][% branchname %][% ELSE %][% branch %][% END %]
[% END %]