Enabling yuipath system preference for choosing local or Yahoo-hosted YUI js library...
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Patrons &rsaquo; <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 </head>
5 <body>
6 <!-- TMPL_INCLUDE NAME="header.inc" -->
7 <!-- TMPL_INCLUDE NAME="patron-search.inc" -->
8
9 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>  &rsaquo; <!-- TMPL_IF NAME="unknowuser" -->Patron does not exist<!-- TMPL_ELSE -->Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)<!-- /TMPL_IF --> </div>
10
11 <div id="doc3" class="yui-t1">
12    
13    <div id="bd">
14         <div id="yui-main">
15         <div class="yui-b">
16 <!-- TMPL_INCLUDE NAME="circ-toolbar.inc" -->
17
18 <div class="yui-g">
19 <!-- TMPL_IF NAME="unknowuser" -->
20     This patron does not exist.
21 <!-- TMPL_ELSE -->
22
23 <!-- TMPL_IF NAME="reregistration" --><div class="message">Patron's account has been renewed until <!-- TMPL_VAR NAME="dateexpiry" --></div><!-- /TMPL_IF -->
24 <form action="" name="form">
25 <input type="hidden" name="reregistration" value="<!-- TMPL_VAR NAME="reregistration"-->" /> 
26 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
27 </form>
28
29 <!-- TMPL_IF NAME="flagged" -->
30     <ul>
31         <!-- TMPL_IF NAME="debarred" -->
32             <li>Patron is restricted
33             <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
34                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
35                 <input type="hidden" name="status" value="0" />
36                 <input type="submit" value="Lift Debarment" />
37             </form>
38             </li>
39         <!-- /TMPL_IF -->
40         <!-- TMPL_IF NAME="gonenoaddress" --><li>Patron's address is in doubt.</li><!-- /TMPL_IF -->
41         <!-- TMPL_IF NAME="lost" --><li>Patron's card has been reported lost.</li><!-- /TMPL_IF -->
42     </ul>
43
44 <!-- /TMPL_IF -->
45
46
47  <div class="yui-u first">
48 <div id="patron-information" style="padding : .5em;">
49 <h3>
50     <!-- TMPL_UNLESS NAME="I" -->
51    <!-- TMPL_VAR NAME="title" --> <!-- TMPL_VAR NAME="firstname" --> <!-- /TMPL_UNLESS --> <!-- TMPL_VAR NAME="surname" --></h3> <!-- TMPL_UNLESS NAME="I" --><!-- TMPL_IF NAME="othernames" -->"<!-- TMPL_VAR NAME="othernames" -->"<!-- /TMPL_IF -->  <p><!-- TMPL_VAR NAME="streetnumber" -->
52         <!--TMPL_IF NAME="roaddetails"-->
53          <!-- TMPL_VAR NAME="roaddetails" -->,
54         <!-- /TMPL_IF -->
55         <!-- TMPL_VAR NAME="address" --><br />
56         <!-- TMPL_IF NAME="address2" --><!-- TMPL_VAR NAME="address2"--><br /><!-- /TMPL_IF -->
57         <!-- TMPL_IF NAME="city" --><!-- TMPL_VAR NAME="city" --><!-- /TMPL_IF -->
58         <!-- TMPL_IF NAME="zipcode" --><!-- TMPL_VAR NAME="zipcode" --><!-- /TMPL_IF --></p>
59                     
60         <p><!-- TMPL_UNLESS NAME="I"-->
61                         <!-- TMPL_IF NAME="phone" --><strong>Home: </strong><!-- TMPL_VAR NAME="phone" --><br /><!-- /TMPL_IF -->
62                     <!-- TMPL_IF NAME="mobile" --><strong>Mobile:  </strong><!-- TMPL_VAR NAME="mobile" --><br /><!-- /TMPL_IF -->
63                     <!-- TMPL_IF NAME="phonepro" --><strong>Work: </strong><!-- TMPL_VAR NAME="phonepro" --><br /><!-- /TMPL_IF -->
64                 <!-- /TMPL_UNLESS -->
65                    <!-- TMPL_IF NAME="I" -->
66   <!-- TMPL_IF NAME="phonepro" --><strong>Organisation phone: </strong><!-- TMPL_VAR NAME="phonepro" --><br /><!-- /TMPL_IF -->
67   <!-- TMPL_IF NAME="emailpro" --><strong>Organisation email: </strong><!-- TMPL_VAR NAME="emailpro" --><br /><!-- /TMPL_IF -->
68     <!-- /TMPL_IF -->
69
70     <!-- TMPL_IF NAME="P"-->
71    <!-- TMPL_IF NAME="phone" --> <strong>Professional phone: </strong><!-- TMPL_VAR NAME="phone" --><br /><!-- /TMPL_IF -->
72     <!-- TMPL_IF NAME="mobile" --><strong>Professionnal mobile: </strong><!-- TMPL_VAR NAME="mobile" --><br /><!-- /TMPL_IF -->
73     <!-- /TMPL_IF -->           
74         <!-- TMPL_IF NAME="fax" --><strong>Fax: </strong><!-- TMPL_VAR NAME="fax" --><br><!-- /TMPL_IF -->
75 </p>    <!-- TMPL_UNLESS NAME="I"-->
76     <p><a href="mailto:<!-- TMPL_VAR NAME="email" -->"><!-- TMPL_VAR NAME="email" --></a><!--TMPL_IF Name="emailpro"-->, <a href="mailto:<!-- TMPL_VAR NAME="emailpro" -->"><!-- TMPL_VAR NAME="emailpro" --></a><!--/TMPL_IF--></p>
77     <!-- /TMPL_UNLESS -->
78     <p><strong>Initials: </strong><!-- TMPL_VAR NAME="initials" --></p>
79     <p><strong>Date of birth:</strong><!-- TMPL_VAR NAME="dateofbirth" --></p>
80     <p><strong>Sex:</strong><!-- TMPL_VAR NAME="sex" --></p><!-- /TMPL_UNLESS -->
81     <!-- TMPL_IF NAME="printethnicityline" -->
82     <p><strong>Ethnicity:</strong><!-- TMPL_VAR NAME="ethnicity" --></p>
83     <p><strong>Ethnicity notes: </strong><!-- TMPL_VAR NAME="ethnotes" --></p>
84     <!-- /TMPL_IF -->
85    <!-- TMPL_IF name="isguarantee" -->
86             <!-- TMPL_IF NAME="guaranteeloop" -->
87                 <p><strong>Guarantees:</strong><ul><!-- tmpl_loop name="guaranteeloop" --><li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR NAME="name" -->  </a></li><!-- /tmpl_loop --></ul></p>
88             <!-- /TMPL_IF -->
89         <!-- TMPL_ELSE -->
90             <!-- TMPL_IF name="guarantorborrowernumber" -->
91                 <p><strong>Guarantor:</strong><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->"><!-- TMPL_VAR NAME="guarantorsurname" --> <!-- TMPL_VAR NAME="guarantorfirstname" --></a></p>
92             <!-- /TMPL_IF -->
93      <!-- /TMPL_IF  -->
94   
95     
96   
97             <a class="member-edit" href="memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;step=1">Edit</a>
98 </div>
99
100 <div id="patron-alternate-address" style="padding : .5em;">
101     <h3>Alternate Address</h3>
102     <!-- TMPL_UNLESS NAME="I"-->
103       <!-- TMPL_UNLESS NAME="C"-->
104   <p><!-- TMPL_VAR NAME="B_address" --><br />
105       <!-- TMPL_VAR NAME="B_city" --><br />
106       <!-- TMPL_VAR NAME="B_zipcode" --></p>
107   <!-- /TMPL_UNLESS -->
108     <!-- /TMPL_UNLESS -->
109  
110      <!-- TMPL_IF NAME="C" -->
111     <p><strong>Name: </strong><!-- TMPL_VAR NAME="contactname" --></p>
112     <p><strong>Firstname: </strong><!-- TMPL_VAR NAME="firstname" --></p>    
113     <p><strong>Phone: </strong><!-- TMPL_VAR NAME="phone" --></p>
114     <p><strong>Email: </strong><!-- TMPL_VAR NAME="email" --></p>
115     <p><strong>Relationship: </strong><!-- TMPL_VAR NAME="relationship" --></p>
116    <!-- /TMPL_IF -->
117        
118     <a class="member-edit" href="memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;step=2">Edit</a>
119 </div>
120
121
122 </div>
123  <div class="yui-u"> 
124  <div id="patron-library-details" style="padding : .5em;">
125  <h3>Library use</h3>
126  <ul>
127     <li><strong>Patron number: </strong><!-- TMPL_VAR NAME="borrowernumber" --></li>
128     <li><strong>Category: </strong><!-- TMPL_VAR NAME="description" --> (<!-- TMPL_VAR NAME="categorycode" -->)</li>
129     <li><strong>Registration date: </strong><!-- TMPL_VAR NAME="dateenrolled" --></li>
130     
131     <li><strong>Expiration date: </strong>
132     <!-- TMPL_IF NAME="reregistration" -->
133             <strong class="reregistrinfo"><!-- TMPL_VAR NAME="dateexpiry" --></strong>
134     <!--TMPL_ELSE-->
135             <!-- TMPL_VAR NAME="dateexpiry" -->
136     <!-- /TMPL_IF -->
137     </li>
138     
139     <li><strong>Registration branch: </strong><!-- TMPL_VAR NAME="branchname" --></li>
140
141     <!-- TMPL_IF NAME="sort1" --><li><strong>Sort field 1: </strong><!-- TMPL_VAR NAME="sort1" --></li><!-- /TMPL_IF -->
142     <!-- TMPL_IF NAME="sort2" --><li><strong>Sort field 2:</strong><!-- TMPL_VAR NAME="sort2" --></li><!-- /TMPL_IF -->
143     <li><strong>OPAC login: </strong><!-- TMPL_VAR name="userid" --></li>
144     <!-- TMPL_IF NAME="password" -->
145   <li><strong>OPAC password: </strong>*******</li>
146    <!--TMPL_ELSE -->
147   <li><strong>OPAC password: </strong><span class="problem"><a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Undefined</a></span></li> 
148    <!--/TMPL_IF --> 
149   <!-- TMPL_IF NAME="borrowernotes" --><li><strong>Circulation notes: </strong><!-- TMPL_VAR name="borrowernotes" --></li><!-- /TMPL_IF -->
150     <!-- TMPL_IF NAME="opacnote" --><li><strong>Message to Patron:</strong><!-- TMPL_VAR NAME="opacnote" --></li><!-- /TMPL_IF -->
151         </ul>
152             <a class="member-edit" href="memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;step=3">Edit</a>
153  </div>
154 </div>
155 </div>
156 <div id="patrons-fines-and-charges" class="yui-g">
157     <h2>Fines and Charges</h2>
158     <!-- TMPL_IF EXPR="totaldue eq 0.00" -->
159         <p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p>
160     <!-- TMPL_ELSE -->
161         <p>No outstanding charges</p>
162     <!-- /TMPL_IF -->
163 </div>
164
165 <div id="patrons-items-on-loan" class="yui-g">
166     <h2>Items on loan</h2>
167     <!-- TMPL_IF NAME="issueloop" --><form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
168         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
169         <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
170     <table>
171         <tr>
172             <th scope="col">Title</th>
173             <th scope="col">Barcode</th>
174             <th scope="col">Date due</th>
175             <th scope="col">Itemtype</th>
176             <th scope="col">Charge</th>
177             <th scope="col">Price</th>
178             <th scope="col">Renew</th>
179             <th scope="col">Return</th>
180         </tr>
181     
182         <!-- TMPL_LOOP name="issueloop" -->
183           <!-- TMPL_IF name="overdue" -->
184         <tr class="problem">
185           <!-- TMPL_ELSE -->
186             <!-- TMPL_IF name="toggle" -->
187         <tr class="highlight">
188             <!-- TMPL_ELSE -->
189         <tr>
190             <!-- /TMPL_IF -->
191           <!-- /TMPL_IF -->
192             <td><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> <!-- TMPL_IF NAME="author" -->, by <!-- TMPL_VAR name="author" --><!-- /TMPL_IF --> <!-- TMPL_IF name="publishercode" -->; <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF --> <!-- TMPL_IF name="publicationyear" -->, <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->            </td>
193             <td><!-- TMPL_VAR NAME="barcode" --></td>
194             <td><!-- TMPL_VAR NAME="date_due" --></td>
195             <td>
196                 <!-- TMPL_VAR NAME="itemtype_description" -->
197                 <!-- TMPL_IF NAME="itemtype_image" -->
198                 <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" />
199                 <!-- /TMPL_IF -->
200             </td>
201             <td><!-- TMPL_VAR NAME="charge" --></td>
202             <td><!-- TMPL_VAR NAME="replacementprice" --></td>
203             <td>
204             <!-- TMPL_IF name="norenew" -->
205                 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">On Hold</a>
206             <!-- TMPL_ELSE -->
207             <!-- TMPL_IF NAME="red" -->
208             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" />
209             <!-- TMPL_ELSE -->
210             <input type="checkbox" name="items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
211             <!-- /TMPL_IF -->
212             <input type="checkbox" name="all_items[]" value="<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" style="display: none;" />
213             <!-- /TMPL_IF -->
214             </td>
215             <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Check In</a></td>
216                         <!-- TMPL_IF NAME="renew_failed" -->
217                         <td>Renewal Failed</td>
218                         <!-- /TMPL_IF -->
219         </tr>
220         <!-- /tmpl_loop -->
221         <tr>
222             <td colspan="5">Total replacement cost:</td>
223             <td><!-- TMPL_VAR NAME="totalprice" --></td>
224             <td colspan="2">&nbsp;</td>
225         </tr>
226         </table>
227         <div>
228         <input type="submit" name="renew_checked" value="Renew checked items" />
229         <input type="submit" name="renew_all" value="Renew all" />
230         </div>
231     </form><!-- TMPL_ELSE --><p>Patron has nothing checked out.</p><!-- /TMPL_IF -->
232         </div>
233         
234 <div id="patrons-items-reserved" class="yui-g">
235         <h2>Patron current holds</h2>
236 <!-- TMPL_IF NAME="reservloop" -->
237 <form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
238         <input type="hidden" name="from" value="borrower" />
239         <table>
240                 <tr>
241                         <th>Hold date</th>
242                         <th>Barcode</th>
243                         <th>Title</th>
244                         <th>Author</th>
245                         <th>Localisation</th>
246                         <th>&nbsp;</th>
247                 </tr>
248                 <!-- TMPL_LOOP NAME="reservloop" -->
249                 <tr class="<!-- TMPL_VAR NAME="color" -->">
250                                         <td>
251                                                 <!-- TMPL_VAR NAME="reservedate" -->
252                                         </td>
253                                         <td>
254                                                 <!-- TMPL_IF name="barcodereserv" -->
255                                                 <a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->" onclick="openWindow(this, 'Item', 480, 640); return false;"><!-- TMPL_VAR NAME="barcodereserv" --></a>
256                                                 <!-- /TMPL_IF -->
257                                                 <!-- TMPL_IF NAME="waitingposition" -->
258                                          Queue for this item :
259                                                 <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
260                                                 <!-- /TMPL_IF -->
261                                         </td>
262                                         <td>
263                                                 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->"><!-- TMPL_VAR NAME="title" --></a> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
264
265                                                 <!-- TMPL_IF name="waiting" -->
266                                                 <i>This item is available</i>
267                                                 <!-- /TMPL_IF -->
268                                                 <!-- TMPL_IF name="transfered" -->
269                                                 <i>This item has been transfered from library : 
270                                                 <!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
271                                                 <!-- /TMPL_IF -->
272
273                                                 <!-- TMPL_IF name="nottransfered" -->
274                                                 <i>This item hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
275                                                 <!-- /TMPL_IF -->
276                                 
277                                         </td>
278                                         <td><!-- TMPL_VAR NAME="author" --></td>
279                                         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
280                                         <td><select name="rank-request">
281                         <option value="n">No</option>
282                         <option value="del">Yes</option>
283                         </select>
284                 <input type="hidden" name="biblionumber" value="<!-- TMPL_VAR name="biblionumber" -->" />
285                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR name="borrowernumber" -->" /></td>
286                         </tr>
287                 <!-- /TMPL_LOOP -->
288         </table>
289                         <p><input type="submit" class="cancel" name="submit" value="Cancel Marked Requests" /></p>
290         </form>
291         <!-- TMPL_ELSE -->
292         <p>Patron has nothing on hold.</p>
293         <!-- /TMPL_IF -->
294         </div>
295
296 <!-- /TMPL_IF --> <!-- unknowuser -->
297
298 </div>
299 </div>
300 <div class="yui-b">
301 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
302 </div>
303 </div>
304 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->