[% USE raw %] [% USE Asset %] [% USE Context %] [% USE Koha %] [% USE Branches %] [% USE ItemTypes %] [% USE KohaDates %] [% USE AuthorisedValues %] [% USE TablesSettings %] [% USE Price %] [% PROCESS 'member-display-address-style.inc' %] [% PROCESS 'member-display-alt-address-style.inc' %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] [% Asset.css("lib/jquery/plugins/rowGroup/stylesheets/rowGroup.dataTables.min.css") | $raw %] [% UNLESS blocking_error %] Patron details for [% INCLUDE 'patron-title.inc' no_html = 1 %] [% END %] › Patrons › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search-header.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_ANONYMOUS_PATRON' ) %]

Unable to delete patron that is set as AnonymousPatron

This patron cannot be deleted while set as AnonymousPatron in the system preferences.

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

Unable to delete patron

Insufficient privileges.

[% END %]
[% END %]

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

[% IF ( was_renewed ) %]
Patron's account has been renewed until [% patron.dateexpiry | $KohaDates %]
[% END %]
[% INCLUDE 'patron_messages.inc' %]

Contact information

[% IF ( guarantor.borrowernumber ) %] Edit [% ELSE %] Edit [% END %]
[% IF ( patron.othernames ) %]“[% patron.othernames | html %]”[% END %]
    [% PROCESS 'display-address-style' %]
    [% 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: [% INCLUDE 'patron-age.inc' %]
  12. [% END %] [% IF ( patron.sex ) %]
  13. Gender: [% IF ( patron.sex == 'F' ) %]Female[% ELSIF ( patron.sex == 'M' ) %]Male[% ELSIF (patron.sex == 'O' ) %]Other[% ELSE %][% patron.sex | html %][% END %]
  14. [% END %] [% END %]
  15. Show checkouts to guarantor [% IF patron.privacy_guarantor_checkouts %] Yes [% ELSE %] No [% END %]
  16. Show fines to guarantor [% IF patron.privacy_guarantor_fines %] Yes [% ELSE %] No [% END %]
  17. [% IF guarantees %]
  18. Guarantees:
  19. [% ELSIF guarantor_relationships.count > 0 OR ( patron.contactfirstname OR patron.contactname ) %]
  20. [% IF guarantor_relationships.count > 1 OR guarantor_relationships.count == 0 AND ( patron.contactfirstname OR patron.contactname ) %] Guarantors: [% ELSE %] Guarantor: [% END %]
  21. [% END %] [% IF ( patron.primary_contact_method ) %]
  22. Main contact method: [% SWITCH patron.primary_contact_method %] [% CASE 'phone' %] Primary phone [% CASE 'phonepro' %] Secondary phone [% CASE 'mobile' %] Other phone [% CASE 'email' %] Primary email [% CASE 'emailpro' %] Secondary email [% CASE 'fax' %] Fax [% END %]
  23. [% END %]
[% # /div.rows %]
[% # /div#patron-information %] [% 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.type.description | html %]: [% item.description | html_line_break %]
  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') %]
  1. SMS number: [% patron.smsalertnumber | html %]
  2. SMS provider: [% patron.sms_provider.name | html %]
[% 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 %] [% IF ( patron.sort1 ) %]
  13. Sort field 1: [% AuthorisedValues.GetByCode('Bsort1', patron.sort1) | html %]
  14. [% END %] [% IF ( patron.sort2 ) %]
  15. Sort field 2: [% AuthorisedValues.GetByCode('Bsort2', patron.sort2) | html %]
  16. [% END %] [% UNLESS ( patron.autorenew_checkouts ) %]
  17. Auto-renewal: Patron has opted out
  18. [% END %]
  19. Username: [% patron.userid | html %]
  20. Password: [% IF ( patron.password ) %] ******* [% ELSE %] Undefined [% END %]
  21. [% IF ( patron.borrowernotes ) %]
  22. Circulation note:
    [% patron.borrowernotes | $raw | html_line_break %]
  23. [% END %] [% IF ( patron.opacnote ) %]
  24. OPAC note:
    [% patron.opacnote | html | html_line_break %]
  25. [% END %] [% IF ( Koha.Preference('CheckPrevCheckout') == 'softyes' || Koha.Preference('CheckPrevCheckout') == 'softno' ) %]
  26. Check previous checkouts: [% IF ( patron.checkprevcheckout == 'yes' ) %] Yes [% ELSIF ( patron.checkprevcheckout == 'no' ) %] No [% ELSE %] Inherited [% END %]
  27. [% END %] [% IF Koha.Preference('TranslateNotices') %]
  28. Preferred language for notices: [% translated_language | html %]
  29. [% 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
    [% PROCESS 'display-alt-address-style' %]
    [% 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 %] [% IF Koha.Preference('EnableBorrowerFiles') %]

Files

Manage [% IF ( files ) %]
    [% FOREACH f IN files %]
  1. [% f.file_name | html %] [% IF ( f.file_description ) %] - [% f.file_description | html %] [% END %]
  2. [% END # /FOREACH f %]
[% END # /IF files %]
[% END # /IF EnableBorrowerFiles %]
[% INCLUDE "checkouts-table.inc" %] [% INCLUDE "relatives-issues-table.inc" %] [% IF ( fines ) %]
[% IF ( fines ) %]

Total due: [% fines | $Price %]

[% ELSE %]

No outstanding charges

[% END %]
[% END %] [% IF CAN_user_clubs && ( enrollments.count || enrollable.count ) %]
Loading...
[% END %] [% IF Koha.Preference('UseRecalls') %]
[% INCLUDE 'recalls.inc' %]
[% END %] [% INCLUDE borrower_debarments.inc %] [% IF ( CAN_user_circulate_circulate_remaining_permissions ) %]
[% IF ( holds_count ) %]
Hold date Title Call number Item type Barcode Pickup at Expiration Priority Delete? Suspend? Status
[% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] [% IF hold_cancellation %] [% END %]
[% 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 %] [% IF Koha.Preference('ClaimReturnedLostValue') %] [% INCLUDE 'patron-return-claims.inc' %] [% END %] [% IF Koha.Preference('ArticleRequests') %] [% INCLUDE 'patron-article-requests.inc' %] [% END %]
[% IF Koha.Preference('ClaimReturnedLostValue') %] [% INCLUDE 'modals/resolve_return_claim.inc' %] [% END %] [% MACRO jsinclude BLOCK %] [% INCLUDE 'datatables.inc' %] [% Asset.js("lib/jquery/plugins/rowGroup/dataTables.rowGroup.min.js") | $raw %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("lib/jquery/plugins/jquery-ui-timepicker-addon.min.js") | $raw %] [% INCLUDE 'timepicker.inc' %] [% INCLUDE 'select2.inc' %] [% INCLUDE 'js-date-format.inc' %] [% Asset.js("js/pages/circulation.js") | $raw %] [% Asset.js("js/checkouts.js") | $raw %] [% IF Koha.Preference('ClaimReturnedLostValue') %] [% Asset.js("js/resolve_claim_modal.js") | $raw %] [% END %] [% Asset.js("js/holds.js") | $raw %] [% INCLUDE 'calendar.inc' %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% Asset.js("js/recalls.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]