[% USE Koha %] [% USE KohaDates %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › [% IF ( opadd ) %]Add[% ELSIF ( opduplicate ) %]Duplicate[% ELSE %] Modify[% END %] [% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %][% UNLESS ( opadd ) %] [% surname %], [% firstname %][% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %] [% IF ( opadd ) %]
[% ELSE %]
[% END %]
[% IF error_alert %] [% IF ( error_alert == "no_email" ) %]
This member has no email
[% ELSE %]
[% error_alert %]
[% END %] [% END %] [% IF info_alert %]
Email has been sent.
[% END %] [% IF ( no_add ) %]

Cannot add patron

[% IF ( no_branches ) %]

There are no libraries defined. [% IF ( CAN_user_parameters ) %]Please add a library.[% ELSE %]An administrator must define at least one library.[% END %]

[% END %] [% IF ( no_categories ) %]

There are no patron categories defined. [% IF ( CAN_user_parameters ) %]Please add a patron category.[% ELSE %]An administrator must define at least one patron category.

[% END %][% END %]
[% END %] [% UNLESS ( no_add ) %] [% IF ( opadd ) %]

Add[% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %] [% firstname %] [% surname %]

[% ELSE %]

[% IF ( opduplicate ) %]Duplicate[% ELSE %]Modify[% END %][% IF ( categoryname ) %] [% categoryname %] patron[% ELSE %][% IF ( I ) %] Organization patron[% END %][% IF ( A ) %] Adult patron[% END %][% IF ( C ) %] Child patron[% END %][% IF ( P ) %] Professional patron[% END %][% IF ( S ) %] Staff patron[% END %][% END %] [% firstname %] [% surname %]

[% END %] [% IF ( check_member ) %]

Duplicate patron record?

View existing record

[% END %] [% IF ( nok ) %]

The following fields are wrong. Please fix them.

    [% IF ( ERROR_login_exist ) %]
  • Username/password already exists.
  • [% END %] [% IF ERROR_cardnumber_already_exists %]
  • Cardnumber already in use.
  • [% END %] [% IF ERROR_cardnumber_length %]
  • Cardnumber length is incorrect.
  • [% END %] [% IF ( ERROR_age_limitations ) %]
  • Patron's age is incorrect for their category. Ages allowed are [% age_low %]-[% age_high %].
  • [% END %] [% IF ( ERROR_branch ) %]
  • Library is invalid.
  • [% END %] [% IF ( ERROR_dateofbirth ) %]
  • Date of birth is invalid.
  • [% END %] [% IF ( ERROR_dateenrolled ) %]
  • Date of enrollment is invalid.
  • [% END %] [% IF ( ERROR_dateexpiry ) %]
  • Date of expiration is invalid.
  • [% END %] [% IF ( ERROR_short_password ) %]
  • Password must be at least [% minPasswordLength %] characters long.
  • [% END %] [% IF ( ERROR_password_mismatch ) %]
  • Passwords do not match.
  • [% END %] [% IF ( ERROR_extended_unique_id_failed ) %]
  • [% ERROR_extended_unique_id_failed_description %] attribute value [% ERROR_extended_unique_id_failed_value %] is already in use by another patron record.
  • [% END %]
[% END %] [% UNLESS ( check_member ) %] [% END %] [% IF ( step ) %][% END %] [% IF ( opadd ) %] [% ELSIF ( opduplicate ) %] [% ELSE %] [% IF step == 4 || step == 5 || step == 6 || step == 2 || step == 1 %] [%# Only put the cardnumber if we arent showing it in the form later %] [% IF cardnumber %] [% END %] [% END %] [% END %] [% IF ( step_1 ) %] [%UNLESS notitle && nosurname && nofirstname && nodateofbirth && noinitials && noothernames &&nosex %]
[% IF ( I ) %]Organization [% ELSE %]Patron [% END %]identity
    [% UNLESS ( I ) %] [% UNLESS notitle %] [% IF ( title_cgipopup ) %]
  1. [% IF ( mandatorytitle ) %]
  2. [% END %] [% END %] [% END %] [% UNLESS nosurname %]
  3. [% IF ( mandatorysurname ) %]
  4. [% END %] [% UNLESS ( I ) %] [% UNLESS nofirstname %]
  5. [% IF ( mandatoryfirstname ) %]
  6. [% END %] [% UNLESS nodateofbirth %]
  7. [% IF ( mandatorydateofbirth ) %]
  8. [% END %] [% UNLESS noinitials %]
  9. [% IF ( mandatoryinitials ) %]
  10. [% END %] [% END %] [% UNLESS noothernames %]
  11. [% IF ( mandatoryothernames ) %]
  12. [% END %] [% UNLESS ( I ) %] [% UNLESS nosex %]
  13. [% UNLESS ( opduplicate ) %] [% IF ( female ) %] [% ELSE %] [% END %] [% IF ( male ) %] [% ELSE %] [% END %] [% IF ( none ) %] [% ELSE %] [% END %] [% ELSE %] [% END %]
  14. [% END %] [% END %]
[% END # hide fieldset %] [% IF ( showguarantor ) %]
Guarantor information
    [% IF ( P ) %] [% IF ( guarantorid ) %]
  1. [% ELSE %]
  2. [% IF ( guarantorid ) %] [% contactname %] [% ELSE %] [% END %]
  3. [% ELSE %] [% IF ( C ) %] [% IF ( guarantorid ) %]
  4. [% ELSE %]
  5. [% UNLESS nocontactname %]
  6. [% IF ( guarantorid ) %] [% contactname %] [% ELSE %] [% END %]
  7. [% END %] [% UNLESS nocontactfirstname %]
  8. [% IF ( guarantorid ) %] [% contactfirstname %] [% ELSE %] [% END %]
  9. [% END %] [% IF ( relshiploop ) %]
  10. [% END %] [% END %] [% END %]
  11.   [% IF ( guarantorid ) %] [% ELSE %] [% END %]
[% END %] [% UNLESS noaddress && noaddress2 && nocity && nostate && nozipcode && nocountry %]
Main address
    [% UNLESS nostreetnumber %]
  1. [% IF ( mandatorystreetnumber ) %]
  2. [% END %] [% UNLESS nostreettype %] [% IF roadtypes %]
  3. [% IF ( mandatorystreettype ) %]
  4. [% END %] [% END %] [% UNLESS noaddress %]
  5. [% IF ( mandatoryaddress ) %]
  6. [% END %] [% UNLESS noaddress2 %]
  7. [% IF ( mandatoryaddress2 ) %]
  8. [% END %] [% UNLESS nocity %]
  9. [% IF ( mandatorycity ) %]
  10. [% END %] [% UNLESS nostate %]
  11. [% IF ( mandatorystate ) %]
  12. [% END %] [% UNLESS nozipcode %]
  13. [% IF ( mandatoryzipcode ) %]
  14. [% END %] [% UNLESS nocountry %]
  15. [% IF ( mandatorycountry ) %]
  16. [% END %]
[% END # nostreet && nocity etc group%] [% UNLESS nophone && nophonepro && nomobile && noemail && noemailpro && nofax %]
Contact
    [% UNLESS nophone %]
  1. [% IF ( mandatoryphone ) %]
  2. [% END %] [% UNLESS nophonepro %]
  3. [% IF ( mandatoryphonepro ) %]
  4. [% END %] [% UNLESS nomobile %]
  5. [% IF ( mandatorymobile ) %]
  6. [% END %] [% UNLESS noemail %]
  7. [% IF ( mandatoryemail ) %]
  8. [% END %] [% UNLESS noemailpro %]
  9. [% IF ( mandatoryemailpro ) %]
  10. [% END %] [% UNLESS nofax %]
  11. [% IF ( mandatoryfax ) %]
  12. [% END %]
[%END # hide fieldset %] [% END %] [% IF ( step_6 ) %] [% UNLESS noB_address && noB_address2 && noB_city && noB_zipcode && noB_state && noB_country &&nocontactnote && noB_phone && noB_email %]
Alternate address
    [% UNLESS noB_address %]
  1. [% IF ( mandatoryB_address ) %]
  2. [% END %] [% UNLESS noB_address2 %]
  3. [% IF ( mandatoryB_address2 ) %]
  4. [% END %] [% UNLESS noB_city %]
  5. [% IF ( mandatoryB_city ) %]
  6. [% END %] [% UNLESS noB_state %]
  7. [% IF ( mandatoryB_state ) %]
  8. [% END %] [% UNLESS noB_zipcode %]
  9. [% IF ( mandatoryB_zipcode ) %]
  10. [% END %] [% UNLESS noB_country %]
  11. [% IF ( mandatoryB_country ) %]
  12. [% END %] [% UNLESS noB_phone %]
  13. [% IF ( mandatoryB_phone ) %]
  14. [% END %] [% UNLESS noB_email %]
  15. [% IF ( mandatoryB_email ) %]
  16. [% END %] [% UNLESS nocontactnote %]
  17. [% IF ( mandatorycontactnote ) %]
  18. [% END %]
[% END # UNLESS noB_address && noB_city && noB_state && noB_phone && noB_email %] [% END %] [% IF ( step_2 ) %] [% UNLESS noaltcontactsurname && noaltcontactfirstname && noaltcontactaddress1 && noaltcontactaddress2 && noaltcontactaddress3 && noaltcontactstate && noaltcontactzipcode && noaltcontactcountry && noaltcontactphone %]
Alternate contact
    [% UNLESS noaltcontactsurname %]
  1. [% IF ( mandatoryaltcontactsurname ) %]
  2. [% END %] [% UNLESS noaltcontactfirstname %]
  3. [% IF ( mandatoryaltcontactfirstname ) %]
  4. [% END %] [% UNLESS noaltcontactaddress1 %]
  5. [% IF ( mandatoryaltcontactaddress1 ) %]
  6. [% END %] [% UNLESS noaltcontactaddress2 %]
  7. [% IF ( mandatoryaltcontactaddress2 ) %]
  8. [% END %] [% UNLESS noaltcontactaddress3 %]
  9. [% IF ( mandatoryaltcontactaddress3 ) %]
  10. [% END %] [% UNLESS noaltcontactstate %]
  11. [% IF ( mandatoryaltcontactstate ) %]
  12. [% END %] [% UNLESS noaltcontactzipcode %]
  13. [% IF ( mandatoryaltcontactzipcode ) %]
  14. [% END %] [% UNLESS noaltcontactcountry %]
  15. [% IF ( mandatoryaltcontactcountry ) %]
  16. [% END %] [% UNLESS noaltcontactphone %]
  17. [% IF ( mandatoryaltcontactphone ) %]
  18. [% END %]
[% END # UNLESS noaltcontactsurname && noaltcontactfirstname etc %] [% END %] [% IF ( step_3 ) %]
Library management
    [% UNLESS nocardnumber %]
  1. [% IF ( mandatorycardnumber ) %]
  2. [% END %] [% UNLESS nobranchcode %]
  3. Required
  4. [% END %]
  5. Required
  6. [% UNLESS nosort1 %]
  7. [% IF ( mandatorysort1 ) %]
  8. [% END %] [% UNLESS nosort2 %]
  9. [% IF ( mandatorysort2 ) %]
  10. [% END %] [% IF ( Koha.Preference( 'NorwegianPatronDBEnable' ) == 1 ) %]
  11. [% IF ( sync == 0 ) %] Yes No [% ELSE %] Yes No [% END %]
  12. [% END %]
[% UNLESS nodateenrolled && noopacnote && noborrowernotes %]
Library set-up
    [% UNLESS nodateenrolled %]
  1. [% IF ( mandatorydateenrolled ) %]
  2. [% END %] [% UNLESS nodateexpiry %]
  3. [% ELSE %]
  4. [% END %] [% IF ( mandatorydateexpiry ) %]
  5. [% UNLESS noopacnote %]
  6. [% IF ( mandatoryopacnote ) %]
  7. [% END %] [% UNLESS noborrowernotes %]
  8. [% IF ( mandatoryborrowernotes ) %]
  9. [% END %]
[% END # hide fieldset %] [% UNLESS nouserid && nopassword %]
OPAC/Staff login
    [% UNLESS nouserid %]
  1. [% IF ( mandatoryuserid ) %]
  2. [%END %] [% UNLESS nopassword %]
  3. [% IF ( mandatorypassword ) %]
  4. [% IF ( mandatorypassword ) %]
[% END # hide fieldset %][% END %] [% UNLESS ( opadd || opduplicate ) %]
Patron account flags
    [% FOREACH flagloo IN flagloop %]
  1. [% IF CAN_user_circulate_manage_restrictions %] [% IF ( flagloo.yes ) %] [% ELSE %] [% END %] [% IF ( flagloo.no ) %] [% ELSE %] [% END %] [% ELSE %] [% IF flagloo.yes %]Yes[% ELSE %]No[% END %] [% END %]
  2. [% END %]
Patron restrictions [% IF ( debarments.size < 1 ) %]

Patron is currently unrestricted.

[% ELSE %] [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] [% END %] [% FOREACH d IN debarments %] [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %] [% END %] [% END %]
Type Comment ExpirationRemove?
[% d.type %] [% d.comment %] [% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %]
[% END %] [% IF CAN_user_borrowers && CAN_user_circulate_manage_restrictions %]

Add manual restriction

Add manual restriction
  1. Clear date

Cancel

[% END %]
[% END %] [% END %] [% IF ( step_4 ) %][% IF ( ExtendedPatronAttributes ) %][% UNLESS ( no_patron_attribute_types ) %]
Additional attributes and identifiers [% FOREACH pa_loo IN patron_attributes %] [% IF pa_loo.class %]
[% pa_loo.lib %] [% END %]
    [% FOREACH patron_attribute IN pa_loo.items %]
  1. [% IF ( patron_attribute.use_dropdown ) %] [% ELSE %] [% END %] [% IF ( patron_attribute.password_allowed ) %] ( ) [% END %] Clear [% IF ( patron_attribute.repeatable ) %] New [% END %]
  2. [% END %]
[% IF pa_loo.class %]
[% END %] [% END %]
[% END %][% END %][% END %] [% IF ( step_5 ) %][% IF ( EnhancedMessagingPreferences ) %]
Patron messaging preferences [% IF ( opadd ) %] [% END %] [% IF type_only %]

If no preferences are selected, the default preferences for the category chosen will be applied on save, otherwise your selection here is saved

[% END %] [% INCLUDE 'messaging-preference-form.inc' %] [% IF ( SMSSendDriver ) %]

[% END %]
[% END %] [% END %] [% UNLESS ( check_member ) %]
[% IF ( opadd ) %] Cancel [% ELSE %] Cancel [% END %]
[% END %]
[% UNLESS ( opadd ) %]
[% INCLUDE 'members-menu.inc' %]
[% END %] [% END %]
[% INCLUDE 'intranet-bottom.inc' %]