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