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