Bug 5918 : Use the default messaging preferences if the user does not select any
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember-brief.tt
1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha &rsaquo; Check duplicate patron</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4         <style type="text/css">
5                 #custom-doc { width:44.23em;*width:43.12em;min-width:491px; margin:auto; text-align:left; } 
6         </style>
7 </head>
8 <body style="padding:.5em;">
9 <div id="custom-doc" class="yui-t7">
10    <div id="bd">
11         <h3>[% UNLESS ( I ) %]
12    [% title %] [% firstname %] [% END %] [% surname %] ([% cardnumber %])</h3>
13 <div class="yui-g">
14 <div class="yui-u first">
15         <div id="patron-information" style="padding: .5em;">
16
17      [% UNLESS ( I ) %][% IF ( othernames ) %]&ldquo;[% othernames %]&rdquo;[% END %]
18
19         <p class="address">[% streetnumber %]
20         [% IF ( roaddetails ) %]
21          [% roaddetails %],
22         [% END %]
23         [% address %]<br />
24         [% IF ( address2 ) %][% address2 %]<br />[% END %]
25         [% IF ( city ) %][% city %][% END %]
26         [% IF ( zipcode ) %][% zipcode %]<br />[% END %]
27         [% IF ( country ) %][% country %][% END %]</p>
28
29         <div class="rows">
30                 <ol>
31         [% IF ( I ) %]
32             [% IF ( phonepro ) %]<li><span class="label">Organization phone: </span>[% phonepro %]</li>[% END %]
33             [% IF ( emailpro ) %]<li><span class="label">Organization email: </span>[% emailpro %]</li>[% END %]
34         [% ELSE %]
35             [% IF ( phone ) %]<li><span class="label">Home: </span>[% phone %]</li>[% END %]
36             [% IF ( mobile ) %]<li><span class="label">Mobile: </span>[% mobile %]</li>[% END %]
37             [% IF ( phonepro ) %]<li><span class="label">Work: </span>[% phonepro %]</li>[% END %]
38         [% END %]
39
40     [% IF ( P ) %]
41         [% IF ( phone ) %]<li><span class="label">Professional phone: </span>[% phone %]</li>[% END %]
42         [% IF ( mobile ) %]<li><span class="label">Professional mobile: </span>[% mobile %]</li>[% END %]
43     [% END %]
44         [% IF ( fax ) %]<li><span class="label">Fax: </span>[% fax %]</li>[% END %]
45     [% UNLESS ( I ) %]
46         [% IF ( email ) %]<li><span class="label">Email (home):</span><a href="mailto:[% email %]">[% email %]</a></li>[% END %]
47         [% IF ( emailpro ) %]<li><span class="label">Email (work): </span><a href="mailto:[% emailpro %]">[% emailpro %]</a></li>[% END %]
48     [% END %]
49     <li><span class="label">Initials: </span>[% initials %]</li>
50     <li><span class="label">Date of birth:</span>[% dateofbirth %]</li>
51     <li><span class="label">Gender:</span>[% IF ( sex == 'F' ) %]Female[% ELSIF ( sex == 'M' ) %]Male[% ELSE %][% sex %][% END %]</li>[% END %]
52     [% IF ( printethnicityline ) %]
53     <li><span class="label">Ethnicity:</span>[% ethnicity %]</li>
54     <li><span class="label">Ethnicity notes: </span>[% ethnotes %]</li>
55     [% END %]
56     [% IF ( isguarantee ) %]
57         [% IF ( guaranteeloop ) %]
58             <li><span class="label">Guarantees:</span><ul>[% FOREACH guaranteeloo IN guaranteeloop %]<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guaranteeloo.borrowernumber %]">[% guaranteeloo.name %]  </a></li>[% END %]</ul></li>
59         [% END %]
60     [% ELSE %]
61         [% IF ( guarantorborrowernumber ) %]
62             <li><span class="label">Guarantor:</span><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorborrowernumber %]">[% guarantorsurname %], [% guarantorfirstname %]</a></li>
63         [% END %]
64     [% END %]
65         </ol>
66         </div>
67         </div>
68         </div>
69         <div class="yui-u">
70         <div id="patron-library-details">
71         <h3>Library use</h3>
72         <div class="rows">
73         <ol>
74     <li><span class="label">Card number: </span>[% cardnumber %]</li>
75         <li><span class="label">Borrowernumber: </span> [% borrowernumber %]</li>
76     <li><span class="label">Category: </span>[% description %] ([% categorycode %])</li>
77     <li><span class="label">Registration date: </span>[% dateenrolled %]</li>
78     <li><span class="label">Expiration date: </span>
79     [% IF ( reregistration ) %]
80             <strong class="reregistrinfo">[% dateexpiry %]</span>
81     [% ELSE %]
82             [% dateexpiry %]
83     [% END %]
84     </li>
85     <li><span class="label">Library: </span>[% branchname %]</li>
86
87     [% IF ( sort1 ) %]<li><span class="label">Sort field 1:</span>[% lib1 %]</li>[% END %]
88     [% IF ( sort2 ) %]<li><span class="label">Sort field 2:</span>[% lib2 %]</li>[% END %]
89         </ol>
90         </div>
91         </div>
92         <fieldset class="action"><input type="button" class="submit" value="Close window" onclick="window.close();" /></fieldset>
93         </div>
94         </div>
95 </div>
96 </div>
97 [% INCLUDE 'popup-bottom.inc' %]