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 -->
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 -->
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" -->
11 <!-- TMPL_INCLUDE NAME="header.inc" -->
12 <!-- TMPL_INCLUDE NAME="members-search.inc" -->
14 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a> ›
15 <!-- TMPL_IF NAME="opadd" -->
16 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 -->
17 patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" -->
19 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=<!-- TMPL_VAR NAME="borrowernumber" -->"><!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" --></a> › 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 -->
20 patron <!-- TMPL_VAR NAME="surname" --> <!-- TMPL_VAR name="firstname" --><!-- /TMPL_IF --></div>
22 <div id="doc3" class="yui-t2">
29 <!-- TMPL_IF NAME="opadd" -->
31 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 -->
32 patron <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
36 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 -->
37 patron <!-- TMPL_VAR name="firstname" --> <!-- TMPL_VAR NAME="surname" -->
41 <!-- TMPL_IF NAME="check_member" -->
43 <form name="form_double" action="/cgi-bin/koha/members/memberentry.pl" method="post">
46 <a href="javascript:Dopop('borrowers_details.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->');" >Detail</a>
48 <a href="/cgi-bin/koha/members/memberentry.pl?borrowernumber=<!--TMPL_VAR NAME="check_member"-->&category_type=<!--TMPL_VAR NAME="check_categorytype"-->">Yes</a>
49 No, it is not
50 <!-- TMPL_IF NAME="checked"-->
51 <input type="checkbox" checked="checked" name="answernodouble" >
53 <input type="checkbox" name="answernodouble" />
60 <!-- TMPL_IF Name="nok" -->
62 <p>The following fields are wrong. Please fix it/them</p>
63 <!-- TMPL_IF NAME="ERROR_login_exist" -->
64 <div id="ERROR_login_exist">login/password already exist</div>
66 <!-- TMPL_IF NAME="ERROR_cardnumber" -->
67 <div id="ERROR_cardnumber">Cardnumber already in use</div>
69 <!-- TMPL_IF NAME="ERROR_age_limitations" -->
70 <div id="ERROR_age_limitations">Patron is too young or too old for this category</div>
72 <!-- TMPL_IF NAME="ERROR_branch" -->
73 <div id="ERROR_branch">branch selected not allowed.</div>
79 <form name="form" action="/cgi-bin/koha/members/memberentry.pl" method="post">
80 <!-- field always hidden in different form (1,2,3) -->
81 <input type="hidden" name="BorrowerMandatoryField" value="<!--TMPL_VAR NAME="BorrowerMandatoryField"-->" />
82 <input type="hidden" name="category_type" value="<!-- TMPL_VAR name="category_type" -->" />
83 <input type="hidden" name="updtype" value="<!-- TMPL_VAR NAME="updtype" -->" />
84 <input type="hidden" name="guarantorid" value="<!-- TMPL_VAR NAME="guarantorid" -->" />
85 <input type="hidden" name="select_roadtype" value="<!-- TMPL_VAR NAME="select_roadtype" -->" />
86 <input type="hidden" name="destination" value="<!-- TMPL_VAR NAME="destination" -->" />
87 <input type="hidden" name="check_member" value="<!-- TMPL_VAR NAME="check_member" -->" />
88 <input type="hidden" name="borrowernumber" value="<!-- TMPL_VAR NAME="borrowernumber" -->" />
89 <input type="hidden" name="nodouble" value="<!-- TMPL_VAR NAME="nodouble" -->" />
90 <!--TMPL_IF Name="step"--><input type="hidden" name="step" value="<!-- TMPL_VAR NAME="step" -->" /><!--/TMPL_IF-->
91 <!-- TMPL_IF NAME="opadd" --><input type="hidden" name="op" value="insert" /><!-- TMPL_ELSE --><input type="hidden" name="op" value="save" /><!-- /TMPL_IF -->
93 <!--TMPL_IF Name="step_1"-->
94 <fieldset class="rows" id="memberentry_identity">
95 <legend><!--TMPL_IF Name="I"-->Organisation <!--TMPL_ELSE-->Patron <!--/TMPL_IF-->identity</legend>
98 <!-- TMPL_IF NAME="mandatorytitle" -->
99 <label for="btitle" class="required">
104 <!-- TMPL_VAR NAME="borrotitlepopup" -->
108 <!-- TMPL_IF NAME="mandatorysurname" -->
109 <label for="surname" class="required">
111 <label for="surname">
114 <!-- TMPL_IF NAME="uppercasesurnames" -->
115 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
117 <input type="text" id="surname" name="surname" size="20" value="<!-- TMPL_VAR NAME="surname" -->" />
121 <!-- TMPL_IF NAME="mandatoryfirstname" -->
122 <label for="firstname" class="required">
124 <label for="firstname">
127 <input type="text" id="firstname" name="firstname" size="20" value="<!-- TMPL_VAR NAME="firstname" -->" />
130 <!-- TMPL_IF NAME="mandatorydateofbirth" -->
131 <label for="dateofbirth" class="required">
133 <label for="dateofbirth">
135 Date of birth: </label>
136 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="CheckDate(document.form.dateofbirth);" value="<!-- TMPL_VAR NAME="dateofbirth" -->" />
137 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateofbirth_button" alt="Show Calendar" />
138 <script language="JavaScript" type="text/javascript">
141 inputField : "dateofbirth",
142 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
143 button : "dateofbirth_button"
149 <!-- TMPL_IF NAME="mandatoryinitials" -->
150 <label for="initials" class="required">
152 <label for="initials">
155 <input type="text" id="initials" name="initials" size="20" value="<!-- TMPL_VAR NAME="initials" -->" />
158 <!-- TMPL_IF NAME="mandatoryothernames" -->
159 <label for="othernames" class="required">
161 <label for="othernames">
164 <input type="text" id="othernames" name="othernames" size="20" value="<!-- TMPL_VAR NAME="othernames" -->" />
166 <!--TMPL_IF Name="I"-->
167 <input type="hidden" name="sex" value="N" />
170 <!-- TMPL_IF NAME="female" -->
171 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" checked="checked" />
172 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
174 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
175 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" checked="checked" />
180 <!--TMPL_IF EXPR="showguarantor"--> <p>
181 <input name="guarantordelete" type="button" value="Delete Guarantor" onclick="document.form.guarantorid.value='';document.form.guarantorinfo.value='',document.form.guarantorsearch.value='Find guarantor';" />
182 <!-- TMPL_IF NAME="guarantorid"-->
184 <input name="guarantorsearch" type="button" value="Modify Guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
186 <input name="guarantorsearch" type="button" value="Find guarantor" onclick="Dopopguarantor('guarantor_search.pl');" />
188 <input name="contactname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactname" -->" readonly="readonly" />
189 <input name="contactfirstname" type="text" size="20" value="<!-- TMPL_VAR NAME="contactfirstname" -->" readonly="readonly" />
193 <fieldset class="rows">
194 <legend>Main address</legend><ol>
196 <!-- TMPL_IF NAME="mandatorystreetnumber" -->
197 <label for="streetnumber" class="required">
199 <label for="streetnumber">
201 Street number: </label>
202 <input type="text" id="streetnumber" name="streetnumber" size="5" value="<!-- TMPL_VAR NAME="streetnumber" -->" />
204 <!-- TMPL_IF NAME="road_cgipopup" -->
206 <!-- TMPL_IF NAME="mandatorystreettype" -->
207 <label for="streettype" class="required">
209 <label for="streettype">
211 Street type: </label>
212 <!-- TMPL_VAR NAME="roadpopup" -->
216 <!-- TMPL_IF NAME="mandatoryaddress" -->
217 <label for="address" class="required">
219 <label for="address">
222 <input type="text" id="address" name="address" size="35" value="<!-- TMPL_VAR NAME="address" -->" />
225 <!-- TMPL_IF NAME="mandatoryaddress2" -->
226 <label for="address2" class="required">
228 <label for="address2">
231 <input type="text" id="address2" name="address2" size="35" value="<!-- TMPL_VAR NAME="address2" -->" />
234 <!-- TMPL_IF NAME="mandatoryzipcode" -->
235 <label for="zipcode" class="required">
237 <label for="zipcode">
240 <input type="text" name="zipcode" id="zipcode" size="10" value="<!-- TMPL_VAR NAME="zipcode" -->" />
242 <!-- TMPL_IF NAME="city_cgipopup" -->
244 <!-- TMPL_IF NAME="mandatoryselect_city" -->
245 <label for="select_city" class="required">
247 <label for="select_city">
249 Select a city: </label>
250 <!-- TMPL_VAR NAME="citypopup" -->
254 <!-- TMPL_IF NAME="mandatorycity" -->
255 <label for="city" class="required">
260 <input type="text" id="city" name="city" size="20" value="<!-- TMPL_VAR NAME="city" -->" />
264 <fieldset class="rows" id="memberentry_contact">
265 <legend>Contact</legend><ol>
266 <!--TMPL_IF Name="C"-->
269 <!-- TMPL_IF NAME="mandatoryB_email" -->
270 <label for="B_email" class="required">
272 <label for="B_email">
274 E-mail (home): </label>
275 <input type="text" id="B_email" name="B_email" value="<!-- TMPL_VAR NAME="B_email" -->" />
276 <!-- TMPL_IF NAME="mandatoryB_phone" -->
277 <label for="B_phone" class="required">
279 <label for="B_phone">
281 Phone (cell): </label>
282 <input type="text" id="B_phone" name="B_phone" value="<!-- TMPL_VAR NAME="B_phone" -->" />
286 <!-- TMPL_IF NAME="mandatoryphone" -->
287 <label for="phone" class="required">
291 Phone (home): </label>
292 <input type="text" id="phone" name="phone" value="<!-- TMPL_VAR NAME="phone" -->" />
295 <!-- TMPL_IF NAME="mandatoryphonepro" -->
296 <label for="phonepro" class="required">
298 <label for="phonepro">
300 Phone (prof): </label>
301 <input type="text" id="phonepro" name="phonepro" value="<!-- TMPL_VAR NAME="phonepro" -->" />
304 <!-- TMPL_IF NAME="mandatorymobile" -->
305 <label for="mobile" class="required">
309 Phone (cell): </label>
310 <input type="text" id="mobile" name="mobile" value="<!-- TMPL_VAR NAME="mobile" -->" />
313 <!-- TMPL_IF NAME="mandatoryemail" -->
314 <label for="email" class="required">
318 E-mail (home): </label>
319 <input type="text" id="email" name="email" value="<!-- TMPL_VAR NAME="email" -->" />
322 <!-- TMPL_IF NAME="mandatoryemailpro" -->
323 <label for="emailpro" class="required">
325 <label for="emailpro">
327 E-mail (prof): </label>
328 <input type="text" id="emailpro" name="emailpro" value="<!-- TMPL_VAR NAME="emailpro" -->" />
331 <!-- TMPL_IF NAME="mandatoryfax" -->
332 <label for="fax" class="required">
337 <input type="text" id="fax" name="fax" value="<!-- TMPL_VAR NAME="fax" -->" />
343 <!-- ************************ STEP_1 *********************** -->
345 <!--TMPL_IF Name="step_2"-->
347 <fieldset class="rows" id="memberentry_address">
348 <legend>Alternate address</legend><ol>
350 <!-- TMPL_IF NAME="mandatoryB_address" -->
351 <label for="B_address" class="required">
353 <label for="B_address">
356 <input type="text" id="B_address" name="B_address" size="40" value="<!-- TMPL_VAR NAME="B_address" -->" />
359 <!-- TMPL_IF NAME="mandatoryB_zipcode" -->
360 <label for="B_zipcode" class="required">
362 <label for="B_zipcode">
365 <input type="text" id="B_zipcode" name="B_zipcode" maxlength="5" size="5" value="<!-- TMPL_VAR NAME="B_zipcode" -->" />
368 <!-- TMPL_IF NAME="mandatoryB_city" -->
369 <label for="B_city" class="required" >
374 <input type="text" id="B_city" name="B_city" size="20" value="<!-- TMPL_VAR NAME="B_city" -->" />
378 <!-- TMPL_IF NAME="I" -->
379 <!-- TMPL_IF NAME="memberofinstution" -->
380 <fieldset class="rows" id="memberentry_organisation">
381 <legend>Organisations</legend><ol>
383 <!-- TMPL_IF NAME="mandatoryphone" -->
384 <label for="organisations" class="required">
386 <label for="organisations">
388 Organisation(s): </label>
389 <!-- TMPL_VAR NAME="CGIorganisations" -->
397 <!--TMPL_IF Name="step_3"-->
399 <fieldset class="rows" id="memberentry_library_management">
400 <legend>Library Management</legend><ol>
401 <li> <!-- TMPL_IF NAME="mandatorycardnumber" -->
402 <label for="cardnumber" class="required">
404 <label for="cardnumber">
406 Card number: </label>
407 <input type="text" id="cardnumber" name="cardnumber" size="10" value="<!-- TMPL_VAR NAME="cardnumber" -->" /></li>
409 <!-- TMPL_IF NAME="mandatorybranchcode" -->
410 <label for="branchcode" class="required">
412 <label for="branchcode">
415 <!-- TMPL_VAR NAME="CGIbranch" -->
418 <!-- TMPL_IF NAME="catcodepopup" -->
419 <label for="categorycode">Category: </label>
420 <!-- TMPL_VAR NAME="catcodepopup" -->
422 <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-->.</span>
423 <a href="/cgi-bin/koha/admin/categorie.pl">Please create one</a>
427 <!-- TMPL_IF NAME="mandatorysort1" -->
428 <label for="sort1" class="required">
433 <!--TMPL_IF NAME="CGIsort1" -->
434 <!-- TMPL_VAR NAME="CGIsort1" -->
436 <input type="text" id="sort1" name="sort1" size="20" value="<!-- TMPL_VAR NAME="sort1" -->" />
440 <!-- TMPL_IF NAME="mandatorysort2" -->
441 <label for="sort2" class="required">
446 <!--TMPL_IF NAME="CGIsort2" -->
447 <!-- TMPL_VAR NAME="CGIsort2" -->
449 <input type="text" id="sort2" name="sort2" size="20" value="<!-- TMPL_VAR NAME="sort2" -->" />
454 <fieldset class="rows" id="memberentry_subscription">
455 <legend>Library set-up</legend><ol>
457 <!-- TMPL_IF NAME="mandatorydateenrolled" -->
458 <label for="dateenrolled" class="required">
460 <label for="dateenrolled">
462 Arrival date: </label>
463 <input type="text" id="dateenrolled" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateenrolled" -->" />
464 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateenrolled_button" alt="Show Calendar" />
465 <script language="JavaScript" type="text/javascript">
468 inputField : "dateenrolled",
469 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
470 button : "dateenrolled_button"
476 <!-- TMPL_IF NAME="mandatorydateexpiry" -->
477 <label for="dateexpiry" class="required">
479 <label for="dateexpiry">
481 Expiry date: </label>
482 <input type="text" id="dateexpiry" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="<!-- TMPL_VAR NAME="dateexpiry" -->" />
483 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="dateexpiry_button" alt="Show Calendar" />
484 <script language="JavaScript" type="text/javascript">
487 inputField : "dateexpiry",
488 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
489 button : "dateexpiry_button"
495 <!-- TMPL_IF NAME="mandatoryopacnote" -->
496 <label for="opacnote" class="required">
498 <label for="opacnote">
501 <textarea id="opacnote" name="opacnote" cols="40" rows="2"><!-- TMPL_VAR NAME="opacnote" --></textarea>
504 <!-- TMPL_IF NAME="mandatoryborrowernotes" -->
505 <label for="borrowernotes" class="required">
507 <label for="borrowernotes">
509 Library note: </label>
510 <textarea id="borrowernotes" name="borrowernotes" cols="40" rows="2"><!-- TMPL_VAR NAME="borrowernotes" --></textarea>
514 <fieldset class="rows" id="memberentry_userid">
515 <legend>OPAC login</legend><ol>
517 <!-- TMPL_IF NAME="mandatoryuserid" -->
518 <label for="userid" class="required">
523 <input type="text" id="userid" name="userid" size="20" value="<!-- TMPL_VAR NAME="userid" -->" />
526 <!-- TMPL_IF NAME="mandatorypassword" -->
527 <label for="password" class="required">
529 <label for="password">
532 <!--TMPL_IF NAME="opadd"-->
533 <input type="text" id="password" name="password" size="20" value="<!-- TMPL_VAR NAME="password" -->" />
535 <!--TMPL_IF NAME="password"-->
536 <input type="text" id="password" name="password" size="20" value="****" />
538 <input type="text" id="password" name="password" size="20" value="" />
543 <!--this zones are not necessary in modif mode -->
544 <!-- TMPL_UNLESS NAME="opadd" -->
545 <fieldset class="rows">
546 <legend>Patron Account Flags</legend>
548 <!-- TMPL_LOOP NAME="flagloop" -->
549 <li><label class="radio" for="yes<!-- TMPL_VAR NAME="name" -->"><!-- TMPL_VAR NAME="html" -->: </label>
551 <label for="yes<!-- TMPL_VAR NAME="name" -->">Yes </label>
552 <!-- TMPL_IF NAME="yes" -->
553 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" checked="checked" />
555 <input type="radio" id="yes<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="1" />
558 <label for="no<!-- TMPL_VAR NAME="name" -->">No </label>
559 <!-- TMPL_IF NAME="no" -->
560 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" checked="checked"/>
562 <input type="radio" id="no<!-- TMPL_VAR NAME="name" -->" name="<!-- TMPL_VAR NAME="name" -->" value="0" />
569 <!-- /TMPL_UNLESS -->
571 <fieldset class="action">
572 <!-- TMPL_IF NAME="opadd" -->
573 <input type="button" name="add" onclick="return check_form_borrowers(); unique();" value="Add Patron" />
575 <input type="button" name="save" onclick="return check_form_borrowers();" value="Save Changes" />
584 <!-- TMPL_INCLUDE NAME="members-menu.inc" -->
587 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->