2 [% IF ( patron.borrowernumber ) %]
3 <div class="patroninfo"><h5>[% INCLUDE 'patron-title.inc' %]</h5>
5 <style type="tex/css">img { width: expression(this.width > 140 ? 140: true);
8 <ul class="patronbriefinfo">
9 [% IF ( patronimages ) %]
10 [% IF ( patron.image ) %]
12 <img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" id="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" />
15 <li id="patronbasics">
20 [% IF !(Koha.Preference('HidePersonalPatronDetailOnCirculation')) %]
21 [% SWITCH Koha.Preference( 'AddressFormat' ) %]
23 [% INCLUDE 'member-display-address-style-de.inc' %]
25 [% INCLUDE 'member-display-address-style-us.inc' %]
28 [% IF ( patron.phone || patron.mobile || patron.phonepro ) %]<li class="patronphone">
29 [% IF ( patron.phone ) %]
30 <a href="tel:[% patron.phone | url %]">[% patron.phone | html %]</a>
32 [% IF ( patron.mobile ) %]
33 <a href="tel:[% patron.mobile | url %]">[% patron.mobile | html %]</a>
35 [% IF ( patron.phonepro ) %]
36 <a href="tel:[% patron.phonepro | url %]">[% patron.phonepro | html %]</a>
39 [% END %]</li>[% END %]
40 [% IF ( patron.email ) %]
41 <li class="email"> <a href="mailto:[% patron.email | url %]" title="[% patron.email | html %]">[% patron.email | html %]</a></li>
43 [% IF ( patron.emailpro ) %]
44 <li class="email"> <a href="mailto:[% patron.emailpro | url %]" title="[% patron.emailpro | html %]">[% patron.emailpro | html %]</a></li>
48 [% UNLESS ( patron.address or patron.address2 ) %]
49 <li><span class="empty" id="noaddressstored">No address stored.</span></li>
51 [% UNLESS ( patron.city ) %]
52 <li><span class="empty" id="nocitystored">No city stored.</span></li>
54 [% UNLESS ( patron.phone or patron.mobile or patron.phonepro) %]
55 <li> <span class="empty">No phone stored.</span></li>
57 [% UNLESS ( patron.email or patron.emailpro) %]
58 <li> <span class="empty">No email stored.</span></li>
62 [% IF ( ExtendedPatronAttributes ) %][% FOREACH extendedattribute IN extendedattributes %]
63 [% IF ( extendedattribute.display_checkout ) %]
64 [% IF ( extendedattribute.value ) %]
65 <li class="patronattribute"><span class="patronattributelabel">[% extendedattribute.description | html %]</span> : [% IF ( extendedattribute.value_description ) %][% extendedattribute.value_description | html %][% ELSE %][% extendedattribute.value | html %][% END %]</li>
69 <li class="patroncategory">Category: [% patron.category.description | html %] ([% patron.categorycode | html %])</li>
70 <li class="patronlibrary">Home library: [% Branches.GetName( patron.branchcode ) | html %]</li>
71 <li class="patronborrowernumber">Borrowernumber: [% patron.borrowernumber | html %]</li>
75 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
76 [% IF ( circview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | html %]">Check out</a></li>
77 [% IF Koha.Preference('BatchCheckouts') && Koha.Preference('BatchCheckoutsValidCategories').split('\|').grep('^' _ patron.categorycode _ '$').size > 0 %]
78 [% IF ( batch_checkout_view ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/circ/circulation.pl?borrowernumber=[% patron.borrowernumber | html %]&batch=1">Batch check out</a></li>
81 [% IF CAN_user_borrowers_edit_borrowers %]
82 [% IF ( detailview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% patron.borrowernumber | html %]">Details</a></li>
84 [% IF ( CAN_user_updatecharges ) %]
85 [% IF ( finesview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% patron.borrowernumber | html %]">Fines</a></li>
87 [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
88 [% IF Koha.Preference("RoutingSerials") %][% IF ( routinglistview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/routing-lists.pl?borrowernumber=[% patron.borrowernumber | html %]">Routing lists</a></li>[% END %]
90 [% IF CAN_user_borrowers_edit_borrowers %]
91 [% IF ( intranetreadinghistory ) %]
92 [% IF ( readingrecordview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=[% patron.borrowernumber | html %]">Circulation history</a></li>
95 [% IF CAN_user_borrowers_edit_borrowers %]
96 [% IF ( intranetreadinghistory ) %]
97 [% IF ( holdshistoryview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/holdshistory.pl?borrowernumber=[% patron.borrowernumber | html %]">Holds history</a></li>
100 [% IF ( CAN_user_parameters ) %]
101 [% IF ( logview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&modules=MEMBERS&modules=circulation&object=[% patron.borrowernumber | html %]&src=circ">Modification log</a></li>
103 [% IF CAN_user_borrowers_edit_borrowers %]
104 [% IF ( sentnotices ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/notices.pl?borrowernumber=[% patron.borrowernumber | html %]">Notices</a></li>
106 [% IF CAN_user_borrowers_edit_borrowers %]
107 [% IF ( statisticsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/statistics.pl?borrowernumber=[% patron.borrowernumber | html %]">Statistics</a></li>
109 [% IF CAN_user_borrowers_edit_borrowers %]
110 [% IF ( EnableBorrowerFiles ) %]
111 [% IF ( borrower_files ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/files.pl?borrowernumber=[% patron.borrowernumber | html %]">Files</a></li>
115 [% IF CAN_user_acquisition_suggestions_manage %]
116 [% IF ( suggestionsview ) %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/purchase-suggestions.pl?borrowernumber=[% patron.borrowernumber | html %]">Purchase suggestions</a></li>
118 [% IF CAN_user_borrowers_edit_borrowers && useDischarge %]
119 [% IF dischargeview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/discharge.pl?borrowernumber=[% patron.borrowernumber | html %]">Discharges</a></li>
121 [% IF Koha.Preference('HouseboundModule') %]
122 [% IF houseboundview %]<li class="active">[% ELSE %]<li>[% END %]<a href="/cgi-bin/koha/members/housebound.pl?borrowernumber=[% patron.borrowernumber | html %]">Housebound</a></li>
124 [% IF Koha.Preference('ILLModule') && CAN_user_ill %]
125 <li><a href="/cgi-bin/koha/ill/ill-requests.pl?borrowernumber=[% patron.borrowernumber | html %]">Interlibrary loans</a></li>