[%# duplicates circ-menu.inc but assumes all borrower attributes are in a borrower variable rather than
in the global namespace %]
[% IF borrower %]
[% borrower.firstname %] [% borrower.surname %] ([% borrower.cardnumber %])
[% IF ( patronimages ) %]
[% IF borrower.has_picture %]
[% ELSE %]
[% END %]
[% END %]
[% IF ( borrower.address or borrower.address2 ) %]
[% IF ( borrower.address ) %]
- [% borrower.address %]
[% END %]
[% IF ( borrower.address2 ) %]
- [% borrower.address2 %]
[% END %]
[% ELSE %]
- No address stored.
[% END %]
-
[% IF borrower.city %]
[% borrower.city %][% IF borrower.state %], [% borrower.state %][% END %]
[% borrower.zipcode %][% IF ( borrower.country ) %], [% borrower.country %][% END %]
[% ELSE %]
No city stored.
[% END %]
- [% IF borrower.phone %]
[% borrower.phone %]
[% ELSE %]
[% IF borrower.mobile %]
[% borrower.mobile %]
[% ELSE %]
[% IF borrower.phonepro %]
[% borrower.phonepro %]
[% ELSE %]
No phone stored.
[% END %]
[% END %]
[% END %]
[% IF borrower.email %]
- [% borrower.email %]
[% ELSE %]
[% IF borrower.emailpro %]
- [% borrower.emailpro %]
[% ELSE %]
- No email stored.
[% END %]
[% END %]
[% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN borrower.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: [% borrower.description %] ([% borrower.categorycode %])
- Home library: [% IF ( borrower.branchname ) %][% borrower.branchname %][% ELSE %][% borrower.branch %][% END %]
[% END %]