Lines 65-72
Link Here
|
65 |
[% IF ( S ) %] Staff [% END %] |
65 |
[% IF ( S ) %] Staff [% END %] |
66 |
[% END %]) |
66 |
[% END %]) |
67 |
</strong> |
67 |
</strong> |
68 |
[% END %] |
68 |
[% END # /UNLESS blocking_error %] |
69 |
</div> |
69 |
</div> <!-- /#breadcrumbs --> |
70 |
|
70 |
|
71 |
<div class="main container-fluid"> |
71 |
<div class="main container-fluid"> |
72 |
<div class="row"> |
72 |
<div class="row"> |
Lines 101-108
Link Here
|
101 |
[% ELSE %] |
101 |
[% ELSE %] |
102 |
Modify patron |
102 |
Modify patron |
103 |
[% END %] |
103 |
[% END %] |
|
|
104 |
|
104 |
[% IF (firstname) %] [% firstname | html %] [% END %] |
105 |
[% IF (firstname) %] [% firstname | html %] [% END %] |
105 |
[% IF (surname) %] [% surname | html %] [% END %] |
106 |
[% IF (surname) %] [% surname | html %] [% END %] |
|
|
107 |
|
106 |
([% IF ( categoryname ) %] |
108 |
([% IF ( categoryname ) %] |
107 |
[% categoryname | html %] |
109 |
[% categoryname | html %] |
108 |
[% ELSE %] |
110 |
[% ELSE %] |
Lines 129-135
Link Here
|
129 |
<button type="submit" id="not-duplicate" class="new"><i class="fa fa-plus"></i> Not a duplicate. |
131 |
<button type="submit" id="not-duplicate" class="new"><i class="fa fa-plus"></i> Not a duplicate. |
130 |
Save as new record</button> |
132 |
Save as new record</button> |
131 |
</div> |
133 |
</div> |
132 |
[% END %] |
134 |
[% END # /IF check_member %] |
133 |
|
135 |
|
134 |
[% IF ( nok ) %] |
136 |
[% IF ( nok ) %] |
135 |
<div class="dialog alert"> |
137 |
<div class="dialog alert"> |
Lines 185-192
Link Here
|
185 |
<li id="ERROR_bad_email_alternative">The alternative email is invalid.</li> |
187 |
<li id="ERROR_bad_email_alternative">The alternative email is invalid.</li> |
186 |
[% END %] |
188 |
[% END %] |
187 |
</ul> |
189 |
</ul> |
188 |
</div> |
190 |
</div> <!-- /.dialog.alert --> |
189 |
[% END %] |
191 |
[% END # /IF nok %] |
190 |
|
192 |
|
191 |
<div id="toolbar" class="btn-toolbar"> |
193 |
<div id="toolbar" class="btn-toolbar"> |
192 |
[% UNLESS ( check_member ) %] |
194 |
[% UNLESS ( check_member ) %] |
Lines 201-208
Link Here
|
201 |
[% END %] |
203 |
[% END %] |
202 |
<i class="fa fa-times"></i> Cancel |
204 |
<i class="fa fa-times"></i> Cancel |
203 |
</a> |
205 |
</a> |
204 |
[% END %] |
206 |
[% END # /UNLESS check_member %] |
205 |
</div> |
207 |
</div> <!-- /#toolbar --> |
206 |
|
208 |
|
207 |
<form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler" > |
209 |
<form name="form" id="entryform" action="/cgi-bin/koha/members/memberentry.pl" method="post" autocomplete="off" class="toggler" > |
208 |
[% UNLESS ( check_member ) %] |
210 |
[% UNLESS ( check_member ) %] |
Lines 232-238
Link Here
|
232 |
<input type="hidden" name="cardnumber" value="[% cardnumber | html %]" /> |
234 |
<input type="hidden" name="cardnumber" value="[% cardnumber | html %]" /> |
233 |
[% END %] |
235 |
[% END %] |
234 |
[% END %] |
236 |
[% END %] |
235 |
[% END %] |
237 |
[% END # /IF opadd %] |
236 |
|
238 |
|
237 |
[% IF ( step_1 ) %] |
239 |
[% IF ( step_1 ) %] |
238 |
[% UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames && nosex %] |
240 |
[% UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames && nosex %] |
Lines 262-270
Link Here
|
262 |
</select> |
264 |
</select> |
263 |
[% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %] |
265 |
[% IF ( mandatorytitle ) %]<span class="required">Required</span>[% END %] |
264 |
</li> |
266 |
</li> |
265 |
[% END %] |
267 |
[% END # /IF BorrowersTitles %] |
266 |
[% END %] |
268 |
[% END # /UNLESS notitle %] |
267 |
[% END %] |
269 |
[% END # /UNLESS I %] |
268 |
|
270 |
|
269 |
[% UNLESS nosurname %] |
271 |
[% UNLESS nosurname %] |
270 |
<li> |
272 |
<li> |
Lines 289-295
Link Here
|
289 |
[% END %] |
291 |
[% END %] |
290 |
[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %] |
292 |
[% IF ( mandatorysurname ) %]<span class="required">Required</span>[% END %] |
291 |
</li> |
293 |
</li> |
292 |
[% END %] |
294 |
[% END # /UNLESS nosurname %] |
293 |
|
295 |
|
294 |
[% UNLESS ( I ) %] |
296 |
[% UNLESS ( I ) %] |
295 |
[% UNLESS nofirstname %] |
297 |
[% UNLESS nofirstname %] |
Lines 304-310
Link Here
|
304 |
<input type="text" id="firstname" name="firstname" size="20" value="[% firstname | html UNLESS opduplicate %]" /> |
306 |
<input type="text" id="firstname" name="firstname" size="20" value="[% firstname | html UNLESS opduplicate %]" /> |
305 |
[% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %] |
307 |
[% IF ( mandatoryfirstname ) %]<span class="required">Required</span>[% END %] |
306 |
</li> |
308 |
</li> |
307 |
[% END %] |
309 |
[% END # /UNLESS nofirstname %] |
308 |
|
310 |
|
309 |
[% UNLESS nodateofbirth %] |
311 |
[% UNLESS nodateofbirth %] |
310 |
<li> |
312 |
<li> |
Lines 320-326
Link Here
|
320 |
[% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %] |
322 |
[% IF ( ERROR_dateofbirth ) %]<span class="required">(Error)</span>[% END %] |
321 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
323 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
322 |
</li> |
324 |
</li> |
323 |
[% END %] |
325 |
[% END # /UNLESS nodateofbirth %] |
324 |
|
326 |
|
325 |
[% UNLESS noinitials %] |
327 |
[% UNLESS noinitials %] |
326 |
<li> |
328 |
<li> |
Lines 334-341
Link Here
|
334 |
<input type="text" id="initials" name="initials" size="20" value="[% initials | html UNLESS opduplicate %]" /> |
336 |
<input type="text" id="initials" name="initials" size="20" value="[% initials | html UNLESS opduplicate %]" /> |
335 |
[% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %] |
337 |
[% IF ( mandatoryinitials ) %]<span class="required">Required</span>[% END %] |
336 |
</li> |
338 |
</li> |
337 |
[% END %] |
339 |
[% END # /UNLESS noinitials %] |
338 |
[% END %] |
340 |
[% END # /UNLESS I %] |
339 |
|
341 |
|
340 |
[% UNLESS noothernames %] |
342 |
[% UNLESS noothernames %] |
341 |
<li> |
343 |
<li> |
Lines 350-356
Link Here
|
350 |
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %] |
352 |
[% IF ( mandatoryothernames ) %]<span class="required">Required</span>[% END %] |
351 |
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %] |
353 |
[% IF ( I ) %]<input type="hidden" name="sex" value="N" />[% END %] |
352 |
</li> |
354 |
</li> |
353 |
[% END %] |
355 |
[% END # /UNLESS noothernames %] |
354 |
|
356 |
|
355 |
[% UNLESS ( I ) %] |
357 |
[% UNLESS ( I ) %] |
356 |
[% UNLESS nosex %] |
358 |
[% UNLESS nosex %] |
Lines 375-386
Link Here
|
375 |
<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" /> |
377 |
<label for="sex-female">Female </label><input type="radio" name="sex" id="sex-female" value="F" /> |
376 |
<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" /> |
378 |
<label for="sex-male">Male </label><input type="radio" name="sex" id="sex-male" value="M" /> |
377 |
<label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> |
379 |
<label for="sex-none">None specified </label><input type="radio" name="sex" id="sex-none" value="" checked="checked" /> |
378 |
[% END %] |
380 |
[% END # /UNLESS ( opduplicate ) %] |
379 |
</li> |
381 |
</li> |
380 |
[% END %] |
382 |
[% END # /UNLESS nosex %] |
381 |
[% END %] |
383 |
[% END # /UNLESS ( I ) %] |
382 |
</ol> |
384 |
</ol> |
383 |
</fieldset> |
385 |
</fieldset> <!-- /#memberentry_identity --> |
384 |
[% END # hide fieldset %] |
386 |
[% END # hide fieldset %] |
385 |
|
387 |
|
386 |
[% IF show_guarantor || guarantor %] |
388 |
[% IF show_guarantor || guarantor %] |
Lines 427-437
Link Here
|
427 |
<label for="delete_guarantor-[% r.id | uri %]">Remove: </label> |
429 |
<label for="delete_guarantor-[% r.id | uri %]">Remove: </label> |
428 |
<input type="checkbox" id="delete_guarantor-[% r.id | uri %]" name="delete_guarantor" value="[% r.id | html %]" /> |
430 |
<input type="checkbox" id="delete_guarantor-[% r.id | uri %]" name="delete_guarantor" value="[% r.id | html %]" /> |
429 |
</li> |
431 |
</li> |
430 |
[% END %] |
432 |
[% END # /IF category_type == 'I' %] |
431 |
</ol> |
433 |
</ol> |
432 |
</fieldset> |
434 |
</fieldset> <!-- /.rows --> |
433 |
[% END # END relationships foreach %] |
435 |
[% END # END relationships foreach %] |
434 |
</span> |
436 |
</span> <!-- /#guarantor_relationships --> |
435 |
|
437 |
|
436 |
<fieldset class="rows guarantor" id="guarantor_template"> |
438 |
<fieldset class="rows guarantor" id="guarantor_template"> |
437 |
<ol> |
439 |
<ol> |
Lines 465-471
Link Here
|
465 |
<span><a href="#" class="guarantor_cancel">Remove</a></span> |
467 |
<span><a href="#" class="guarantor_cancel">Remove</a></span> |
466 |
</li> |
468 |
</li> |
467 |
</ol> |
469 |
</ol> |
468 |
</fieldset> |
470 |
</fieldset> <!-- /#guarantor_template --> |
469 |
|
471 |
|
470 |
<ol> |
472 |
<ol> |
471 |
<input type="hidden" id="guarantor_id" value="" /> |
473 |
<input type="hidden" id="guarantor_id" value="" /> |
Lines 492-499
Link Here
|
492 |
</li> |
494 |
</li> |
493 |
[% END %] |
495 |
[% END %] |
494 |
</ol> |
496 |
</ol> |
495 |
</fieldset> |
497 |
</fieldset> <!-- /.row --> |
496 |
[% END %] |
498 |
[% END # /IF show_guarantor || guarantor %] |
497 |
|
499 |
|
498 |
|
500 |
|
499 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
501 |
[% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %] |
Lines 519-525
Link Here
|
519 |
[% IF ( mandatorycontactname ) %]<span class="required">Required</span>[% END %] |
521 |
[% IF ( mandatorycontactname ) %]<span class="required">Required</span>[% END %] |
520 |
<div class="hint">Non-patron guarantor surname</div> |
522 |
<div class="hint">Non-patron guarantor surname</div> |
521 |
</li> |
523 |
</li> |
522 |
[% END %] |
524 |
[% END # /UNLESS nocontactname %] |
523 |
|
525 |
|
524 |
[% UNLESS nocontactfirstname %] |
526 |
[% UNLESS nocontactfirstname %] |
525 |
<li> |
527 |
<li> |
Lines 533-539
Link Here
|
533 |
[% IF ( mandatorycontactfirstname ) %]<span class="required">Required</span>[% END %] |
535 |
[% IF ( mandatorycontactfirstname ) %]<span class="required">Required</span>[% END %] |
534 |
<div class="hint">Non-patron guarantor first name</div> |
536 |
<div class="hint">Non-patron guarantor first name</div> |
535 |
</li> |
537 |
</li> |
536 |
[% END %] |
538 |
[% END # /UNLESS nocontactfirstname %] |
537 |
|
539 |
|
538 |
[% UNLESS norelationship %] |
540 |
[% UNLESS norelationship %] |
539 |
[% IF possible_relationships %] |
541 |
[% IF possible_relationships %] |
Lines 550-557
Link Here
|
550 |
[% END %] |
552 |
[% END %] |
551 |
</select> |
553 |
</select> |
552 |
</li> |
554 |
</li> |
553 |
[% END %] |
555 |
[% END # /IF possible_relationships %] |
554 |
[% END %] |
556 |
[% END # /UNLESS norelationship %] |
555 |
|
557 |
|
556 |
[% UNLESS nophone %] |
558 |
[% UNLESS nophone %] |
557 |
<li> |
559 |
<li> |
Lines 565-571
Link Here
|
565 |
[% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %] |
567 |
[% IF ( mandatoryphone ) %]<span class="required">Required</span>[% END %] |
566 |
<div class="hint">Shows on transit slips</div> |
568 |
<div class="hint">Shows on transit slips</div> |
567 |
</li> |
569 |
</li> |
568 |
[% END %] |
570 |
[% END # UNLESS nophone %] |
569 |
|
571 |
|
570 |
[% UNLESS nophonepro %] |
572 |
[% UNLESS nophonepro %] |
571 |
<li> |
573 |
<li> |
Lines 578-584
Link Here
|
578 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" /> |
580 |
<input type="text" id="phonepro" name="phonepro" value="[% phonepro | html %]" /> |
579 |
[% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %] |
581 |
[% IF ( mandatoryphonepro ) %]<span class="required">Required</span>[% END %] |
580 |
</li> |
582 |
</li> |
581 |
[% END %] |
583 |
[% END # /UNLESS nophonepro %] |
582 |
|
584 |
|
583 |
[% UNLESS nomobile %] |
585 |
[% UNLESS nomobile %] |
584 |
<li> |
586 |
<li> |
Lines 591-597
Link Here
|
591 |
<input type="text" id="mobile" name="mobile" value="[% mobile | html %]" /> |
593 |
<input type="text" id="mobile" name="mobile" value="[% mobile | html %]" /> |
592 |
[% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %] |
594 |
[% IF ( mandatorymobile ) %]<span class="required">Required</span>[% END %] |
593 |
</li> |
595 |
</li> |
594 |
[% END %] |
596 |
[% END # /UNLESS nomobile %] |
595 |
|
597 |
|
596 |
[% UNLESS noemail %] |
598 |
[% UNLESS noemail %] |
597 |
<li> |
599 |
<li> |
Lines 604-610
Link Here
|
604 |
<input type="text" id="email" name="email" size="45" value="[% email | html %]" /> |
606 |
<input type="text" id="email" name="email" size="45" value="[% email | html %]" /> |
605 |
[% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
607 |
[% IF ( mandatoryemail ) %]<span class="required">Required</span>[% END %]<div class="hint">Shows on transit slips</div> |
606 |
</li> |
608 |
</li> |
607 |
[% END %] |
609 |
[% END # /UNLESS noemail %] |
608 |
|
610 |
|
609 |
[% UNLESS noemailpro %] |
611 |
[% UNLESS noemailpro %] |
610 |
<li> |
612 |
<li> |
Lines 617-623
Link Here
|
617 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" /> |
619 |
<input type="text" id="emailpro" name="emailpro" size="45" value="[% emailpro | html %]" /> |
618 |
[% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %] |
620 |
[% IF ( mandatoryemailpro ) %]<span class="required">Required</span>[% END %] |
619 |
</li> |
621 |
</li> |
620 |
[% END %] |
622 |
[% END # /UNLESS noemailpro %] |
621 |
|
623 |
|
622 |
[% UNLESS nofax %] |
624 |
[% UNLESS nofax %] |
623 |
<li> |
625 |
<li> |
Lines 630-642
Link Here
|
630 |
<input type="text" id="fax" name="fax" value="[% fax | html %]" /> |
632 |
<input type="text" id="fax" name="fax" value="[% fax | html %]" /> |
631 |
[% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %] |
633 |
[% IF ( mandatoryfax ) %]<span class="required">Required</span>[% END %] |
632 |
</li> |
634 |
</li> |
633 |
[% END %] |
635 |
[% END # /UNLESS nofax %] |
634 |
</ol> |
636 |
</ol> |
635 |
</fieldset> |
637 |
</fieldset> <!-- /#memberentry_contact --> |
636 |
[% END # hide fieldset %] |
638 |
[% END # /UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %] |
637 |
|
639 |
|
638 |
<!-- ************************ STEP_1 *********************** --> |
640 |
<!-- ************************ STEP_1 *********************** --> |
639 |
[% END %] |
641 |
[% END # /IF ( step_1 ) %] |
640 |
|
642 |
|
641 |
[% IF ( step_6 ) %] |
643 |
[% IF ( step_6 ) %] |
642 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
644 |
[% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %] |
Lines 647-653
Link Here
|
647 |
[% INCLUDE 'member-alt-address-style-us.inc' %] |
649 |
[% INCLUDE 'member-alt-address-style-us.inc' %] |
648 |
[% END %] |
650 |
[% END %] |
649 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
651 |
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] |
650 |
[% END %] |
652 |
[% END # / IF ( step_6 ) %] |
651 |
|
653 |
|
652 |
[% IF ( step_2 ) %] |
654 |
[% IF ( step_2 ) %] |
653 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
655 |
[% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %] |
Lines 658-664
Link Here
|
658 |
[% INCLUDE 'member-alt-contact-style-us.inc' %] |
660 |
[% INCLUDE 'member-alt-contact-style-us.inc' %] |
659 |
[% END %] |
661 |
[% END %] |
660 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
662 |
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] |
661 |
[% END %] |
663 |
[% END # /IF ( step_2 ) %] |
662 |
|
664 |
|
663 |
[% IF ( step_3 ) %] |
665 |
[% IF ( step_3 ) %] |
664 |
[% SET autoMemberNum = Koha.Preference('autoMemberNum') %] |
666 |
[% SET autoMemberNum = Koha.Preference('autoMemberNum') %] |
Lines 695-701
Link Here
|
695 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" /> |
697 |
<input type="text" id="cardnumber" name="cardnumber" size="20" value="[% cardnumber | html %]" /> |
696 |
[% IF mandatorycardnumber %]<span class="required">Required</span>[% END %] |
698 |
[% IF mandatorycardnumber %]<span class="required">Required</span>[% END %] |
697 |
<div class="hint">There is no minimum or maximum character length. |
699 |
<div class="hint">There is no minimum or maximum character length. |
698 |
[% END %] |
700 |
[% END # /IF minlength_cardnumber == maxlength_cardnumber %] |
699 |
[% IF autoMemberNum %] |
701 |
[% IF autoMemberNum %] |
700 |
[% IF mandatorycardnumber %] |
702 |
[% IF mandatorycardnumber %] |
701 |
<br/><span class="error">AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.</span> |
703 |
<br/><span class="error">AutoMemberNum is set to enabled, but cardnumber is marked as mandatory in BorrowerMandatoryField: auto calc has been disabled.</span> |
Lines 703-711
Link Here
|
703 |
<br/>Leave blank for auto calc during registration |
705 |
<br/>Leave blank for auto calc during registration |
704 |
[% END %] |
706 |
[% END %] |
705 |
[% END %] |
707 |
[% END %] |
706 |
</div><!--/hint div --> |
708 |
</div><!-- /.hint --> |
707 |
</li> |
709 |
</li> |
708 |
[% END %] |
710 |
[% END # /UNLESS nocardnumber %] |
709 |
|
711 |
|
710 |
[% UNLESS nobranchcode %] |
712 |
[% UNLESS nobranchcode %] |
711 |
<li> |
713 |
<li> |
Lines 756-762
Link Here
|
756 |
[% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %] |
758 |
[% PROCESS 'av-build-dropbox.inc' name="sort1", category="Bsort1", default=sort1, size = 20 %] |
757 |
[% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %] |
759 |
[% IF ( mandatorysort1 ) %]<span class="required">Required</span>[% END %] |
758 |
</li> |
760 |
</li> |
759 |
[% END %] |
761 |
[% END # /UNLESS nosort1 %] |
760 |
|
762 |
|
761 |
[% UNLESS nosort2 %] |
763 |
[% UNLESS nosort2 %] |
762 |
<li> |
764 |
<li> |
Lines 770-776
Link Here
|
770 |
[% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %] |
772 |
[% PROCESS 'av-build-dropbox.inc' name="sort2", category="Bsort2", default=sort2, size = 20 %] |
771 |
[% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %] |
773 |
[% IF ( mandatorysort2 ) %]<span class="required">Required</span>[% END %] |
772 |
</li> |
774 |
</li> |
773 |
[% END %] |
775 |
[% END # /UNLESS nosort2 %] |
774 |
|
776 |
|
775 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
777 |
[% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %] |
776 |
<li> |
778 |
<li> |
Lines 789-797
Link Here
|
789 |
<option value="no">No if settings allow it</option> |
791 |
<option value="no">No if settings allow it</option> |
790 |
<option value="inherit" selected="selected">Inherit from settings</option> |
792 |
<option value="inherit" selected="selected">Inherit from settings</option> |
791 |
[% END %] |
793 |
[% END %] |
792 |
</select> |
794 |
</select> <!-- /#checkprevcheckout --> |
793 |
</li> |
795 |
</li> |
794 |
[% END %] |
796 |
[% END # /IF CheckPrevCheckout %] |
795 |
|
797 |
|
796 |
[% IF Koha.Preference('TranslateNotices') %] |
798 |
[% IF Koha.Preference('TranslateNotices') %] |
797 |
<li> |
799 |
<li> |
Lines 805-825
Link Here
|
805 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
807 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
806 |
[% ELSE %] |
808 |
[% ELSE %] |
807 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
809 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] [% sublanguage.region_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
808 |
[% END %] |
810 |
[% END # /IF sublanguage.rfc4646_subtag %] |
809 |
[% ELSE %] |
811 |
[% ELSE %] |
810 |
[% IF sublanguage.rfc4646_subtag == lang %] |
812 |
[% IF sublanguage.rfc4646_subtag == lang %] |
811 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
813 |
<option value="[% sublanguage.rfc4646_subtag | html %]" selected="selected">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
812 |
[% ELSE %] |
814 |
[% ELSE %] |
813 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
815 |
<option value="[% sublanguage.rfc4646_subtag | html %]">[% sublanguage.native_description | html %] ([% sublanguage.rfc4646_subtag | html %])</option> |
814 |
[% END %] |
816 |
[% END # /IF sublanguage.rfc4646_subtag %] |
815 |
[% END %] |
817 |
[% END # /language.plural %] |
816 |
[% END %] |
818 |
[% END #/FOR sublanguage %] |
817 |
[% END %] |
819 |
[% END # /FOR language %] |
818 |
</select> |
820 |
</select> <!-- /#lang --> |
819 |
</li> |
821 |
</li> |
820 |
[% END %] |
822 |
[% END # /IF Koha.Preference('TranslateNotices') %] |
821 |
</ol> |
823 |
</ol> |
822 |
</fieldset> |
824 |
</fieldset> <!-- /#memberentry_library_management --> |
823 |
|
825 |
|
824 |
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
826 |
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
825 |
<fieldset class="rows" id="memberentry_subscription"> |
827 |
<fieldset class="rows" id="memberentry_subscription"> |
Lines 838-849
Link Here
|
838 |
<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" /> |
840 |
<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" /> |
839 |
[% ELSE %] |
841 |
[% ELSE %] |
840 |
<input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled | html %]" class="datepickerfrom" /> |
842 |
<input type="text" id="from" name="dateenrolled" maxlength="10" size="10" value="[% dateenrolled | html %]" class="datepickerfrom" /> |
841 |
[% END %] |
843 |
[% END # /IF dateformat metric %] |
842 |
[% IF ( mandatorydateenrolled ) %]<span class="required">Required</span>[% END %] |
844 |
[% IF ( mandatorydateenrolled ) %]<span class="required">Required</span>[% END %] |
843 |
[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %] |
845 |
[% IF ( ERROR_dateenrolled ) %]<span class="required">(Error)</span>[% END %] |
844 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
846 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
845 |
</li> |
847 |
</li> |
846 |
[% END %] |
848 |
[% END # /UNLESS nodateenrolled %] |
847 |
|
849 |
|
848 |
[% UNLESS nodateexpiry %] |
850 |
[% UNLESS nodateexpiry %] |
849 |
<li> |
851 |
<li> |
Lines 870-876
Link Here
|
870 |
[% ELSE %] |
872 |
[% ELSE %] |
871 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry | html %]" class="datepickerto" /> |
873 |
<input type="text" id="to" name="dateexpiry" maxlength="10" size="10" value="[% dateexpiry | html %]" class="datepickerto" /> |
872 |
[% END %] |
874 |
[% END %] |
873 |
[% END %] |
875 |
[% END # /IF dateformat metric %] |
874 |
[% IF ( mandatorydateexpiry ) %]<span class="required">Required</span>[% END %] |
876 |
[% IF ( mandatorydateexpiry ) %]<span class="required">Required</span>[% END %] |
875 |
[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %] |
877 |
[% IF ( ERROR_dateexpiry ) %]<span class="required">(Error)</span>[% END %] |
876 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
878 |
<div class="hint">[% INCLUDE 'date-format.inc' %]</div> |
Lines 889-895
Link Here
|
889 |
<div class="hint">This message appears on this patron's user page in the OPAC</div> |
891 |
<div class="hint">This message appears on this patron's user page in the OPAC</div> |
890 |
[% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %] |
892 |
[% IF ( mandatoryopacnote ) %]<span class="required">Required</span>[% END %] |
891 |
</li> |
893 |
</li> |
892 |
[% END %] |
894 |
[% END # /UNLESS noopacnote %] |
893 |
|
895 |
|
894 |
[% UNLESS noborrowernotes %] |
896 |
[% UNLESS noborrowernotes %] |
895 |
<li> |
897 |
<li> |
Lines 904-913
Link Here
|
904 |
<div class="hint">This message displays when checking out to this patron</div> |
906 |
<div class="hint">This message displays when checking out to this patron</div> |
905 |
[% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %] |
907 |
[% IF ( mandatoryborrowernotes ) %]<span class="required">Required</span>[% END %] |
906 |
</li> |
908 |
</li> |
907 |
[% END %] |
909 |
[% END # /UNLESS noborrowernotes %] |
908 |
</ol> |
910 |
</ol> |
909 |
</fieldset> |
911 |
</fieldset> <!-- /#memberentry_subscription --> |
910 |
[% END # hide fieldset %] |
912 |
[% END # /UNLESS nodateenrolled && noopacnote && noborrowernotes %] |
911 |
|
913 |
|
912 |
[% UNLESS nouserid && nopassword %] |
914 |
[% UNLESS nouserid && nopassword %] |
913 |
<fieldset class="rows" id="memberentry_userid"> |
915 |
<fieldset class="rows" id="memberentry_userid"> |
Lines 942-948
Link Here
|
942 |
|
944 |
|
943 |
[% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %] |
945 |
[% IF ( mandatoryuserid ) %]<span class="required">Required</span>[% END %] |
944 |
</li> |
946 |
</li> |
945 |
[% END %] |
947 |
[% END # /UNLESS nouserid %] |
946 |
|
948 |
|
947 |
[% UNLESS nopassword %] |
949 |
[% UNLESS nopassword %] |
948 |
<li> |
950 |
<li> |
Lines 966-972
Link Here
|
966 |
[% ELSE %] |
968 |
[% ELSE %] |
967 |
<input type="password" id="password" name="password" size="20" value="[% password | html %]" /> |
969 |
<input type="password" id="password" name="password" size="20" value="[% password | html %]" /> |
968 |
[% END %] |
970 |
[% END %] |
969 |
[% END %] |
971 |
[% END # /IF ( NoUpdateLogin ) %] |
970 |
[% ELSE %] |
972 |
[% ELSE %] |
971 |
[% IF ( password ) %] |
973 |
[% IF ( password ) %] |
972 |
[% IF ( NoUpdateLogin ) %] |
974 |
[% IF ( NoUpdateLogin ) %] |
Lines 984-991
Link Here
|
984 |
[% ELSE %] |
986 |
[% ELSE %] |
985 |
<input type="password" id="password" name="password" size="20" value="" /> |
987 |
<input type="password" id="password" name="password" size="20" value="" /> |
986 |
[% END %] |
988 |
[% END %] |
987 |
[% END %] |
989 |
[% END # /IF ( password ) %] |
988 |
[% END %] |
990 |
[% END # /IF ( opadd ) %] |
989 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %] |
991 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %] |
990 |
[% IF ( ERROR_password_too_short ) %]<span class="required">Password is too short</span>[% END %] |
992 |
[% IF ( ERROR_password_too_short ) %]<span class="required">Password is too short</span>[% END %] |
991 |
[% IF ( ERROR_password_too_weak ) %]<span class="required">Password is too weak</span>[% END %] |
993 |
[% IF ( ERROR_password_too_weak ) %]<span class="required">Password is too weak</span>[% END %] |
Lines 1013-1019
Link Here
|
1013 |
[% ELSE %] |
1015 |
[% ELSE %] |
1014 |
<input type="password" id="password2" name="password2" size="20" value="[% password | html %]" /> |
1016 |
<input type="password" id="password2" name="password2" size="20" value="[% password | html %]" /> |
1015 |
[% END %] |
1017 |
[% END %] |
1016 |
[% END %] |
1018 |
[% END # /IF ( NoUpdateLogin ) %] |
1017 |
[% ELSE %] |
1019 |
[% ELSE %] |
1018 |
[% IF ( password ) %] |
1020 |
[% IF ( password ) %] |
1019 |
[% IF ( NoUpdateLogin ) %] |
1021 |
[% IF ( NoUpdateLogin ) %] |
Lines 1031-1046
Link Here
|
1031 |
[% ELSE %] |
1033 |
[% ELSE %] |
1032 |
<input type="password" id="password2" name="password2" size="20" value="" /> |
1034 |
<input type="password" id="password2" name="password2" size="20" value="" /> |
1033 |
[% END %] |
1035 |
[% END %] |
1034 |
[% END %] |
1036 |
[% END # IF ( password ) %] |
1035 |
[% END %] |
1037 |
[% END # /IF ( opadd ) %] |
1036 |
|
1038 |
|
1037 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %] |
1039 |
[% IF ( mandatorypassword ) %]<span class="required">Required</span>[% END %] |
1038 |
[% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %] |
1040 |
[% IF ( ERROR_password_mismatch ) %]<span class="required">Passwords do not match</span>[% END %] |
1039 |
</li> |
1041 |
</li> |
1040 |
[% END %] |
1042 |
[% END # /UNLESS nopassword %] |
1041 |
</ol> |
1043 |
</ol> |
1042 |
</fieldset> |
1044 |
</fieldset> <!-- /#memberentry_userid --> |
1043 |
[% END # hide fieldset %] |
1045 |
[% END # /UNLESS nouserid && nopassword %] |
1044 |
|
1046 |
|
1045 |
<!--this zones are not necessary in modif mode --> |
1047 |
<!--this zones are not necessary in modif mode --> |
1046 |
[% UNLESS ( opadd || opduplicate ) %] |
1048 |
[% UNLESS ( opadd || opduplicate ) %] |
Lines 1072-1082
Link Here
|
1072 |
</label> |
1074 |
</label> |
1073 |
[% ELSE %] |
1075 |
[% ELSE %] |
1074 |
[% IF flagloo.yes %]Yes[% ELSE %]No[% END %] |
1076 |
[% IF flagloo.yes %]Yes[% ELSE %]No[% END %] |
1075 |
[% END %] |
1077 |
[% END # /IF CAN_user_circulate_manage_restrictions %] |
1076 |
</li> |
1078 |
</li> |
1077 |
[% END %] |
1079 |
[% END %] |
1078 |
</ol> |
1080 |
</ol> <!-- /.radio --> |
1079 |
</fieldset> |
1081 |
</fieldset> <!-- /#memberentry_account_flags --> |
1080 |
|
1082 |
|
1081 |
<fieldset class="rows" id="memberentry_restrictions"> |
1083 |
<fieldset class="rows" id="memberentry_restrictions"> |
1082 |
<legend id="restrictions_lgd">Patron restrictions</legend> |
1084 |
<legend id="restrictions_lgd">Patron restrictions</legend> |
Lines 1113-1124
Link Here
|
1113 |
</td> |
1115 |
</td> |
1114 |
[% END %] |
1116 |
[% END %] |
1115 |
</tr> |
1117 |
</tr> |
1116 |
[% END %] |
1118 |
[% END # /FOREACH d%] |
1117 |
</tbody> |
1119 |
</tbody> |
1118 |
</table> |
1120 |
</table> |
1119 |
[% ELSE %] |
1121 |
[% ELSE %] |
1120 |
<p>Patron is currently unrestricted.</p> |
1122 |
<p>Patron is currently unrestricted.</p> |
1121 |
[% END %] |
1123 |
[% END # /IF ( debarments )%] |
1122 |
|
1124 |
|
1123 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
1125 |
[% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
1124 |
<p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> |
1126 |
<p><a href="#" id="add_manual_restriction">Add manual restriction</a></p> |
Lines 1139-1149
Link Here
|
1139 |
<p> |
1141 |
<p> |
1140 |
<a class="cancel" id="cancel_manual_restriction" href="#">Cancel</a> |
1142 |
<a class="cancel" id="cancel_manual_restriction" href="#">Cancel</a> |
1141 |
</p> |
1143 |
</p> |
1142 |
</fieldset> |
1144 |
</fieldset> <!-- /#manual_restriction_form --> |
1143 |
[% END %] |
1145 |
[% END # /IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] |
1144 |
</fieldset> |
1146 |
</fieldset> <!-- /#memberentry_restrictions --> |
1145 |
[% END %] |
1147 |
[% END # /UNLESS ( opadd || opduplicate ) %] |
1146 |
[% END %] |
1148 |
[% END # /IF ( step_3 ) %] |
1147 |
|
1149 |
|
1148 |
[% IF ( step_7 ) %] |
1150 |
[% IF ( step_7 ) %] |
1149 |
[% IF Koha.Preference('HouseboundModule') %] |
1151 |
[% IF Koha.Preference('HouseboundModule') %] |
Lines 1164-1170
Link Here
|
1164 |
<input type="radio" id="yes_housebound_chooser" name="housebound_chooser" value="1" /> |
1166 |
<input type="radio" id="yes_housebound_chooser" name="housebound_chooser" value="1" /> |
1165 |
<label for="no_housebound_chooser">No </label> |
1167 |
<label for="no_housebound_chooser">No </label> |
1166 |
<input type="radio" id="no_housebound_chooser" name="housebound_chooser" value="0" checked="checked" /> |
1168 |
<input type="radio" id="no_housebound_chooser" name="housebound_chooser" value="0" checked="checked" /> |
1167 |
[% END %] |
1169 |
[% END # /IF ( housebound_role.housebound_chooser == 1 ) %] |
1168 |
</li> |
1170 |
</li> |
1169 |
<li> |
1171 |
<li> |
1170 |
<label class="radio" for="housebound_deliverer">Deliverer:</label> |
1172 |
<label class="radio" for="housebound_deliverer">Deliverer:</label> |
Lines 1178-1187
Link Here
|
1178 |
<input type="radio" id="yes_housebound_deliverer" name="housebound_deliverer" value="1" /> |
1180 |
<input type="radio" id="yes_housebound_deliverer" name="housebound_deliverer" value="1" /> |
1179 |
<label for="no_housebound_deliverer">No </label> |
1181 |
<label for="no_housebound_deliverer">No </label> |
1180 |
<input type="radio" id="no_housebound_deliverer" name="housebound_deliverer" value="0" checked="checked" /> |
1182 |
<input type="radio" id="no_housebound_deliverer" name="housebound_deliverer" value="0" checked="checked" /> |
1181 |
[% END %] |
1183 |
[% END # /IF ( housebound_role.housebound_deliverer == 1 ) %] |
1182 |
</li> |
1184 |
</li> |
1183 |
</ol> |
1185 |
</ol> <!-- /.radio --> |
1184 |
</fieldset> |
1186 |
</fieldset> <!-- /#memberentry_housebound_roles --> |
1185 |
[% END # hide fieldset %] |
1187 |
[% END # hide fieldset %] |
1186 |
[% END # IF step_7 %] |
1188 |
[% END # IF step_7 %] |
1187 |
|
1189 |
|
Lines 1213-1237
Link Here
|
1213 |
[% auth_val_loo.lib | html %] |
1215 |
[% auth_val_loo.lib | html %] |
1214 |
</option> |
1216 |
</option> |
1215 |
[% END %] |
1217 |
[% END %] |
1216 |
[% END %] |
1218 |
[% END # /FOREACH auth_val_loo %] |
1217 |
</select> |
1219 |
</select> |
1218 |
[% ELSE %] |
1220 |
[% ELSE %] |
1219 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1221 |
<textarea rows="2" cols="30" id="[% patron_attribute.form_id | html %]" name="[% patron_attribute.form_id | html %]">[% patron_attribute.value | html %]</textarea> |
1220 |
[% END %] |
1222 |
[% END # /IF ( patron_attribute.use_dropdown ) %] |
1221 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1223 |
<input type="hidden" id="[% patron_attribute.form_id | html %]_code" name="[% patron_attribute.form_id | html %]_code" value="[% patron_attribute.code | html %]" /> |
1222 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1224 |
<a href="#" onclick="clear_entry(this); return false;"><i class="fa fa-fw fa-trash"></i> Clear</a> |
1223 |
[% IF ( patron_attribute.repeatable ) %] |
1225 |
[% IF ( patron_attribute.repeatable ) %] |
1224 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1226 |
<a href="#" onclick="clone_entry(this); return false;"><i class="fa fa-fw fa-plus"></i> New</a> |
1225 |
[% END %] |
1227 |
[% END %] |
1226 |
</li> |
1228 |
</li> |
1227 |
[% END %] |
1229 |
[% END # /FOREACH patron_attribute %] |
1228 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1230 |
[% IF pa_loo.class %]</fieldset>[% END %] |
1229 |
</ol> |
1231 |
</ol> |
1230 |
[% END %] |
1232 |
[% END # /FOREACH pa_loo %] |
1231 |
</fieldset> |
1233 |
</fieldset> <!-- /#memberentry_patron_attributes --> |
1232 |
[% END %] |
1234 |
[% END # /UNLESS ( no_patron_attribute_types ) %] |
1233 |
[% END %] |
1235 |
[% END # /IF Koha.Preference('ExtendedPatronAttributes') %] |
1234 |
[% END %] |
1236 |
[% END # /IF ( step_4 ) %] |
1235 |
|
1237 |
|
1236 |
[% IF ( step_5 ) %] |
1238 |
[% IF ( step_5 ) %] |
1237 |
[% IF ( EnhancedMessagingPreferences ) %] |
1239 |
[% IF ( EnhancedMessagingPreferences ) %] |
Lines 1261-1272
Link Here
|
1261 |
[% END %] |
1263 |
[% END %] |
1262 |
</select> |
1264 |
</select> |
1263 |
</p> |
1265 |
</p> |
1264 |
[% END %] |
1266 |
[% END # /UNLESS nosms_provider_id %] |
1265 |
[% END %] |
1267 |
[% END # /IF ( SMSSendDriver ) %] |
1266 |
</fieldset> |
1268 |
</fieldset> <!-- /#memberentry_messaging_prefs --> |
1267 |
[% END %] |
1269 |
[% END # /IF ( EnhancedMessagingPreferences ) %] |
1268 |
[% END %] |
1270 |
[% END # /IF ( step_5 ) %] |
1269 |
</form> |
1271 |
</form> <!-- /#entryform --> |
1270 |
|
1272 |
|
1271 |
[% IF quickadd && opadd && !check_member %] |
1273 |
[% IF quickadd && opadd && !check_member %] |
1272 |
<form id="quick_add_form" class="toggler"> |
1274 |
<form id="quick_add_form" class="toggler"> |
Lines 1277-1283
Link Here
|
1277 |
</form> |
1279 |
</form> |
1278 |
[% END %] |
1280 |
[% END %] |
1279 |
|
1281 |
|
1280 |
[% END %] |
1282 |
[% END # /UNLESS no_add %] |
1281 |
</main> |
1283 |
</main> |
1282 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
1284 |
</div> <!-- /.col-sm-10.col-sm-push-2 --> |
1283 |
|
1285 |
|
Lines 1444-1450
Link Here
|
1444 |
$("#qagd").click(function() { $("#guarantordelete").click(); }); |
1446 |
$("#qagd").click(function() { $("#guarantordelete").click(); }); |
1445 |
$("#quick_add_form").show(); |
1447 |
$("#quick_add_form").show(); |
1446 |
}); |
1448 |
}); |
1447 |
[% END %] |
1449 |
[% END # /IF quickadd && opadd && !check_member %] |
1448 |
|
1450 |
|
1449 |
</script> |
1451 |
</script> |
1450 |
[% Asset.js("js/members.js") | $raw %] |
1452 |
[% Asset.js("js/members.js") | $raw %] |
1451 |
- |
|
|