[% USE Koha %]
[% IF ( patron.borrowernumber ) %]
[% INCLUDE 'patron-title.inc' %]
[% IF ( patronimages ) %]
[% IF ( patron.image ) %]
-
[% ELSE %]
-
[% END %]
[% END %]
[% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %]
[% SWITCH Koha.Preference( 'AddressFormat' ) %]
[% CASE 'de' %]
[% INCLUDE 'member-display-address-style-de.inc' %]
[% CASE # us %]
[% INCLUDE 'member-display-address-style-us.inc' %]
[% END %]
[% IF ( patron.phone || patron.mobile || patron.phonepro ) %]-
[% IF ( patron.phone ) %]
[% patron.phone | html %]
[% ELSE %]
[% IF ( patron.mobile ) %]
[% patron.mobile | html %]
[% ELSE %]
[% IF ( patron.phonepro ) %]
[% patron.phonepro | html %]
[% END %]
[% END %]
[% END %]
[% END %]
[% IF ( patron.email ) %]
- [% patron.email | html %]
[% ELSE %]
[% IF ( patron.emailpro ) %]
- [% patron.emailpro | html %]
[% END %]
[% END %]
[% UNLESS ( patron.address or patron.address2 ) %]
- No address stored.
[% END %]
[% UNLESS ( patron.city ) %]
- No city stored.
[% END %]
[% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
- No phone stored.
[% END %]
[% UNLESS ( patron.email or patron.emailpro) %]
- No email stored.
[% END %]
[% END %]
[% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
[% IF ( extendedattribute.display_checkout ) %]
[% IF ( extendedattribute.value ) %]
- [% extendedattribute.description | html %] : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description | html %][% ELSE %][% extendedattribute.value | html %][% END %]
[% END %]
[% END %]
[% END %][% END %]
- Category: [% patron.category.description | html %] ([% patron.categorycode | html %])
- Home library: [% Branches.GetName( patron.branchcode ) | html %]
- Borrowernumber: [% patron.borrowernumber | html %]
[% END %]