7 [% INCLUDE 'doc-head-open.inc' %]
8 <title>Koha › Patrons ›
9 [% UNLESS blocking_error %]
11 [% ELSIF ( opduplicate ) %]Duplicate
14 [% IF (firstname) %][% firstname | html %] [% END %]
15 [% IF (surname) %][% surname | html %] [% END %]
16 ([%IF categoryname %][% categoryname | html %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])
19 [% INCLUDE 'doc-head-close.inc' %]
22 <body id="pat_memberentrygen" class="pat">
23 [% INCLUDE 'header.inc' %]
24 [% INCLUDE 'patron-search.inc' %]
26 <div id="breadcrumbs">
27 <a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/members/members-home.pl">Patrons</a>
28 [% UNLESS blocking_error %]
29 ›[% IF (firstname || surname ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | uri %]">[% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]</a> ›[% END %]
30 <strong>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron ([%IF ( categoryname ) %][% categoryname | html %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</strong>
34 <div class="main container-fluid">
37 <div class="col-md-10 col-md-offset-1 col-lg-8 col-lg-offset-2">
39 <div class="col-sm-10 col-sm-push-2">
41 <main class="clearfix">
42 [% INCLUDE 'blocking_errors.inc' %]
45 [% IF ( error_alert == "no_email" ) %]
46 <div class="dialog alert">This member has no email</div>
48 <div class="dialog alert">[% error_alert | html %]</div>
52 <div class="dialog message">Email has been sent.</div>
55 [% INCLUDE 'noadd-warnings.inc' %]
57 [% UNLESS ( no_add ) %]
58 <h1>[% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] patron [% IF (firstname) %][% firstname | html %] [% END %][% IF (surname) %][% surname | html %] [% END %]([%IF ( categoryname ) %][% categoryname | html %][% ELSE %][% IF ( I ) %]Organization[% END %][% IF ( A ) %]Adult[% END %][% IF ( C ) %]Child[% END %][% IF ( P ) %]Professional[% END %][% IF ( S ) %]Staff[% END %][% END %])</h1>
60 [% IF quickadd && opadd && !check_member %]
61 <a href="#" class="toggle_quick_add"><i class="fa fa-plus-square"></i> Show full form</a>
62 <a href="#" class="toggle_quick_add" style="display:none"><i class="fa fa-minus-square"></i> Show brief form</a>
65 [% IF ( check_member ) %]
66 <div class="dialog alert">
67 <h3>Duplicate patron record?</h3>
68 <p><a class="popup" href="#" onclick="Dopop('moremember.pl?print=brief&borrowernumber=[% check_member | html %]');return false;" >View existing record</a></p>
69 <button id="duplicate" type="submit" class="new"><i class="fa fa-pencil"></i> It is a duplicate.
70 Edit existing record</button>
72 <button type="submit" id="not-duplicate" class="new"><i class="fa fa-plus"></i> Not a duplicate.
73 Save as new record</button>
78 <div class="dialog alert">
79 <p>The following fields are wrong. Please fix them.</p>
81 [% IF ( ERROR_login_exist ) %]
82 <li id="ERROR_login_exist">Username/password already exists.</li>
84 [% IF ERROR_cardnumber_already_exists %]
85 <li id="ERROR_cardnumber">Cardnumber already in use.</li>
87 [% IF ERROR_cardnumber_length %]
88 <li id="ERROR_cardnumber">Cardnumber length is incorrect.</li>
90 [% IF ( ERROR_age_limitations ) %]
91 <li id="ERROR_age_limitations">Patron's age is incorrect for their category.
92 Ages allowed are [% age_low | html %]-[% age_high | html %].</li>
94 [% IF ( ERROR_branch ) %]
95 <li id="ERROR_branch">Library is invalid.</li>
97 [% IF ( ERROR_dateofbirth ) %]
98 <li id="ERROR_dateofbirth">Date of birth is invalid.</li>
100 [% IF ( ERROR_dateenrolled ) %]
101 <li id="ERROR_dateenrolled">Date of enrollment is invalid.</li>
103 [% IF ( ERROR_dateexpiry ) %]
104 <li id="ERROR_dateexpiry">Date of expiration is invalid.</li>
106 [% IF ( ERROR_password_too_short ) %]
107 <li id="ERROR_short_password">Password must be at least [% minPasswordLength | html %] characters long.</li>
109 [% IF ( ERROR_password_too_weak ) %]
110 <li id="ERROR_weak_password">Password must contain at least one digit, one lowercase and one uppercase.</li>
112 [% IF ( ERROR_password_has_whitespaces ) %]
113 <li id="ERROR_weak_password">Password must not contain leading or trailing whitespaces.</li>
115 [% IF ( ERROR_password_mismatch ) %]
116 <li id="ERROR_password_mismatch">Passwords do not match.</li>
118 [% IF ( ERROR_extended_unique_id_failed ) %]
119 <li id="ERROR_extended_unique_id_failed"><strong>[% ERROR_extended_unique_id_failed_description | html %]:</strong> Attribute value "[% ERROR_extended_unique_id_failed_value | html %]" is already in use by another patron record.</li>
121 [% IF ERROR_bad_email %]
122 <li id="ERROR_bad_email">The primary email is invalid.</li>
124 [% IF ERROR_bad_email_secondary %]
125 <li id="ERROR_bad_email_secondary">The secondary email is invalid.</li>
127 [% IF ERROR_bad_email_alternative %]
128 <li id="ERROR_bad_email_alternative">The alternative email is invalid.</li>
135 <div id="toolbar" class="btn-toolbar">
136 [% UNLESS ( check_member ) %]
137 [% IF quickadd && opadd %]
138 <button class="btn btn-default toggler" id="save_quick_add" name="save"><i class="fa fa-save"></i> Save</button>
140 <button class="btn btn-default toggler" id="saverecord" name="save" ><i class="fa fa-save"></i> Save</button>
142 <a class="btn btn-default" href="/cgi-bin/koha/members/member.pl" class="toggler save_entryform">
144 <a class="btn btn-default" href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber | html %]">
146 <i class="fa fa-times"></i> Cancel
151 <form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler" >
152 [% UNLESS ( check_member ) %]
153 <input type="hidden" name="nodouble" value="[% nodouble | html %]" />
155 <!-- field always hidden in different form (1,2,3) -->
156 <input type="hidden" name="BorrowerMandatoryField" value="[% BorrowerMandatoryField | html %]" />
157 <input type="hidden" name="category_type" value="[% category_type | html %]" />
158 <input type="hidden" name="updtype" value="[% updtype | html %]" />
159 <input type="hidden" name="destination" value="[% destination | html %]" />
160 <input type="hidden" name="check_member" value="[% check_member | html %]" />
161 <input type="hidden" name="borrowernumber" value="[% borrowernumber | html UNLESS opduplicate %]" />
162 <input type="hidden" name="nodouble" value="[% nodouble | html UNLESS opduplicate %]" />
163 <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />
164 [% IF ( step ) %]<input type="hidden" name="step" value="[% step | html %]" />[% END %]
165 [% IF ( opadd ) %]<input type="hidden" name="op" value="insert" />
166 [% ELSIF ( opduplicate ) %]
167 <input type="hidden" name="op" value="insert" />
169 <input type="hidden" name="op" value="save" />
170 [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 || step == 7 %]
171 [%# Only put the cardnumber if we arent showing it in the form later %]
173 <input type="hidden" name="cardnumber" value="[% cardnumber | html %]" />
179 [%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
180 <fieldset class="rows" id="memberentry_identity">
181 <legend id="identity_lgd">[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity</legend>
185 [% IF Koha.Preference('BorrowersTitles') %]
187 [% IF ( mandatorytitle ) %]
188 <label for="btitle" class="required">
193 <select id="btitle" name="title">
194 <option value=""></option>
195 [% FOREACH t IN Koha.Preference('BorrowersTitles').split('\|') %]
197 <option value="[% t | html %]" selected="selected">[% t | html %]</option>
199 <option value="[% t | html %]">[% t | html %]</option>
203 [% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %]
208 [% UNLESS nosurname %]
212 <label for="surname" class="required">
216 [% IF ( mandatorysurname ) %]
217 <label for="surname" class="required">
219 <label for="surname">
224 [% IF ( uppercasesurnames ) %]
225 <input style="text-transform:uppercase;" type="text" id="surname" name="surname" size="20" value="[% surname | html %]" />
227 <input type="text" id="surname" name="surname" size="20" value="[% surname | html %]" />
229 [% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %]
233 [% UNLESS nofirstname %]
235 [% IF ( mandatoryfirstname ) %]
236 <label for="firstname" class="required">
238 <label for="firstname">
241 <input type="text" id="firstname" name="firstname" size="20" value="[% firstname | html UNLESS opduplicate %]" />
242 [% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %]
245 [% UNLESS nodateofbirth %]
247 [% IF ( mandatorydateofbirth ) %]
248 <label for="dateofbirth" class="required">
250 <label for="dateofbirth">
252 Date of birth: </label>
254 <input type="text" id="dateofbirth" name="dateofbirth" size="20" onchange="write_age();" value="[% dateofbirth | html UNLESS opduplicate %]" class="datepicker" />
256 [% IF ( mandatorydateofbirth ) %]<span class="required">Required</span>[% END %]
257 [% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %]
258 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
261 [% UNLESS noinitials %]
263 [% IF ( mandatoryinitials ) %]
264 <label for="initials" class="required">
266 <label for="initials">
269 <input type="text" id="initials" name="initials" size="20" value="[% initials | html UNLESS opduplicate %]" />
270 [% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %]
274 [% UNLESS noothernames %]
276 [% IF ( mandatoryothernames ) %]
277 <label for="othernames" class="required">
279 <label for="othernames">
282 <input type="text" id="othernames" name="othernames" size="20" value="[% othernames | html UNLESS opduplicate %]" />
283 [% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %]
284 [% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %]
291 [% UNLESS ( opduplicate ) %]
293 <label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" checked="checked" /> Female</label>
295 <label for="sex-female"><input type="radio" name="sex" id="sex-female" value="F" /> Female</label>
298 <label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" checked="checked" /> Male</label>
300 <label for="sex-male"><input type="radio" name="sex" id="sex-male" value="M" /> Male</label>
303 <label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> None specified</label>
305 <label for="sex-none"><input type="radio" name="sex" id="sex-none" value="" /> None specified</label>
308 <label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" />
309 <label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" />
310 <label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" />
318 [% END # hide fieldset %]
320 [% IF ( showguarantor ) %]
321 <input type="hidden" id="guarantorid" name="guarantorid" value="[% guarantorid | html %]" />
323 <input type="hidden" name="branchcode" value="[% branchcode | html %]" />
325 <fieldset id="memberentry_guarantor" class="rows">
326 <legend id="guarantor_lgd">Guarantor information</legend>
329 [% IF ( guarantorid ) %]
330 <li id="contact-details">
332 <li id="contact-details" style="display: none">
334 <span class="label">Organization #:</span> [% IF ( guarantorid ) %] <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid | uri %]" target="blank">[% guarantorid | html %]</a>[% END %]
337 <label for="contactname">Organization name: </label>
338 [% IF ( guarantorid ) %]
339 <span>[% contactname | html %]</span>
340 <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" />
342 <input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" />
347 [% IF ( guarantorid ) %]
348 <li id="contact-details">
350 <li id="contact-details" style="display: none">
352 <span class="label">Patron #:</span>
354 [% IF logged_in_user.can_see_patron_infos( guarantor ) %]
355 <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% guarantorid | uri %]" target="blank">[% guarantorid | html %]</a>
357 [% guarantorid | html %]
361 [% UNLESS nocontactname %]
363 <label for="contactname">Surname: </label>
364 [% IF ( guarantorid ) %]
365 <span>[% contactname | html %]</span>
366 <input name="contactname" id="contactname" type="hidden" size="20" value="[% contactname | html %]" />
368 <input name="contactname" id="contactname" type="text" size="20" value="[% contactname | html %]" />
372 [% UNLESS nocontactfirstname %]
374 <label for="contactfirstname">First name: </label>
375 [% IF ( guarantorid ) %]
376 <span>[% contactfirstname | html %]</span>
377 <input name="contactfirstname" id="contactfirstname" type="hidden" size="20" value="[% contactfirstname | html %]" />
379 <input name="contactfirstname" id="contactfirstname" type="text" size="20" value="[% contactfirstname | html %]" />
383 [% IF ( relshiploop ) %]
385 <label for="relationship">Relationship: </label>
386 <select name="relationship" id="relationship" >
387 [% FOREACH relshiploo IN relshiploop %]
388 [% IF ( relshiploo.selected ) %]
389 <option value="[% relshiploo.relationship | html %]" selected="selected" >[% relshiploo.relationship | html %]</option>
391 <option value="[% relshiploo.relationship | html %]">[% relshiploo.relationship | html %]</option>
400 <span class="label"> </span>
401 [% IF ( guarantorid ) %]
402 <input id="guarantorsearch" type="button" value="Change" onclick="Dopopguarantor('guarantor_search.pl');" />
404 <input id="guarantorsearch" type="button" value="Set to patron" onclick="Dopopguarantor('guarantor_search.pl');" />
406 <input id="guarantordelete" type="button" value="Delete" />
408 [% IF guarantorid && Koha.Preference('AllowStaffToSetCheckoutsVisibilityForGuarantor') %]
410 <label for="privacy_guarantor_checkouts">Show checkouts to guarantor</label>
411 <select name="privacy_guarantor_checkouts" id="privacy_guarantor_checkouts">
412 [% IF privacy_guarantor_checkouts %]
413 <option value="0">No</option>
414 <option value="1" selected>Yes</option>
416 <option value="0" selected>No</option>
417 <option value="1">Yes</option>
420 <div class="hint">Allow guarantor of this patron to view this patron's checkouts from the OPAC</div>
427 [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
428 [% IF Koha.Preference( 'AddressFormat' ) %]
429 [% INCLUDE "member-main-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %]
431 [% END # nostreet && nocity etc group%]
433 [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
434 <fieldset class="rows" id="memberentry_contact">
435 <legend id="contact_lgd">Contact</legend><ol>
438 [% IF ( mandatoryphone ) %]
439 <label for="phone" class="required">
443 Primary phone: </label>
444 <input type="text" id="phone" name="phone" value="[% phone | html %]" />
445 [% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
449 [% UNLESS nophonepro %]
451 [% IF ( mandatoryphonepro ) %]
452 <label for="phonepro" class="required">
454 <label for="phonepro">
456 Secondary phone: </label>
457 <input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" />
458 [% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %]
461 [% UNLESS nomobile %]
463 [% IF ( mandatorymobile ) %]
464 <label for="mobile" class="required">
468 Other phone: </label>
469 <input type="text" id="mobile" name="mobile" value="[% mobile | html %]" />
470 [% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %]
475 [% IF ( mandatoryemail ) %]
476 <label for="email" class="required">
480 Primary email: </label>
481 <input type="text" id="email" name="email" size="45" value="[% email | html %]" />
482 [% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div>
486 [% UNLESS noemailpro %]
488 [% IF ( mandatoryemailpro ) %]
489 <label for="emailpro" class="required">
491 <label for="emailpro">
493 Secondary email: </label>
494 <input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" />
495 [% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %]
500 [% IF ( mandatoryfax ) %]
501 <label for="fax" class="required">
506 <input type="text" id="fax" name="fax" value="[% fax | html %]" />
507 [% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %]
512 [%END # hide fieldset %]
514 <!-- ************************ STEP_1 *********************** -->
518 [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
519 [% SWITCH Koha.Preference( 'AddressFormat' ) %]
521 [% INCLUDE 'member-alt-address-style-de.inc' %]
523 [% INCLUDE 'member-alt-address-style-us.inc' %]
526 [% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %]
529 [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
530 [% SWITCH Koha.Preference( 'AddressFormat' ) %]
532 [% INCLUDE 'member-alt-contact-style-de.inc' %]
534 [% INCLUDE 'member-alt-contact-style-us.inc' %]
536 [% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %]
541 [% SET autoMemberNum = Koha.Preference('autoMemberNum') %]
542 <fieldset class="rows" id="memberentry_library_management">
543 <legend id="library_management_lgd">Library management</legend><ol>
544 [% UNLESS nocardnumber %]
546 [% IF mandatorycardnumber %]
547 <label for="cardnumber" class="required">
549 <label for="cardnumber" class="validated">
551 Card number: </label>
553 <!-- NOTE: div.hint closing tag isn't on the same line -->
554 [% IF minlength_cardnumber == maxlength_cardnumber %]
555 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber | html %]" maxlength="[% maxlength_cardnumber | html %]" />
556 [% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber | html %] characters.</span>
557 <div class="hint">Card number must be exactly [% minlength_cardnumber | html %] characters.
558 [% ELSIF minlength_cardnumber && maxlength_cardnumber %]
559 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" minlength="[% minlength_cardnumber | html %]" maxlength="[% maxlength_cardnumber | html %]" />
560 [% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber | html %] characters.</span>
561 <div class="hint">Card number must be between [% minlength_cardnumber | html %] and [% maxlength_cardnumber | html %] characters.
562 [% ELSIF maxlength_cardnumber %]
563 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" maxlength="[% maxlength_cardnumber | html %]" />
564 [% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]<span id="cn_max" class="required">Card number must not be more than [% maxlength_cardnumber | html %] characters.</span>
565 <div class="hint">Card number can be up to [% maxlength_cardnumber | html %] characters.
567 <input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" />
568 [% IF mandatorycardnumber %]<span class="required">Required</span>[% END %]
569 <div class="hint">There is no minimum or maximum character length.
571 [% IF autoMemberNum %]
572 [% IF mandatorycardnumber %]
573 <br/><span class="error">AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.</span>
575 <br/>Leave blank for auto calc during registration
578 </div><!--/hint div -->
581 [% UNLESS nobranchcode %]
583 <label for="libraries" class="required">Library:</label>
584 <select name="branchcode" size="1" id="libraries">
585 [% PROCESS options_for_libraries libraries => Branches.all( selected => userbranch, only_from_group => 1 ) %]
587 <span class="required">Required</span>
591 <label for="categorycode_entry" class="required">Category: </label>
592 <select id="categorycode_entry" name="categorycode" onchange="update_category_code(this);">
593 [% FOREACH typeloo IN typeloop %]
594 [% FOREACH categoryloo IN typeloo.categoryloop %]
595 [% IF ( loop.first ) %]
596 [% IF ( typeloo.typename_C ) %]<optgroup label="Child">[% END %]
597 [% IF ( typeloo.typename_A ) %]<optgroup label="Adult">[% END %]
598 [% IF ( typeloo.typename_S ) %]<optgroup label="Staff">[% END %]
599 [% IF ( typeloo.typename_I ) %]<optgroup label="Organization">[% END %]
600 [% IF ( typeloo.typename_P ) %]<optgroup label="Professional">[% END %]
601 [% IF ( typeloo.typename_X ) %]<optgroup label="Statistical">[% END %]
603 [% IF ( categoryloo.categorycodeselected ) %]
604 <option value="[% categoryloo.categorycode | html %]" selected="selected" data-typename="[% typeloo.typename | html %]">[% categoryloo.categoryname | html %]</option>
606 <option value="[% categoryloo.categorycode | html %]" data-typename="[% typeloo.typename | html %]">[% categoryloo.categoryname | html %]</option>
608 [% IF ( loop.last ) %]
614 <span class="required">Required</span>
618 [% IF ( mandatorysort1 ) %]
619 <label for="sort1" class="required">
624 [% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %]
625 [% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %]
630 [% IF ( mandatorysort2 ) %]
631 <label for="sort2" class="required">
636 [% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %]
637 [% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %]
640 [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
641 <li><label for="checkprevcheckout">Check for previous checkouts: </label>
642 <select name="checkprevcheckout" id="checkprevcheckout">
643 [% IF ( checkprevcheckout == 'yes' ) %]
644 <option value="yes" selected="selected">Yes if settings allow it</option>
645 <option value="no">No if settings allow it</option>
646 <option value="inherit">Inherit from settings</option>
647 [% ELSIF ( checkprevcheckout == 'no' ) %]
648 <option value="yes">Yes if settings allow it</option>
649 <option value="no" selected="selected">No if settings allow it</option>
650 <option value="inherit">Inherit from settings</option>
652 <option value="yes">Yes if settings allow it</option>
653 <option value="no">No if settings allow it</option>
654 <option value="inherit" selected="selected">Inherit from settings</option>
659 [% IF Koha.Preference('TranslateNotices') %]
661 <label for="lang">Preferred language for notices: </label>
662 <select id="lang" name="lang">
663 <option value="default">Default</option>
664 [% FOR language IN languages %]
665 [% FOR sublanguage IN language.sublanguages_loop %]
666 [% IF language.plural %]
667 [% IF sublanguage.rfc4646_subtag == lang %]
668 <option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option>
670 <option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option>
673 [% IF sublanguage.rfc4646_subtag == lang %]
674 <option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option>
676 <option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option>
686 [% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
687 <fieldset class="rows" id="memberentry_subscription">
688 <legend id="library_setup_lgd">Library set-up</legend><ol>
689 [% UNLESS nodateenrolled %]
691 [% IF ( mandatorydateenrolled ) %]
692 <label for="from" class="required">
696 Registration date: </label>
697 [% IF ( dateformat == "metric" ) %]
698 <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" onchange="CheckDate(document.form.dateenrolled);check_manip_date('verify');" value="[% dateenrolled | html %]" class="datepickerfrom" />
700 <input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled | html %]" class="datepickerfrom" />
702 [% IF ( mandatorydateenrolled ) %]<span class="required">Required</span>[% END %]
703 [% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %]
704 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
707 [% UNLESS nodateexpiry %]
710 <li style="display:none">
712 [% IF ( mandatorydateexpiry ) %]
713 <label for="to" class="required">
717 Expiry date (leave blank for auto calc): </label>
718 [% IF ( dateformat == "metric" ) %]
719 [% UNLESS ( opadd ) %]
720 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" value="[% dateexpiry | html UNLESS opduplicate %]" class="datepickerto" />
722 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" onchange="CheckDate(document.form.dateexpiry);check_manip_date('verify');" class="datepickerto" />
725 [% UNLESS ( opadd ) %]
726 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry | html UNLESS opduplicate %]" class="datepickerto" />
728 <input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry | html %]" class="datepickerto" />
731 [% IF ( mandatorydateexpiry ) %]<span class="required">Required</span>[% END %]
732 [% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %]
733 <div class="hint">[% INCLUDE 'date-format.inc' %]</div>
735 [% UNLESS noopacnote %]
737 [% IF ( mandatoryopacnote ) %]
738 <label for="opacnote" class="required">
740 <label for="opacnote">
743 <textarea id="opacnote" name="opacnote" cols="55" rows="5">[% opacnote | html UNLESS opduplicate %]</textarea>
744 <div class="hint">This message appears on this patron's user page in the OPAC</div>
745 [% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %]
748 [% UNLESS noborrowernotes %]
750 [% IF ( mandatoryborrowernotes ) %]
751 <label for="borrowernotes" class="required">
753 <label for="borrowernotes">
755 Circulation note: </label>
756 <textarea id="borrowernotes" name="borrowernotes" cols="55" rows="5">[% borrowernotes | html UNLESS opduplicate %]</textarea>
757 <div class="hint">This message displays when checking out to this patron</div>
758 [% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %]
763 [% END # hide fieldset %]
765 [% UNLESS nouserid && nopassword %]
766 <fieldset class="rows" id="memberentry_userid">
767 <legend id="opac_staff_login_lgd">OPAC/Staff login</legend><ol>
768 [% UNLESS nouserid %]
770 [% IF ( mandatoryuserid ) %]
771 <label for="userid" class="required">
777 [% IF ( NoUpdateLogin ) %]
778 [% IF ( opduplicate ) %]
779 <input type="text" id="userid" name="userid" size="20" disabled="disabled" />
781 <input type="text" id="userid" name="userid" size="20" disabled="disabled" value="[% userid | html %]" />
784 [% IF ( opduplicate ) %]
785 <input type="text" id="userid" name="userid" size="20" value="" />
787 <input type="text" id="userid" name="userid" size="20" value="[% userid | html %]" />
791 [%# Dummy input to avoid Firefox from using userid/password saved for authentication %]
792 <input type="text" disabled="disabled" style="display:none" />
794 [% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %]
797 [% UNLESS nopassword %]
799 [% IF ( mandatorypassword ) %]
800 <label for="password" class="required">
802 <label for="password">
806 [% IF ( NoUpdateLogin ) %]
807 [% IF ( opduplicate ) %]
808 <input type="password" id="password" name="password" size="20" disabled="disabled" />
810 <input type="password" id="password" name="password" size="20" disabled="disabled" value="[% password | html %]" />
813 [% IF ( opduplicate ) %]
814 <input type="password" id="password" name="password" size="20" />
816 <input type="password" id="password" name="password" size="20" value="[% password | html %]" />
820 [% IF ( password ) %]
821 [% IF ( NoUpdateLogin ) %]
822 <input type="password" id="password" name="password" size="20" disabled="disabled" value="****" />
824 [% IF ( opduplicate ) %]
825 <input type="password" id="password" name="password" size="20" />
827 <input type="password" id="password" name="password" size="20" value="****" />
831 [% IF ( NoUpdateLogin ) %]
832 <input type="password" id="password" name="password" size="20" disabled="disabled" value="" />
834 <input type="password" id="password" name="password" size="20" value="" />
838 [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %]
839 [% IF ( ERROR_password_too_short ) %]<span class="required">Password is too short</span>[% END %]
840 [% IF ( ERROR_password_too_weak ) %]<span class="required">Password is too weak</span>[% END %]
841 [% IF ( ERROR_password_has_whitespaces ) %]<span class="required">Password has leading or trailing whitespaces</span>[% END %]
842 <div class="hint">Minimum password length: [% minPasswordLength | html %]</div>
845 [% IF ( mandatorypassword ) %]
846 <label for="password2" class="required">
848 <label for="password2">
850 Confirm password: </label>
852 [% IF ( NoUpdateLogin ) %]
853 [% IF ( opduplicate ) %]
854 <input type="password" id="password2" name="password2" size="20" disabled="disabled" />
856 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="[% password | html %]" />
859 [% IF ( opduplicate ) %]
860 <input type="password" id="password2" name="password2" size="20" />
862 <input type="password" id="password2" name="password2" size="20" value="[% password | html %]" />
866 [% IF ( password ) %]
867 [% IF ( NoUpdateLogin ) %]
868 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="****" />
870 [% IF ( opduplicate ) %]
871 <input type="password" id="password2" name="password2" size="20" />
873 <input type="password" id="password2" name="password2" size="20" value="****" />
877 [% IF ( NoUpdateLogin ) %]
878 <input type="password" id="password2" name="password2" size="20" disabled="disabled" value="" />
880 <input type="password" id="password2" name="password2" size="20" value="" />
884 [% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %][% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %]
888 [% END # hide fieldset %][% END %]
889 <!--this zones are not necessary in modif mode -->
890 [% UNLESS ( opadd || opduplicate ) %]
891 <fieldset class="rows" id="memberentry_account_flags">
892 <legend id="account_flags_lgd">Patron account flags</legend>
894 [% FOREACH flagloo IN flagloop %]
895 <li><label class="radio" for="yes[% flagloo.name | html %]">
896 [% IF ( flagloo.key == 'gonenoaddress' ) %]Gone no address:[% END %]
897 [% IF ( flagloo.key == 'lost' ) %]Lost card:[% END %]
899 [% IF CAN_user_circulate_manage_restrictions %]
900 <label for="yes[% flagloo.name | html %]">
901 [% IF ( flagloo.yes ) %]
902 <input type="radio" id="yes[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="1" checked="checked" />
904 <input type="radio" id="yes[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="1" />
907 <label for="no[% flagloo.name | html %]">
908 [% IF ( flagloo.no ) %]
909 <input type="radio" id="no[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="0" checked="checked"/>
911 <input type="radio" id="no[% flagloo.name | html %]" name="[% flagloo.name | html %]" value="0" />
915 [% IF flagloo.yes %]Yes[% ELSE %]No[% END %]
924 <fieldset class="rows" id="memberentry_restrictions">
925 <legend id="restrictions_lgd">Patron restrictions</legend>
927 [% IF ( debarments ) %]
935 [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
942 [% FOREACH d IN debarments %]
944 <td>[% d.type | html %]</td>
946 [% IF d.comment.search('OVERDUES_PROCESS') %]
947 Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') | $raw %]
949 [% d.comment | $raw %]
952 <td>[% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] <i>Indefinite</i> [% END %]</td>
953 <td>[% d.created | $KohaDates %]</td>
954 [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
956 <input type="checkbox" id="debarment_[% d.borrower_debarment_id | html %]" name="remove_debarment" value="[% d.borrower_debarment_id | html %]" />
964 <p>Patron is currently unrestricted.</p>
967 [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]
968 <p><a href="#" id="add_manual_restriction">Add manual restriction</a></p>
969 <fieldset id="manual_restriction_form">
970 <input type="hidden" id="add_debarment" name="add_debarment" value="0" />
971 <legend id="manual_restriction_lgd">Add manual restriction</legend>
973 <li><label for="debarred_comment">Comment: </label><input type="text" id="debarred_comment" name="debarred_comment" onchange="$('#add_debarment').val(1);" /></li>
974 <li><label for="debarred_expiration">Expiration: </label><input name="debarred_expiration" id="debarred_expiration" size="10" value="" class="datepicker" onchange="$('#add_debarment').val(1);" type="text" />
975 <a href='javascript:void(0)' onclick="$('#debarred_expiration').val('');">Clear date</a></li>
979 <a class="cancel" id="cancel_manual_restriction" href="#">Cancel</a>
989 [% IF Koha.Preference('HouseboundModule') %]
990 <fieldset class="rows" id="memberentry_housebound_roles">
991 <legend id="housebound_roles">Housebound roles</legend>
994 <label class="radio" for="housebound_chooser">
997 [% IF ( housebound_role.housebound_chooser == 1 ) %]
998 <label for="yes_housebound_chooser">Yes </label>
999 <input type="radio" id="yes_housebound_chooser"
1000 name="housebound_chooser" value="1"
1001 checked="checked" />
1002 <label for="no_housebound_chooser">No </label>
1003 <input type="radio" id="no_housebound_chooser"
1004 name="housebound_chooser" value="0" />
1006 <label for="yes_housebound_chooser">Yes </label>
1007 <input type="radio" id="yes_housebound_chooser"
1008 name="housebound_chooser" value="1" />
1009 <label for="no_housebound_chooser">No </label>
1010 <input type="radio" id="no_housebound_chooser"
1011 name="housebound_chooser" value="0"
1012 checked="checked" />
1016 <label class="radio" for="housebound_deliverer">Deliverer:</label>
1017 [% IF ( housebound_role.housebound_deliverer == 1 ) %]
1018 <label for="yes_housebound_deliverer">Yes </label>
1019 <input type="radio" id="yes_housebound_deliverer"
1020 name="housebound_deliverer" value="1"
1021 checked="checked" />
1022 <label for="no_housebound_deliverer">No </label>
1023 <input type="radio" id="no_housebound_deliverer"
1024 name="housebound_deliverer" value="0" />
1026 <label for="yes_housebound_deliverer">Yes </label>
1027 <input type="radio" id="yes_housebound_deliverer"
1028 name="housebound_deliverer" value="1" />
1029 <label for="no_housebound_deliverer">No </label>
1030 <input type="radio" id="no_housebound_deliverer"
1031 name="housebound_deliverer" value="0"
1032 checked="checked" />
1037 [% END # hide fieldset %]
1038 [% END # IF step_7 %]
1041 [% IF Koha.Preference('ExtendedPatronAttributes') %][% UNLESS ( no_patron_attribute_types ) %]
1042 <fieldset class="rows" id="memberentry_patron_attributes">
1043 <legend id="patron_attributes_lgd">Additional attributes and identifiers</legend>
1044 <input type="hidden" name="setting_extended_patron_attributes" value="1" />
1045 [% FOREACH pa_loo IN patron_attributes %]
1046 <ol class="attributes_table">
1047 [% IF pa_loo.class %]
1048 <fieldset id="aai_[% pa_loo.class | html %]">
1049 <legend id="[% pa_loo.class | html %]_lgd">[% pa_loo.lib | html %]</legend>
1051 [% FOREACH patron_attribute IN pa_loo.items %]
1052 <li data-category_code="[% patron_attribute.category_code | html %]">
1053 <label for="[% patron_attribute.form_id | html %]">[% patron_attribute.description | html %]: </label>
1054 [% IF ( patron_attribute.use_dropdown ) %]
1055 <select id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">
1056 <option value=""></option>
1057 [% FOREACH auth_val_loo IN patron_attribute.auth_val_loop %]
1058 [% IF auth_val_loo.authorised_value == patron_attribute.value %]
1059 <option value="[% auth_val_loo.authorised_value | html %]" selected="selected">
1060 [% auth_val_loo.lib | html %]
1063 <option value="[% auth_val_loo.authorised_value | html %]" >
1064 [% auth_val_loo.lib | html %]
1070 <textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea>
1072 <input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" />
1073 <a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a>
1074 [% IF ( patron_attribute.repeatable ) %]
1075 <a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a>
1079 [% IF pa_loo.class %]</fieldset>[% END %]
1083 [% END %][% END %][% END %]
1085 [% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
1086 <fieldset class="rows" id="memberentry_messaging_prefs">
1087 <legend id="patron_messaging_prefs_lgd">Patron messaging preferences</legend>
1088 <div id="messaging_prefs_loading" class="form-message" style="display:none">
1089 <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading new messaging defaults
1091 <input type="hidden" name="setting_messaging_prefs" value="1" />
1092 [% INCLUDE 'messaging-preference-form.inc' %]
1093 [% IF ( SMSSendDriver ) %]
1094 <p><label for="SMSnumber">SMS number:</label>
1095 <input type="text" id="SMSnumber" name="SMSnumber" value="[% SMSnumber | html %]" />
1096 <span class="hint">SMS number should be in the format 1234567890 or +11234567890</span>
1098 [% UNLESS nosms_provider_id %]
1100 <label for="sms_provider_id">SMS provider:</label>
1101 <select id="sms_provider_id" name="sms_provider_id">
1102 <option value="">Unknown</option>
1103 [% FOREACH s IN sms_providers %]
1104 [% IF s.id == sms_provider_id %]
1105 <option value="[% s.id | html %]" selected="selected">[% s.name | html %]</option>
1107 <option value="[% s.id | html %]">[% s.name | html %]</option>
1119 [% IF quickadd && opadd && !check_member %]
1120 <form id="quick_add_form" class="toggler">
1121 <fieldset class="rows quick_add"><legend>Quick add</legend>
1122 <ol id="quick_add_list">
1130 </div> <!-- /.col-sm-10.col-sm-push-2 -->
1132 [% UNLESS ( opadd ) %]
1133 <div class="col-sm-2 col-sm-pull-10">
1135 [% INCLUDE 'circ-menu.inc' %]
1137 </div> <!-- /.col-sm-2.col-sm-pull-10 -->
1139 </div> <!-- /.row -->
1141 [% MACRO jsinclude BLOCK %]
1142 [% Asset.js("lib/hc-sticky.js") | $raw %]
1143 [% INCLUDE 'calendar.inc' %]
1144 [% INCLUDE 'str/members-menu.inc' %]
1145 [% Asset.js("js/members-menu.js") | $raw %]
1147 function update_cardnumber_warning(size){
1148 var max_len = [% maxlength_cardnumber | html %];
1149 if ( size >= max_len ) {
1150 $("#cn_max").show();
1152 $("#cn_max").hide();
1156 $(document).ready(function() {
1158 $("#saverecord").css({ 'margin-left': 0 });
1160 Sticky = $("#toolbar");
1163 stickyClass: "floating"
1166 [% IF categorycode %]
1167 update_category_code( "[% categorycode | html %]" );
1169 if ( $("#categorycode_entry").length > 0 ){
1170 var category_code = $("#categorycode_entry").find("option:selected").val();
1171 update_category_code( category_code );
1175 $("#cn_max").hide();
1177 $("#cardnumber").on("keydown", function(e){
1178 content = $(this).val();
1180 $("#cardnumber").on("keyup", function(e){
1181 // .val() will return the value of the input after the key has been released
1182 var l = $(this).val().length;
1183 if ( l == content.length + 1 ) { l--; }
1184 update_cardnumber_warning(l);
1186 $("#cardnumber").bind("paste", function(e){
1187 var pastedData = e.originalEvent.clipboardData.getData('text');
1188 update_cardnumber_warning(pastedData.length - 1);
1190 var toggle_quick_add = $(".toggle_quick_add");
1191 $(toggle_quick_add).click(function(e){
1192 toggle_quick_add.toggle();
1195 var toggle_from = '';
1196 if( $("#entryform:visible").length ) {
1197 toggle_to = "#quick_add_form label";
1198 toggle_from = "#entryform label";
1200 toggle_to="#entryform label";
1201 toggle_from = "#quick_add_form label";
1203 $(toggle_from).each(function() {
1204 var input_label = $(this).attr('for');
1205 if ( input_label == 'sex-male' || input_label == 'sex-none' || input_label == 'sex-female' ) {
1206 $(toggle_to+"[for='"+input_label+"']").next().prop('checked', $(this).next().prop('checked') );
1209 $(toggle_to+"[for='"+input_label+"']").next().val( $(this).next().val() );
1212 $(".toggler").toggle();
1215 $("#save_quick_add").click(function(){
1216 $("#quick_add_form").validate();
1217 if( $("#quick_add_form").valid()){
1218 $('.toggle_quick_add').click();
1219 $('#saverecord').click();
1221 else {return false;}
1224 $("#saverecord").click(function(){
1225 if( check_form_borrowers() ){
1226 $("#entryform").submit();
1230 $('#duplicate').on('click', function() {
1231 $("input[name='op']").val('modify');
1232 $("input[name='borrowernumber']").val('[% check_member | html %]');
1233 $("input[name='check_member']").val('');
1234 $('#entryform').submit();
1237 $('#not-duplicate').on('click', function() {
1238 $("input[name='nodouble']").val('1');
1239 $('#entryform').submit();
1243 var MSG_SEPARATOR = _("Separator must be / in field %s");
1244 var MSG_INCORRECT_DAY = _("Invalid day entered in field %s");
1245 var MSG_INCORRECT_MONTH = _("Invalid month entered in field %s");
1246 var MSG_INCORRECT_YEAR = _("Invalid year entered in field %s");
1247 var MSG_DUPLICATE_PATRON = _("Warning: Duplicate patron");
1248 var MSG_DUPLICATE_ORGANIZATION = _("Warning: Duplicate organization");
1249 var MSG_LATE_EXPIRY = _("Warning: Expiration date falls before enrollment date");
1250 var MSG_DUPLICATE_SUSPICION = _("Please confirm whether this is a duplicate patron");
1251 var MSG_MONTH = _("%s month")
1252 var MSG_MONTHS = _("%s months")
1253 var MSG_YEAR = _("%s year")
1254 var MSG_YEARS = _("%s years")
1255 var LABEL_CHANGE = _("Change");
1256 var LABEL_SET_TO_PATRON = _("Set to patron");
1257 var LABEL_AGE = _("Age");
1258 var MSG_MESSAGING_DFEAULTS = _("Change messaging preferences to default for this category?");
1260 [% IF quickadd && opadd && !check_member %]
1261 $(document).ready(function () {
1263 $("#entryform,#saverecord").hide();
1264 [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') %]
1265 var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field | html %]",[% END %]];
1266 var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields
1267 $("#entryform label").each(function () {
1268 var input_label = $(this).attr('for');
1269 if ( input_label == 'sex-female' ) {
1272 else if ( input_label == 'btitle' ) {
1273 input_label='title';
1275 if ( skipped_fields.indexOf( input_label ) != -1 ) { input_label=""; }
1276 if( qaddfields.indexOf( input_label ) != -1 || $(this).attr('class') == 'required' ){
1277 $(this).parent().clone().appendTo("#quick_add_list");
1278 [% UNLESS mandatorypassword %]
1279 if( input_label == 'password' ) $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list");
1283 if( $("#memberentry_guarantor").length ) {
1284 $("#memberentry_guarantor").clone().appendTo("#quick_add_list").css("margin",0);
1285 $("#quick_add_form #memberentry_guarantor").append("<p>" + _("Note: Quick add guarantor form populates address fields in full form") + "</p>");
1286 $("#quick_add_list #guarantordelete").prop('id','qagd');
1288 $("#qagd").click(function() { $("#guarantordelete").click(); });
1289 $("#quick_add_form").show();
1294 [% Asset.js("js/members.js") | $raw %]
1295 [% Asset.js("js/messaging-preference-form.js") | $raw %]
1296 [% PROCESS 'password_check.inc' %]
1297 [% PROCESS 'add_password_check' new_password => 'password' %]
1300 [% INCLUDE 'intranet-bottom.inc' %]