1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Patrons ›
3 <!-- TMPL_IF NAME="opadd" --> Add<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff <!--/TMPL_IF -->
4 patron <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --><!-- TMPL_ELSE -->Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --><!--TMPL_IF Name="S"--> Staff<!--/TMPL_IF -->
5 patron <!-- TMPL_VAR NAME="surname" -->, <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></title>
6 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
7 <script type="text/javascript" src="<!-- TMPL_VAR NAME='themelang' -->/js/members.js"></script>
8 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
9 <script type="text/JavaScript" language="JavaScript">
11 $(document).ready(function() {
12 $("#guarantordelete").click(function() {
13 $("#guarantorid").attr("value","");
14 $("#contactname").attr("value","");
15 $("#contactfirstname").attr("value","");
16 $("#guarantorsearch").attr("value","Find guarantor");
18 $("#select_city").change(function(){
19 var myRegEx=new RegExp(/(.*)\|(.*)/);
20 document.form.select_city.value.match(myRegEx);
21 document.form.zipcode.value=RegExp.$1;
22 document.form.city.value=RegExp.$2;
29 <!-- TMPL_INCLUDE NAME="header.inc" -->
30 <!-- TMPL_INCLUDE NAME="patron-search.inc" -->
32 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> ›
33 <!-- TMPL_IF NAME="opadd" -->
34 Add<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --> <!--TMPL_IF Name="S"-->Staff <!--/TMPL_IF -->
35 patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
37 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> › <strong>Modify<!--TMPL_IF Name="I"--> Organisation <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Adult <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Child <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Professional <!--/TMPL_IF --><!--TMPL_IF Name="S"-->Staff <!--/TMPL_IF -->
38 patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></strong></div>
40 <div id="doc3" class="yui-t2">
47 <!-- TMPL_IF NAME="opadd" -->
49 <!--TMPL_IF Name="I"--> Add organisation patron <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Add adult patron <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Add child patron <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Add professional patron <!--/TMPL_IF --><!--TMPL_IF Name="S"--> Add staff patron <!--/TMPL_IF -->
50 <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
54 <!--TMPL_IF Name="I"--> Modify organisation patron <!--/TMPL_IF --><!--TMPL_IF Name="A"--> Modify adult patron <!--/TMPL_IF --><!--TMPL_IF Name="C"--> Modify child patron <!--/TMPL_IF --><!--TMPL_IF Name="P"--> Modify professional patron <!--/TMPL_IF --><!--TMPL_IF Name="S"--> Modify staff patron <!--/TMPL_IF -->
55 <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
59 <!-- TMPL_IF NAME="check_member" -->
61 <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post">
64 <a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" >Detail</a>
66 <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->&category_type=<!--TMPL_VAR NAME="check_categorytype"-->">Yes</a>
67 No, it is not
68 <!-- TMPL_IF NAME="checked"-->
69 <input type="checkbox" checked="checked" name="answernodouble" >
71 <input type="checkbox" name="answernodouble" />
78 <!-- TMPL_IF Name="debug" -->
80 <div>Debug is on (level <!-- TMPL_VAR NAME="debug" -->)</div>
83 <!-- TMPL_IF Name="nok" -->
85 <p>The following fields are wrong. Please fix them.</p>
87 <!-- TMPL_IF NAME="ERROR_login_exist" -->
88 <li id="ERROR_login_exist">Login/password already exists.</li>
90 <!-- TMPL_IF NAME="ERROR_cardnumber" -->
91 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
93 <!-- TMPL_IF NAME="ERROR_age_limitations" -->
94 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.
95 Ages allowed are <!-- TMPL_VAR NAME="ERROR_age_limitations"-->.</li>
97 <!-- TMPL_IF NAME="ERROR_branch" -->
98 <li id="ERROR_branch">Library is invalid.</li>
100 <!-- TMPL_IF NAME="ERROR_dateofbirth" -->
101 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
103 <!-- TMPL_IF NAME="ERROR_dateenrolled" -->
104 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
106 <!-- TMPL_IF NAME="ERROR_dateexpiry" -->
107 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
114 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
115 <!-- field always hidden in different form (1,2,3) -->
116 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
117 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
118 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
119 <input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
120 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
121 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
122 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
123 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
124 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" />
125 <!--TMPL_IF Name="step"--><input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" /><!--/TMPL_IF-->
126 <!-- TMPL_IF NAME="opadd" --><input type="hidden" name="op" value="insert" /><!-- TMPL_ELSE --><input type="hidden" name="op" value="save" /><!-- /TMPL_IF -->
128 <!--TMPL_IF Name="step_1"-->
129 <fieldset class="rows" id="memberentry_identity">
130 <legend><!--TMPL_IF Name="I"-->Organisation <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend>
132 <!-- TMPL_UNLESS name="I" -->
133 <!-- TMPL_IF NAME="title_cgipopup" -->
135 <!-- TMPL_IF NAME="mandatorytitle" -->
136 <label for="btitle" class="required">
141 <!-- TMPL_VAR NAME="borrotitlepopup" -->
142 <!-- TMPL_IF NAME="mandatorytitle" --><span class="required">Required</span><!-- /TMPL_IF -->
145 <!-- /TMPL_UNLESS -->
147 <!-- TMPL_IF NAME="mandatorysurname" -->
148 <label for="surname" class="required">
150 <label for="surname">
153 <!-- TMPL_IF NAME="uppercasesurnames" -->
154 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
156 <input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
158 <!-- TMPL_IF NAME="mandatorysurname" --><span class="required">Required</span><!-- /TMPL_IF -->
160 <!-- TMPL_UNLESS name="I" -->
162 <!-- TMPL_IF NAME="mandatoryfirstname" -->
163 <label for="firstname" class="required">
165 <label for="firstname">
168 <input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
169 <!-- TMPL_IF NAME="mandatoryfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
172 <!-- TMPL_IF NAME="mandatorydateofbirth" -->
173 <label for="dateofbirth" class="required">
175 <label for="dateofbirth">
177 Date of birth: </label>
178 <input type="text" id="dateofbirth" name="dateofbirth" size="20" <!-- TMPL_IF NAME="metric" -->onchange="CheckDate(document.form.dateofbirth);"<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
179 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateofbirth_button" alt="Show Calendar" />
180 <script language="JavaScript" type="text/javascript">
183 inputField : "dateofbirth",
184 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
185 button : "dateofbirth_button"
189 <!-- TMPL_IF NAME="mandatorydateofbirth" --><span class="required">Required</span><!-- /TMPL_IF -->
190 <!-- TMPL_IF NAME="ERROR_dateofbirth" --><span class="required">(Error)</span><!-- /TMPL_IF -->
193 <!-- TMPL_IF NAME="mandatoryinitials" -->
194 <label for="initials" class="required">
196 <label for="initials">
199 <input type="text" id="initials" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
200 <!-- TMPL_IF NAME="mandatoryinitials" --><span class="required">Required</span><!-- /TMPL_IF -->
202 <!-- /TMPL_UNLESS -->
204 <!-- TMPL_IF NAME="mandatoryothernames" -->
205 <label for="othernames" class="required">
207 <label for="othernames">
210 <input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
211 <!-- TMPL_IF NAME="mandatoryothernames" --><span class="required">Required</span><!-- /TMPL_IF -->
213 <!--TMPL_IF Name="I"-->
214 <input type="hidden" name="sex" value="N" />
217 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" <!-- TMPL_IF NAME="female" --> checked="checked" <!-- /TMPL_IF --> />
218 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" <!-- TMPL_IF NAME="male" --> checked="checked" <!-- /TMPL_IF --> />
219 <label for="sex-male">? </label><input type="radio" name="sex" id="sex-male" value="" <!-- TMPL_IF NAME="none" --> checked="checked" <!-- /TMPL_IF --> />
222 <!--TMPL_IF EXPR="showguarantor"--> <li><label for="">Guarantor: </label>
223 <select name="relationship" id="relationship" >
224 <!-- TMPL_LOOP name="relshiploop" -->
225 <!-- TMPL_IF name="selected" -->
226 <option value="<!-- TMPL_VAR name="relationship" -->" selected="selected" ><!-- TMPL_VAR name="relationship" --></option>
228 <option value="<!-- TMPL_VAR name="relationship" -->"><!-- TMPL_VAR name="relationship" --></option>
232 <input name="contactname" id="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" />
233 <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" />
234 <!-- TMPL_IF NAME="guarantorid"-->
235 <input id="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
237 <input id="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
238 <!-- /TMPL_IF --> <input id="guarantordelete" type="button" value="Delete Guarantor" />
243 <fieldset class="rows">
244 <legend>Main address</legend><ol>
246 <!-- TMPL_IF NAME="mandatorystreetnumber" -->
247 <label for="streetnumber" class="required">
249 <label for="streetnumber">
251 Street number: </label>
252 <input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
253 <!-- TMPL_IF NAME="mandatorystreetnumber" --><span class="required">Required</span><!-- /TMPL_IF -->
255 <!-- TMPL_IF NAME="road_cgipopup" -->
257 <!-- TMPL_IF NAME="mandatorystreettype" -->
258 <label for="streettype" class="required">
260 <label for="streettype">
262 Street type: </label>
263 <!-- TMPL_VAR NAME="roadpopup" -->
264 <!-- TMPL_IF NAME="mandatorystreettype" --><span class="required">Required</span><!-- /TMPL_IF -->
268 <!-- TMPL_IF NAME="mandatoryaddress" -->
269 <label for="address" class="required">
271 <label for="address">
274 <input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
275 <!-- TMPL_IF NAME="mandatoryaddress" --><span class="required">Required</span><!-- /TMPL_IF -->
278 <!-- TMPL_IF NAME="mandatoryaddress2" -->
279 <label for="address2" class="required">
281 <label for="address2">
284 <input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
285 <!-- TMPL_IF NAME="mandatoryaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
288 <!-- TMPL_IF NAME="mandatorycity" -->
289 <label for="city" class="required">
293 City, State: </label>
295 <input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
296 <!-- TMPL_IF NAME="city_cgipopup" -->or <strong>choose</strong> <!-- TMPL_VAR NAME="citypopup" --><!-- /TMPL_IF -->
297 <!-- TMPL_IF NAME="mandatorycity" --><span class="required">Required</span><!-- /TMPL_IF -->
300 <!-- TMPL_IF NAME="mandatoryzipcode" -->
301 <label for="zipcode" class="required">
303 <label for="zipcode">
306 <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
307 <!-- TMPL_IF NAME="mandatoryzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
312 <fieldset class="rows" id="memberentry_contact">
313 <legend>Contact</legend><ol>
314 <!--TMPL_IF Name="C"-->
317 <!-- TMPL_IF NAME="mandatoryB_email" -->
318 <label for="B_email" class="required">
320 <label for="B_email">
322 E-mail (home): </label>
323 <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
324 <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
327 <!-- TMPL_IF NAME="mandatoryphone" -->
328 <label for="phone" class="required">
332 Phone (home): </label>
333 <input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
334 <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
337 <!-- TMPL_IF NAME="mandatoryphonepro" -->
338 <label for="phonepro" class="required">
340 <label for="phonepro">
342 Phone (work): </label>
343 <input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
344 <!-- TMPL_IF NAME="mandatoryphonepro" --><span class="required">Required</span><!-- /TMPL_IF -->
347 <!-- TMPL_IF NAME="mandatorymobile" -->
348 <label for="mobile" class="required">
352 Phone (cell): </label>
353 <input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
354 <!-- TMPL_IF NAME="mandatorymobile" --><span class="required">Required</span><!-- /TMPL_IF -->
357 <!-- TMPL_IF NAME="mandatoryemail" -->
358 <label for="email" class="required">
362 E-mail (home): </label>
363 <input type="text" id="email" name="email" size="45" value="<!-- TMPL_VAR NAME="email" -->" />
364 <!-- TMPL_IF NAME="mandatoryemail" --><span class="required">Required</span><!-- /TMPL_IF -->
367 <!-- TMPL_IF NAME="mandatoryemailpro" -->
368 <label for="emailpro" class="required">
370 <label for="emailpro">
372 E-mail (work): </label>
373 <input type="text" id="emailpro" name="emailpro" size="45" value="<!-- TMPL_VAR NAME="emailpro" -->" />
374 <!-- TMPL_IF NAME="mandatoryemailpro" --><span class="required">Required</span><!-- /TMPL_IF -->
377 <!-- TMPL_IF NAME="mandatoryfax" -->
378 <label for="fax" class="required">
383 <input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
384 <!-- TMPL_IF NAME="mandatoryfax" --><span class="required">Required</span><!-- /TMPL_IF -->
390 <!-- ************************ STEP_1 *********************** -->
392 <!--TMPL_IF Name="step_2"-->
394 <fieldset class="rows" id="memberentry_address">
395 <legend>Alternate address</legend><ol>
397 <!-- TMPL_IF NAME="mandatoryB_address" -->
398 <label for="B_address" class="required">
400 <label for="B_address">
403 <input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->" />
404 <!-- TMPL_IF NAME="mandatoryB_address" --><span class="required">Required</span><!-- /TMPL_IF -->
407 <!-- TMPL_IF NAME="mandatoryB_city" -->
408 <label for="B_city" class="required" >
413 <input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
414 <!-- TMPL_IF NAME="mandatoryB_city" --><span class="required">Required</span><!-- /TMPL_IF -->
417 <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
418 <label for="B_zipcode" class="required">
420 <label for="B_zipcode">
423 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
424 <!-- TMPL_IF NAME="mandatoryB_zipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
427 <!-- TMPL_IF NAME="mandatoryB_phone" -->
428 <label for="B_phone" class="required">
430 <label for="B_phone">
433 <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
434 <!-- TMPL_IF NAME="mandatoryB_phone" --><span class="required">Required</span><!-- /TMPL_IF -->
437 <!-- TMPL_IF NAME="mandatoryB_email" -->
438 <label for="B_email" class="required">
440 <label for="B_email">
443 <input type="text" id="B_email" name="B_email" size="45" value="<!-- TMPL_VAR NAME="B_email" -->" />
444 <!-- TMPL_IF NAME="mandatoryB_email" --><span class="required">Required</span><!-- /TMPL_IF --> </li>
446 <!-- TMPL_IF NAME="mandatorycontacnote" -->
447 <label for="contacnote" class="required">
449 <label for="contacnote">
451 Contact note: </label>
452 <textarea id="contactnote" name="contactnote" cols="40" rows="2"><!-- TMPL_VAR NAME="contactnote" --></textarea>
453 <!-- TMPL_IF NAME="mandatorycontacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
457 <fieldset class="rows" id="memberentry_address">
458 <legend>Alternate Contact</legend><ol>
460 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" -->
461 <label for="altcontactfirstname" class="required">
463 <label for="altcontactfirstname">
466 <input type="text" name="altcontactfirstname" value="<!-- TMPL_VAR NAME="altcontactfirstname" -->">
467 <!-- TMPL_IF NAME="mandatoryaltcontactfirstname" --><span class="required">Required</span><!-- /TMPL_IF -->
470 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" -->
471 <label for="altcontactsurname" class="required">
473 <label for="altcontactsurname">
476 <input type="text" name="altcontactsurname" value="<!-- TMPL_VAR NAME="altcontactsurname" -->">
477 <!-- TMPL_IF NAME="mandatoryaltcontactsurname" --><span class="required">Required</span><!-- /TMPL_IF -->
480 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" -->
481 <label for="altcontactaddress1" class="required">
483 <label for="altcontactaddress1">
485 Address line 1:</label>
486 <input type="text" name="altcontactaddress1" value="<!-- TMPL_VAR NAME="altcontactaddress1" -->" size="40">
487 <!-- TMPL_IF NAME="mandatoryaltcontactaddress1" --><span class="required">Required</span><!-- /TMPL_IF -->
490 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" -->
491 <label for="altcontactaddress2" class="required">
493 <label for="altcontactaddress2">
495 Address line 2:</label>
496 <input type="text" name="altcontactaddress2" value="<!-- TMPL_VAR NAME="altcontactaddress2" -->" size="40">
497 <!-- TMPL_IF NAME="mandatoryaltcontactaddress2" --><span class="required">Required</span><!-- /TMPL_IF -->
500 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" -->
501 <label for="altcontactaddress3" class="required">
503 <label for="altcontactaddress3">
506 <input type="text" name="altcontactaddress3" value="<!-- TMPL_VAR NAME="altcontactaddress3" -->" size="40">
507 <!-- TMPL_IF NAME="mandatoryaltcontactaddress3" --><span class="required">Required</span><!-- /TMPL_IF -->
510 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" -->
511 <label for="altcontactzipcode" class="required">
513 <label for="altcontactzipcode">
515 ZIP/Post code:</label>
516 <input type="text" name="altcontactzipcode" value="<!-- TMPL_VAR NAME="altcontactzipcode" -->" size="5">
517 <!-- TMPL_IF NAME="mandatoryaltcontactzipcode" --><span class="required">Required</span><!-- /TMPL_IF -->
520 <!-- TMPL_IF NAME="mandatoryaltcontactphone" -->
521 <label for="altcontactphone" class="required">
523 <label for="altcontactphone">
526 <input type="text" name="altcontactphone" value="<!-- TMPL_VAR NAME="altcontactphone" -->">
527 <!-- TMPL_IF NAME="mandatoryaltcontactphone" --><span class="required">Required</span><!-- /TMPL_IF -->
533 <!-- TMPL_IF NAME="I" -->
534 <!-- TMPL_IF NAME="memberofinstution" -->
535 <fieldset class="rows" id="memberentry_organisation">
536 <legend>Organisations</legend><ol>
538 <!-- TMPL_IF NAME="mandatoryphone" -->
539 <label for="organisations" class="required">
541 <label for="organisations">
543 Organisation(s): </label>
544 <!-- TMPL_VAR NAME="CGIorganisations" -->
545 <!-- TMPL_IF NAME="mandatoryphone" --><span class="required">Required</span><!-- /TMPL_IF -->
553 <!--TMPL_IF Name="step_3"-->
555 <fieldset class="rows" id="memberentry_library_management">
556 <legend>Library Management</legend><ol>
557 <li> <!-- TMPL_IF NAME="mandatorycardnumber" -->
558 <label for="cardnumber" class="required">
560 <label for="cardnumber">
562 Card number: </label>
563 <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" />
564 <!-- TMPL_IF NAME="mandatorycardnumber" --><span class="required">Required</span><!-- /TMPL_IF --></li>
566 <!-- TMPL_IF NAME="mandatorybranchcode" -->
567 <label for="branchcode" class="required">
569 <label for="branchcode">
572 <!-- TMPL_VAR NAME="CGIbranch" -->
573 <!-- TMPL_IF NAME="mandatorybranchcode" --><span class="required">Required</span><!-- /TMPL_IF -->
576 <!-- TMPL_IF NAME="typeloop" -->
577 <label for="categorycode">Category: </label>
578 <select id="categorycode" name="categorycode">
579 <!-- TMPL_LOOP NAME="typeloop" -->
580 <optgroup label="<!-- TMPL_IF EXPR="typename eq 'C'" -->Child<!-- /TMPL_IF --><!-- TMPL_IF EXPR="typename eq 'A'" -->Adult<!-- /TMPL_IF --><!-- TMPL_IF EXPR="typename eq 'S'" -->Staff<!-- /TMPL_IF --><!-- TMPL_IF EXPR="typename eq 'I'" -->Organisation<!-- /TMPL_IF --><!-- TMPL_IF EXPR="typename eq 'P'" -->Professional<!-- /TMPL_IF -->">
581 <!-- TMPL_LOOP NAME="categoryloop" -->
582 <option value="<!-- TMPL_VAR NAME="categorycode" -->" <!-- TMPL_IF NAME="categorycodeselected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR NAME="categoryname" --></option>
587 <span class="problem">There is no category type to add <!--TMPL_IF Name="A"-->an Adult<!--/TMPL_IF--><!--TMPL_IF Name="C"-->a Child<!--/TMPL_IF--><!--TMPL_IF Name="I"-->an Institution<!--/TMPL_IF--><!--TMPL_IF Name="P"-->a professionnal<!--/TMPL_IF--><!--TMPL_IF Name="S"-->a Staff Member<!--/TMPL_IF-->.</span>
588 <a href="/cgi-bin/koha/admin/categorie.pl">Please create one</a>
592 <!-- TMPL_IF NAME="mandatorysort1" -->
593 <label for="sort1" class="required">
598 <!--TMPL_IF NAME="CGIsort1" -->
599 <!-- TMPL_VAR NAME="CGIsort1" -->
601 <input type="text" id="sort1" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
602 <!-- TMPL_IF NAME="mandatorysort1" --><span class="required">Required</span><!-- /TMPL_IF -->
606 <!-- TMPL_IF NAME="mandatorysort2" -->
607 <label for="sort2" class="required">
612 <!--TMPL_IF NAME="CGIsort2" -->
613 <!-- TMPL_VAR NAME="CGIsort2" -->
615 <input type="text" id="sort2" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" />
616 <!-- TMPL_IF NAME="mandatorysort2" --><span class="required">Required</span><!-- /TMPL_IF -->
621 <fieldset class="rows" id="memberentry_subscription">
622 <legend>Library set-up</legend><ol>
624 <!-- TMPL_IF NAME="mandatorydateenrolled" -->
625 <label for="dateenrolled" class="required">
627 <label for="dateenrolled">
629 Registration date: </label>
630 <input type="text" id="dateenrolled" name="dateenrolled" maxlength="10" size="10" <!-- TMPL_IF NAME="metric" -->onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');"<!-- /TMPL_IF--> value="<!-- TMPL_VAR NAME="dateenrolled" -->" />
631 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateenrolled_button" alt="Show Calendar" />
632 <script language="JavaScript" type="text/javascript">
635 inputField : "dateenrolled",
636 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
637 button : "dateenrolled_button"
641 <!-- TMPL_IF NAME="mandatorydateenrolled" --><span class="required">Required</span><!-- /TMPL_IF -->
642 <!-- TMPL_IF NAME="ERROR_dateenrolled" --><span class="required">(Error)</span><!-- /TMPL_IF -->
645 <!-- TMPL_IF NAME="mandatorydateexpiry" -->
646 <label for="dateexpiry" class="required">
648 <label for="dateexpiry">
650 Expiry date: </label>
651 <input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" <!-- TMPL_IF NAME="metric" -->onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');"<!-- /TMPL_IF--> value="<!-- TMPL_VAR NAME="dateexpiry" -->" />
652 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateexpiry_button" alt="Show Calendar" />
653 <script language="JavaScript" type="text/javascript">
656 inputField : "dateexpiry",
657 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
658 button : "dateexpiry_button"
662 <!-- TMPL_IF NAME="mandatorydateexpiry" --><span class="required">Required</span><!-- /TMPL_IF -->
663 <!-- TMPL_IF NAME="ERROR_dateexpiry" --><span class="required">(Error)</span><!-- /TMPL_IF -->
666 <!-- TMPL_IF NAME="mandatoryopacnote" -->
667 <label for="opacnote" class="required">
669 <label for="opacnote">
672 <textarea id="opacnote" name="opacnote" cols="40" rows="2"><!-- TMPL_VAR NAME="opacnote" --></textarea>
673 <!-- TMPL_IF NAME="mandatoryopacnote" --><span class="required">Required</span><!-- /TMPL_IF -->
676 <!-- TMPL_IF NAME="mandatoryborrowernotes" -->
677 <label for="borrowernotes" class="required">
679 <label for="borrowernotes">
681 Library note: </label>
682 <textarea id="borrowernotes" name="borrowernotes" cols="40" rows="2"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
683 <!-- TMPL_IF NAME="mandatoryborrowernotes" --><span class="required">Required</span><!-- /TMPL_IF -->
687 <fieldset class="rows" id="memberentry_userid">
688 <legend>OPAC login</legend><ol>
690 <!-- TMPL_IF NAME="mandatoryuserid" -->
691 <label for="userid" class="required">
696 <input type="text" id="userid" name="userid" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="userid" -->" />
697 <!-- TMPL_IF NAME="mandatoryuserid" --><span class="required">Required</span><!-- /TMPL_IF -->
700 <!-- TMPL_IF NAME="mandatorypassword" -->
701 <label for="password" class="required">
703 <label for="password">
706 <!--TMPL_IF NAME="opadd"-->
707 <input type="text" id="password" name="password" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="<!-- TMPL_VAR NAME="password" -->" />
709 <!--TMPL_IF NAME="password"-->
710 <input type="text" id="password" name="password" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="****" />
712 <input type="text" id="password" name="password" size="20" <!-- TMPL_IF NAME="NoUpdateLogin" -->disabled='true'<!-- /TMPL_IF --> value="" />
715 <!-- TMPL_IF NAME="mandatorypassword" --><span class="required">Required</span><!-- /TMPL_IF -->
718 <!--this zones are not necessary in modif mode -->
719 <!-- TMPL_UNLESS NAME="opadd" -->
720 <fieldset class="rows">
721 <legend>Patron Account Flags</legend>
723 <!-- TMPL_LOOP NAME="flagloop" -->
724 <li><label class="radio" for="yes<!-- TMPL_VAR name="name" -->">
725 <!-- TMPL_IF EXPR="key eq 'gonenoaddress'" -->Gone no Address:<!-- /TMPL_IF -->
726 <!-- TMPL_IF EXPR="key eq 'debarred'" -->Debarred:<!-- /TMPL_IF -->
727 <!-- TMPL_IF EXPR="key eq 'lost'" -->Lost Card:<!-- /TMPL_IF -->
730 <label for="yes<!-- TMPL_VAR NAME="name" -->">Yes </label>
731 <!-- TMPL_IF NAME="yes" -->
732 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" checked="checked" />
734 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" />
737 <label for="no<!-- TMPL_VAR NAME="name" -->">No </label>
738 <!-- TMPL_IF NAME="no" -->
739 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" checked="checked"/>
741 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" />
748 <!-- /TMPL_UNLESS -->
750 <fieldset class="action">
751 <input type="submit" name="save" onclick="return check_form_borrowers();" value="Save" />
752 <!-- TMPL_IF NAME="opadd" -->
753 <a class="cancel" href="/cgi-bin/koha/members/member.pl">Cancel</a>
755 <a class="cancel" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->">Cancel</a>
764 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
767 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->