[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE ColumnsSettings %] [% USE Price %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Patrons › [% UNLESS blocking_error %] Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %] [% END %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' %] [% IF ( error ) %]
[% IF ( error == 'CANT_DELETE_STAFF' ) %]

Unable to delete staff user

Insufficient privileges.

[% END %] [% IF ( error == 'CANT_DELETE_YOURSELF' ) %]

Not allowed to delete own account

Deleting your own account would lock you out of Koha.

[% END %] [% IF ( error == 'CANT_DELETE_OTHERLIBRARY' ) %]

Unable to delete patrons from other libraries with current settings

Insufficient privileges.

[% END %] [% IF ( error == 'CANT_DELETE' ) %]

Unable to delete patron

Insufficient privileges.

[% END %]
[% END %]
[% IF ( was_renewed ) %]
Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
[% END %] [% IF fines || age_limitations %]
    [% IF fines %] [% INCLUDE 'blocked-fines.inc' %] [% END %] [% IF age_limitations %] [% INCLUDE 'category-out-of-age-limit.inc' %] [% END %]
[% END %] [% IF ( patron_messages ) %]

Messages:

Add a new message
[% END %] [% IF ( flagged ) %]
    [% IF ( patron.is_debarred ) %]
  • Patron's account is restricted [% IF ( userdebarreddate ) %] until [% userdebarreddate | $KohaDates %] [% END %] [% IF ( patron.debarredcomment ) %] with the explanation: [% IF patron.debarredcomment.search('OVERDUES_PROCESS') %] Restriction added by overdues process [% patron.debarredcomment.remove('OVERDUES_PROCESS ') | html_line_break %] [% ELSE %] [% patron.debarredcomment | html_line_break %] [% END %] [% END %] View restrictions
  • [% END %] [% IF ( patron.gonenoaddress ) %]
  • Patron's address is in doubt.
  • [% END %] [% IF ( patron.lost ) %]
  • Patron's card has been reported lost.
  • [% END %] [% IF ( patron.is_expired ) %]
  • Expiration: [% IF ( patron.dateexpiry ) %] Patron's card expired on [% patron.dateexpiry | $KohaDates %]. [% ELSE %] Patron's card has expired. [% END %] Renew or Edit details
  • [% ELSIF ( patron.is_going_to_expire ) %]
  • Expiration: Patron's card will expire soon. Patron's card expires on [% expiry | $KohaDates %] Renew or Edit details
  • [% END %] [% IF patron.account_locked %] [% IF patron.login_attempts < 0 %]
  • Account has been administratively locked.
  • [% ELSE %]
  • Account has been locked.
  • [% END %] [% END %]
[% END %]

[% UNLESS ( I ) %] [% patron.title | html %] [% patron.firstname | html %] [% END %] [% patron.surname | html %] ([% patron.cardnumber | html %])

Contact information

[% IF ( guarantor.borrowernumber ) %] Edit [% ELSE %] Edit [% END %]
[% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %]
    [% IF Koha.Preference( 'AddressFormat' ) %] [% INCLUDE "member-display-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] [% ELSE %] [% INCLUDE 'member-display-address-style-us.inc' %] [% END %]
    [% IF ( patron.phone ) %]
  1. Primary phone: [% patron.phone | html %]
  2. [% END %] [% IF ( patron.phonepro ) %]
  3. Secondary phone: [% patron.phonepro | html %]
  4. [% END %] [% IF ( patron.mobile ) %]
  5. Other phone: [% patron.mobile | html %]
  6. [% END %] [% IF ( patron.fax ) %]
  7. Fax: [% patron.fax | html %]
  8. [% END %] [% IF ( patron.email ) %] [% END %] [% IF ( patron.emailpro ) %] [% END %] [% UNLESS ( I ) %] [% IF ( patron.initials ) %]
  9. Initials: [% patron.initials | html %]
  10. [% END %] [% IF ( patron.dateofbirth ) %]
  11. Date of birth: [% patron.dateofbirth | $KohaDates %] ([% patron.get_age | html %] years)
  12. [% END %] [% IF ( patron.sex ) %]
  13. Gender: [% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSE %][% patron.sex | html %][% END %]
  14. [% END %] [% END %] [% IF guarantees %]
  15. Guarantees:
  16. [% ELSIF guarantor_relationships.count > 0 %]
  17. [% IF guarantor_relationships.count > 1 %] Guarantors: [% ELSE %] Guarantor: [% END %]
  18. [% END %]
[% # /div.rows %]
[% # /div#patron-information %] [% IF ( patronimages ) %] [% IF ( CAN_user_tools_batch_upload_patron_images ) %]
[% IF ( patron.image ) %]

Manage patron image

Edit
[% ELSE %]

Upload patron image

Add
[% END %]
[% # /div#manage-patron-image %] [% END %] [% END %] [% IF Koha.Preference('HouseboundModule') %]
[% IF ( housebound_role.housebound_chooser == 1 OR housebound_role.housebound_deliverer == 1 ) %]

Housebound roles

Edit
  1. Chooser: [% IF ( housebound_role.housebound_chooser == 1 ) %] Yes [% ELSE %] No [% END %]
  2. Deliverer: [% IF ( housebound_role.housebound_deliverer == 1 ) %] Yes [% ELSE %] No [% END %]
[% ELSE %]

Housebound roles

Add
[% END %]
[% #/ div#houseboundroles %] [% END %] [% IF Koha.Preference('ExtendedPatronAttributes') %] [% UNLESS ( no_patron_attribute_types ) %]
[% IF ( attributes_loop ) %]

Additional attributes and identifiers

Edit
[% FOREACH attribute IN attributes_loop %] [% IF attribute.class %]
[% ELSE %]
[% END %]

[% attribute.lib | html %]

    [% FOREACH item IN attribute.items %]
  1. [% item.description | html %]: [% IF ( item.value_description ) %] [% item.value_description | html %] [% ELSE %] [% item.value| html | html_line_break %] [% END %]
  2. [% END %]
[% END %]
[% ELSE %]

Additional attributes and identifiers

Add
[% END %]
[% # /div#patron-extended-attributes %] [% END %] [% END %] [% IF ( EnhancedMessagingPreferences ) %]

Patron messaging preferences

Edit
[% INCLUDE 'messaging-preference-form.inc' %] [% IF Koha.Preference('SMSSendDriver') %] [% END %]
[% # /div#patron-messaging-prefs %] [% END %]

Library use

Edit
  1. Card number: [% patron.cardnumber | html %]
  2. Borrowernumber: [% patron.borrowernumber | html %]
  3. Category: [% patron.category.description | html %] ([% patron.categorycode | html %])
  4. Registration date: [% patron.dateenrolled | $KohaDates %]
  5. [% IF ( patron.date_renewed ) %]
  6. Renewal date: [% patron.date_renewed | $KohaDates %]
  7. [% END %]
  8. Expiration date: [% IF ( was_renewed ) %] [% patron.dateexpiry | $KohaDates %] [% ELSIF ( patron.is_expired ) %] [% patron.dateexpiry | $KohaDates %] Expired Renew or Edit details [% ELSIF ( patron.is_going_to_expire ) %] [% patron.dateexpiry | $KohaDates %] Patron expires soon Renew or Edit details [% ELSE %] [% patron.dateexpiry | $KohaDates %] [% END %]
  9. Library: [% Branches.GetName( patron.branchcode ) | html %]
  10. [% IF Koha.Preference( 'OPACPrivacy') %]
  11. Privacy Pref: [% IF ( patron.privacy == 0 ) %]Forever[% END %] [% IF ( patron.privacy == 1 ) %]Default[% END %] [% IF ( patron.privacy == 2 ) %]Never[% END %]
  12. [% END %]
  13. Show checkouts to guarantor [% IF patron.privacy_guarantor_checkouts %] Yes [% ELSE %] No [% END %]
  14. Show fines to guarantor [% IF patron.privacy_guarantor_fines %] Yes [% ELSE %] No [% END %]
  15. [% IF ( patron.sort1 ) %]
  16. Sort field 1: [% AuthorisedValues.GetByCode('Bsort1', patron.sort1) | html %]
  17. [% END %] [% IF ( patron.sort2 ) %]
  18. Sort field 2: [% AuthorisedValues.GetByCode('Bsort2', patron.sort2) | html %]
  19. [% END %]
  20. Username: [% patron.userid | html %]
  21. Password: [% IF ( patron.password ) %] ******* [% ELSE %] Undefined [% END %]
  22. [% IF ( patron.borrowernotes ) %]
  23. Circulation note: [% patron.borrowernotes | $raw %]
  24. [% END %] [% IF ( patron.opacnote ) %]
  25. OPAC note: [% patron.opacnote | html %]
  26. [% END %] [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
  27. Check previous checkouts: [% IF ( patron.checkprevcheckout == 'yes' ) %] Yes [% ELSIF ( patron.checkprevcheckout == 'no' ) %] No [% ELSE %] Inherited [% END %]
  28. [% END %] [% IF Koha.Preference('TranslateNotices') %]
  29. Preferred language for notices: [% translated_language | html %]
  30. [% END %]
[% # /div.rows %]
[% # /div#patron-library-details %]
[% IF ( patron.B_phone || patron.B_email || patron.contactnote || patron.B_address || patron.B_address2 || patron.B_city || patron.B_zipcode || patron.B_country ) %]

Alternate address

Edit
    [% IF Koha.Preference( 'AddressFormat' ) %] [% INCLUDE "member-display-alt-address-style-${ Koha.Preference( 'AddressFormat' ) }.inc" %] [% ELSE %] [% INCLUDE 'member-display-alt-address-style-us.inc' %] [% END %]
    [% IF ( patron.B_phone ) %]
  1. Phone: [% patron.B_phone |html %]
  2. [% END %] [% IF ( patron.B_email ) %] [% END %] [% IF ( patron.contactnote ) %]
  3. Contact note: [% patron.contactnote |html %]
  4. [% END %]
[% ELSE %]

Alternate address

Add
[% END %]
[% # /div#patron-alternate-address %]
[% IF ( patron.altcontactsurname || patron.altcontactfirstname || patron.altcontactaddress1 || patron.altcontactaddress2 || patron.altcontactaddress3 || patron.altcontactstate || patron.altcontactzipcode || patron.altcontactcountry || patron.altcontactphone ) %]

Alternative contact

Edit
    [% IF ( patron.altcontactsurname ) %]
  1. Surname: [% patron.altcontactsurname | html %]
  2. [% END %] [% IF ( patron.altcontactfirstname ) %]
  3. First name: [% patron.altcontactfirstname | html %]
  4. [% END %] [% IF ( patron.altcontactaddress1 ) %]
  5. Address: [% patron.altcontactaddress1 | html %]
  6. [% END %] [% IF ( patron.altcontactaddress2 ) %]
  7. Address 2: [% patron.altcontactaddress2 | html %]
  8. [% END %] [% IF ( patron.altcontactaddress3 ) %]
  9. City: [% patron.altcontactaddress3 | html %]
  10. [% END %] [% IF ( patron.altcontactstate ) %]
  11. State: [% patron.altcontactstate | html %]
  12. [% END %] [% IF ( patron.altcontactzipcode ) %]
  13. ZIP/Postal code: [% patron.altcontactzipcode | html %]
  14. [% END %] [% IF ( patron.altcontactcountry ) %]
  15. Country: [% patron.altcontactcountry | html %]
  16. [% END %] [% IF ( patron.altcontactphone ) %]
  17. Phone: [% patron.altcontactphone | html %]
  18. [% END %]
[% # /div.rows %] [% ELSE %]

Alternative contact

Add
[% END %]
[% # /div#patron-alternative-contact %]
[% INCLUDE "checkouts-table.inc" %] [% INCLUDE "relatives-issues-table.inc" %]
[% IF ( fines ) %]

Total due: [% fines | $Price %]

[% ELSE %]

No outstanding charges

[% END %]
[% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %]
Loading...
[% END %] [% INCLUDE borrower_debarments.inc %] [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
[% IF ( holds_count ) %]
Hold date Title Call number Barcode Pickup at Expiration Priority Delete? Suspend? Status
[% IF Koha.Preference('SuspendHoldsIntranet') %]
[% IF Koha.Preference('AutoResumeSuspendedHolds') %] Specify date on which to resume [% INCLUDE 'date-format.inc' %]: [% END %]
[% END # IF SuspendHoldsIntranet %] [% ELSE %]

Patron has nothing on hold.

[% END %]
[% # /div#reserves %] [% END %] [% INCLUDE 'patron-return-claims.inc' %] [% IF Koha.Preference('ArticleRequests') %] [% INCLUDE 'patron-article-requests.inc' %] [% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'strings.inc' %] [% INCLUDE 'calendar.inc' %] [% Asset.js("lib/jquery/plugins/jquery.checkboxes.min.js") | $raw %] [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") | $raw %] [% INCLUDE 'timepicker.inc' %] [% Asset.js("lib/jquery/plugins/jquery.dataTables.rowGrouping.js") | $raw %] [% Asset.js("js/pages/circulation.js") | $raw %] [% Asset.js("js/checkouts.js") | $raw %] [% Asset.js("js/holds.js") | $raw %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% Asset.js("js/messaging-preference-form.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]