cbf2b34cd0d748060e8400168f7a976e408d0066
[koha_fer] / koha-tmpl / intranet-tmpl / prog / en / modules / members / moremember.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --></title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <script type="text/javascript">
5 function confirm_deletion() {
6     var is_confirmed = window.confirm('Click OK to confirm deletion');
7     var borrowernumbervalue=document.form.borrowernumber.value; 
8    
9     if (is_confirmed) {
10             window.location='/cgi-bin/koha/members/deletemem.pl?member='+borrowernumbervalue+'';
11     }
12 }
13
14 function confirm_reregistration() {
15     var is_confirmed = window.confirm('Click OK to confirm renewal');
16     var borrowernumbervalue1=document.form.borrowernumber.value;
17     if (is_confirmed) {
18     window.location='/cgi-bin/koha/members/moremember.pl?reregistration=y&amp;borrowernumber='+borrowernumbervalue1+'';
19     }
20 }
21 </script>
22 </head>
23 <body>
24 <!-- TMPL_INCLUDE NAME="header.inc" -->
25 <!-- TMPL_INCLUDE NAME="members-search.inc" -->
26
27 <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; Patron Details for <!-- TMPL_VAR NAME="firstname" --> <!-- TMPL_VAR NAME="surname" --> (<!-- TMPL_VAR NAME="cardnumber" -->)</div>
28
29 <div id="doc3" class="yui-t2">
30    
31    <div id="bd">
32         <div id="yui-main">
33         <div class="yui-b">
34
35 <!-- TMPL_IF NAME="unknowuser" -->
36     This patron doesn't exist.<a href="javascript:back();">Go Back</a>
37 <!-- TMPL_ELSE -->
38
39 <form action="" name="form">
40 <input type="hidden" name="reregistration" value="<!-- TMPL_VAR NAME="reregistration"-->" /> 
41 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
42 </form>
43 <div id="action">
44     
45         <div class="edit">
46         <ul><!-- TMPL_IF name="adultborrower" -->
47         <li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&amp;guarantorid=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=C">Add child</a> </li>
48         <!-- /TMPL_IF -->
49         <!-- TMPL_IF NAME="category_type" -->
50             <!--TMPL_IF NAME="guarantor"-->
51                 <li><a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;guarantorid=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->&amp;category_type=<!-- TMPL_VAR NAME="category_type"-->">
52             <!--TMPL_ELSE-->
53             <li><a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=<!-- TMPL_VAR NAME="category_type"-->">
54             <!--/TMPL_IF-->Edit</a></li>
55         <!-- TMPL_ELSE --> <!-- try with categorycode if no category_type -->
56             <!-- TMPL_IF NAME="categorycode" -->
57             <li><a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;categorycode=<!-- TMPL_VAR NAME="categorycode"-->">Edit</a></li>
58             <!-- TMPL_ELSE --> <!-- if no categorycode, set category_type to A by default -->
59                 <li><a href="/cgi-bin/koha/members/memberentry.pl?op=modify&amp;borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->&amp;category_type=A">Edit</a></li>
60             <!-- /TMPL_IF -->
61         <!-- /TMPL_IF -->
62         
63         <li><a href="/cgi-bin/koha/members/member-password.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Set password</a></li>
64        <li> <a href="/cgi-bin/koha/members/member-flags.pl?member=<!-- TMPL_VAR NAME="borrowernumber" -->">Privileges</a></li> 
65         <li><a href="javascript:confirm_deletion();">Delete</a> </li></ul>
66     </div>
67         
68     <div class="view">
69 <ul>
70         <li>        <a href="/cgi-bin/koha/members/boraccount.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Account</a> </li>
71         <li>        <a href="/cgi-bin/koha/members/pay.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Pay fines</a> </li>
72         <li>        <a href="/cgi-bin/koha/members/readingrec.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Reading record</a></li>
73         <li>        <a href="javascript:confirm_reregistration();" onclick="document.form.value='y'" class="gest_borro_op">Renew</a></li>
74 </ul>
75     </div>
76         <!-- TMPL_IF NAME="CAN_user_parameters"-->
77     <div class="others">
78 <ul>
79         <li>        <a href="/cgi-bin/koha/tools/viewlog.pl?do_it=1&amp;module=MEMBERS&amp;action=MODIFY&amp;object=<!-- TMPL_VAR NAME="borrowernumber"-->">Modification log</a></li>
80 </ul>
81     </div>
82         <!-- /TMPL_IF -->
83 </div>
84 <!-- TMPL_IF NAME="flagged" -->
85     <ul>
86         <!-- TMPL_IF NAME="debarred" -->
87             <li>Patron is restricted
88             <form class="inline compact" action="/cgi-bin/koha/members/setdebar.pl" method="post">
89                 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
90                 <input type="hidden" name="status" value="0" />
91                 <input type="submit" value="Lift Debarment" />
92             </form>
93             </li>
94         <!-- /TMPL_IF -->
95         <!-- TMPL_IF NAME="gonenoaddress" --><li>Patron's address is in doubt.</li><!-- /TMPL_IF -->
96         <!-- TMPL_IF NAME="lost" --><li>Patron's card has been reported lost.</li><!-- /TMPL_IF -->
97     </ul>
98
99 <!-- /TMPL_IF -->
100
101 <fieldset>
102 <legend>Patron information</legend>
103     <!-- TMPL_UNLESS NAME="I" -->
104     <p><label>Title:</label><!-- TMPL_VAR NAME="title" -->&nbsp;</p> 
105     <p><label>First name:</label><!-- TMPL_VAR NAME="firstname" --></p>
106     <!-- /TMPL_UNLESS -->
107     <p><!-- TMPL_IF NAME="I" --><label>Organisation name: </label><!-- TMPL_ELSE --><label>Last name: </label><!-- /TMPL_IF --><!-- TMPL_VAR NAME="surname" --></p>
108     <!-- TMPL_UNLESS NAME="I" --><p><label>Other names: </label><!-- TMPL_VAR NAME="othernames" --></p>
109     <p><label>Initials: </label><!-- TMPL_VAR NAME="initials" --></p><!-- /TMPL_UNLESS -->
110     <p>
111         <label>Address: </label>
112         <!-- TMPL_VAR NAME="streetnumber" -->
113         <!--TMPL_IF NAME="roaddetails"-->
114          <!-- TMPL_VAR NAME="roaddetails" -->,
115         <!-- /TMPL_IF -->
116         <!-- TMPL_VAR NAME="address" -->
117     </p>
118     <p>
119         <label>Address2: </label>
120         <!-- TMPL_VAR NAME="address2"-->
121     </p>
122     <p><label>City: </label><!-- TMPL_VAR NAME="city" --></p>
123     <p><label>Zip code: </label><!-- TMPL_VAR NAME="zipcode" --></p>
124     <!-- TMPL_UNLESS NAME="I"-->
125         <!-- TMPL_UNLESS NAME="C"-->
126         <p><label>Alternate address: </label><!-- TMPL_VAR NAME="B_address" --></p>
127         <p><label>Alternate city: </label><!-- TMPL_VAR NAME="B_city" --></p>
128         <p><label>Alternate zipcode: </label><!-- TMPL_VAR NAME="B_zipcode" --></p>
129         <!-- /TMPL_UNLESS -->
130     <!-- /TMPL_UNLESS -->
131     <!-- TMPL_IF NAME="I" -->
132         <p><label>Organisation phone: </label><!-- TMPL_VAR NAME="phonepro" --></p>
133         <p><label>Organisation email: </label><!-- TMPL_VAR NAME="emailpro" --></p>
134     <!-- /TMPL_IF -->
135     <!-- TMPL_UNLESS NAME="I"-->
136     <p><label>Home phone: </label><!-- TMPL_VAR NAME="phone" --></p>
137     <p><label>Cell phone: </label><!-- TMPL_VAR NAME="mobile" --></p>
138     <p><label>Professional phone: </label><!-- TMPL_VAR NAME="phonepro" --></p>
139     <!-- /TMPL_UNLESS -->
140     <!-- TMPL_IF NAME="P"-->
141     <p><label>Professional phone: </label><!-- TMPL_VAR NAME="phone" --></p>
142     <p><label>Professionnal email: </label><!-- TMPL_VAR NAME="mobile" --></p>
143     <!-- /TMPL_IF -->   
144     <p><label>Fax: </label><!-- TMPL_VAR NAME="fax" --></p>
145     <!-- TMPL_UNLESS NAME="I"-->
146     <p><label>E-mail address:</label><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>
147     <p><label>Date of birth:</label><!-- TMPL_VAR NAME="dateofbirth" --></p>
148     <p><label>Sex:</label><!-- TMPL_VAR NAME="sex" --></p>
149     <!-- /TMPL_UNLESS -->
150         
151 </fieldset>
152 <fieldset>
153     <legend>Library use</legend>
154     <p><label>Patron number:</label><!-- TMPL_VAR NAME="borrowernumber" --></p>
155     <p><label>Category:</label><!-- TMPL_VAR NAME="description" --></p>
156     <p><label>Registration date:</label><!-- TMPL_VAR NAME="dateenrolled" --></p>
157     <p><label>Relation:</label><!-- TMPL_VAR NAME="relationship" --></p>
158     
159     <p><label>Expiration date: </label>
160     <!-- TMPL_IF NAME="reregistration" -->
161             <label class="reregistrinfo"><!-- TMPL_VAR NAME="dateexpiry" --></label>
162     <!--TMPL_ELSE-->
163             <!-- TMPL_VAR NAME="dateexpiry" -->
164     <!-- /TMPL_IF -->
165     </p>
166     
167     <p><label>Registration branch:</label><!-- TMPL_VAR NAME="branchname" --> &nbsp;</p>
168
169     <!-- TMPL_IF NAME="printethnicityline" -->
170     <p><label>Ethnicity:</label><!-- TMPL_VAR NAME="ethnicity" --> &nbsp;</p>
171     <p><label>Ethnicity notes: </label><!-- TMPL_VAR NAME="ethnotes" --> &nbsp;</p>
172     <!-- /TMPL_IF -->
173
174     <p><label>Sort field 1: </label><!-- TMPL_VAR NAME="sort1" --> &nbsp;</p>
175     <p><label>Sort field 2:</label><!-- TMPL_VAR NAME="sort2" --> &nbsp;</p>
176     <p><label>OPAC login: </label><!-- TMPL_VAR name="userid" --> &nbsp;</p>
177     <!-- TMPL_IF NAME="password" -->
178         <p><label>OPAC password: </label>*******</p>
179    <!--TMPL_ELSE -->
180         <p><label>OPAC password: </label><span class="problem">Undefined &nbsp;</span></p> 
181    <!--/TMPL_IF --> 
182         <p><label>Circulation notes:</label><!-- TMPL_VAR name="borrowernotes" --> &nbsp;</p>
183     <p><label>Message to Patron:</label><!-- TMPL_VAR NAME="opacnote" --> &nbsp;</p>
184 </fieldset>
185 <!-- TMPL_UNLESS NAME="P" -->
186 <!-- TMPL_UNLESS NAME="I" -->
187 <fieldset>
188     
189     <legend>Alternate contact</legend>
190      <!-- TMPL_IF NAME="C" -->
191     <p><label>Name: </label><!-- TMPL_VAR NAME="contactname" --> &nbsp;</p>
192     <p><label>Firstname: </label><!-- TMPL_VAR NAME="firstname" --> &nbsp;</p>          
193     <p><label>Phone: </label><!-- TMPL_VAR NAME="phone" --> &nbsp;</p>
194     <p><label>Email: </label><!-- TMPL_VAR NAME="email" --> &nbsp;</p>
195     <p><label>Relationship: </label><!-- TMPL_VAR NAME="relationship" --> &nbsp;</p>
196    <!-- /TMPL_IF -->
197        
198          <!-- TMPL_IF name="isguarantee" -->
199             <!-- TMPL_IF NAME="guaranteeloop" -->
200                 <p><label>Guarantees:</label></p><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>
201             <!-- /TMPL_IF -->
202         <!-- TMPL_ELSE -->
203             <!-- TMPL_IF name="guarantorborrowernumber" -->
204                 <p><label>Guarantor:</label><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="guarantorborrowernumber" -->"><!-- TMPL_VAR NAME="guarantorsurname" --> <!-- TMPL_VAR NAME="guarantorfirstname" --></a></p>
205             <!-- /TMPL_IF -->
206        <!-- /TMPL_IF  -->
207     
208 </fieldset>
209
210 <!-- /TMPL_UNLESS-->
211 <!-- /TMPL_UNLESS-->
212 <fieldset>
213     <legend>Fines &amp; Charges</legend>
214     <!-- TMPL_IF name="totaldue" -->
215         <p>Total due: <!-- TMPL_VAR NAME="totaldue" --></p>
216     <!-- TMPL_ELSE -->
217         <p>No outstanding charges</p>
218     <!-- /TMPL_IF -->
219 </fieldset>
220     <div>
221     <h2>Items on loan</h2>
222     <form action="/cgi-bin/koha/reserve/renewscript.pl" method="post">
223         <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
224         <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
225     <table>
226         <tr>
227             <th scope="col">Title</th>
228             <th scope="col">Barcode</th>
229             <th scope="col">Date due</th>
230             <th scope="col">Itemtype</th>
231             <th scope="col">Charge</th>
232             <th scope="col">Price</th>
233             <th scope="col">Renew</th>
234             <th scope="col">Return</th>
235         </tr>
236     
237         <!-- TMPL_LOOP name="issueloop" -->
238           <!-- TMPL_IF name="overdue" -->
239         <tr class="problem">
240           <!-- TMPL_ELSE -->
241             <!-- TMPL_IF name="toggle" -->
242         <tr class="highlight">
243             <!-- TMPL_ELSE -->
244         <tr>
245             <!-- /TMPL_IF -->
246           <!-- /TMPL_IF -->
247             <td><!-- TMPL_VAR NAME="date_due" --></td>
248             <td>
249                 <p><a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">
250                     <!-- TMPL_VAR NAME="title" -->
251                 </a></p>
252                 <p><!-- TMPL_VAR name="author" -->
253                     <!-- TMPL_IF name="publishercode" --> - <!-- TMPL_VAR name="publishercode" --> <!-- /TMPL_IF -->
254                     <!-- TMPL_IF name="publicationyear" -->- <!-- TMPL_VAR name="publicationyear" --><!-- /TMPL_IF -->
255                 </p>
256             </td>
257             <td><!-- TMPL_VAR NAME="barcode" --></td>
258             <td>
259                 <!-- TMPL_VAR NAME="itemtype_description" -->
260                 <!-- TMPL_IF NAME="itemtype_image" -->
261                 <img src="<!-- TMPL_VAR NAME="itemtype_image" -->" alt="" />
262                 <!-- /TMPL_IF -->
263             </td>
264             <td><!-- TMPL_VAR NAME="charge" --></td>
265             <td><!-- TMPL_VAR NAME="replacementprice" --></td>
266             <td>
267             <!-- TMPL_IF name="norenew" -->
268                 <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">Reserved</a>
269             <!-- TMPL_ELSE -->
270             <!-- TMPL_IF NAME="red" -->
271             <input type="checkbox"
272                     name="items[]"
273                     value="<!-- TMPL_VAR NAME="itemnumber" -->"
274                     checked="checked"
275                         />
276             <!-- TMPL_ELSE -->
277             <input type="checkbox"
278                     name="items[]"
279                     value="<!-- TMPL_VAR NAME="itemnumber" -->"
280                         />
281             <!-- /TMPL_IF -->
282             <input type="checkbox"
283                     name="all_items[]"
284                     value="<!-- TMPL_VAR NAME="itemnumber" -->"
285                 checked="checked"
286                     style="display: none;"
287             />
288             <!-- /TMPL_IF -->
289             </td>
290             <td><a href="/cgi-bin/koha/circ/returns.pl?barcode=<!-- TMPL_VAR NAME="barcode" -->">Return</a></td>
291         </tr>
292         <!-- /tmpl_loop -->
293         <tr>
294             <td colspan="5">Total replacement cost:</td>
295             <td><!-- TMPL_VAR NAME="totalprice" --></td>
296             <td colspan="2">&nbsp;</td>
297         </tr>
298         </table>
299         <div>
300         <input type="submit" name="renew_checked" value="Renew checked items" />
301         <input type="submit" name="renew_all" value="Renew all" />
302         </div>
303     </form>
304     </div>
305 <!-- TMPL_IF NAME="reservloop" -->
306 <div id="circ_circulation_issue">
307         <h2>Patron current reserves</h2>
308         <table>
309                 <tr>
310                         <th>Reserve date</th>
311                         <th>Barcode</th>
312                         <th>Title</th>
313                         <th>Author</th>
314                         <th>Localisation</th>
315                         <th>Details</th>
316                 </tr>
317                 <!-- TMPL_LOOP NAME="reservloop" -->
318                 <tr class="<!-- TMPL_VAR NAME="color" -->">
319                                         <td>
320                                                 <!-- TMPL_VAR NAME="reservedate" -->
321                                         </td>
322                                         <td>
323                                                 <!-- TMPL_IF name="barcodereserv" -->
324                                                 <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>
325                                                 <!-- /TMPL_IF -->
326                                                 <!-- TMPL_IF NAME="waitingposition" -->
327                                                 Waiting position for this document :
328                                                 <b> <!-- TMPL_VAR NAME="waitingposition" --> </b>
329                                                 <!-- /TMPL_IF -->
330                                         </td>
331                                         <td>
332                                                 <!-- TMPL_VAR NAME="title" --> (<b> <!-- TMPL_VAR NAME="itemtype" --> </b>) 
333
334                                                 <!-- TMPL_IF name="waiting" -->
335                                                 <i>This document is available</i>
336                                                 <!-- /TMPL_IF -->
337                                                 <!-- TMPL_IF name="transfered" -->
338                                                 <i>This document has been transfered from library : 
339                                                 <!-- TMPL_VAR NAME="frombranch" --> the : <!-- TMPL_VAR NAME="datesent" --> </i>
340                                                 <!-- /TMPL_IF -->
341
342                                                 <!-- TMPL_IF name="nottransfered" -->
343                                                 <i>This document hasn't been transfered yet from library : <!-- TMPL_VAR NAME="nottransferedby" --></i>
344                                                 <!-- /TMPL_IF -->
345                                 
346                                         </td>
347                                         <td><!-- TMPL_VAR NAME="author" --></td>
348                                         <td><!-- TMPL_VAR NAME="itemcallnumber" --></td>
349                                         <td>
350                                             <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=<!-- TMPL_VAR NAME="biblionumber" -->">view reserves </a>
351                                         </td>
352                         </tr>
353                 <!-- /TMPL_LOOP -->
354         </table>
355         <!-- /TMPL_IF -->
356
357 <!-- /TMPL_IF --> <!-- unknowuser -->
358 </div>
359 </div>
360
361 <div class="yui-b">
362 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
363 </div>
364 </div>
365 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->