[% USE Koha %]
[% USE Branches %]
[% USE raw %]
[% USE To %]
[% BLOCK patron_search_filters_simple %]
[% END %]
[% BLOCK patron_search_filters %]
[% END %]
[% BLOCK patron_search_table %]
[% IF filter == 'suggestions_managers' %]
Only staff with superlibrarian or suggestions_manage permissions are returned in the search results
[% ELSIF filter == 'orders_managers' %]
Only staff with superlibrarian or acquisitions permissions (or order_manage permission if granular permissions are enabled) are returned in the search results
[% ELSIF filter == 'funds_owners' OR filter == 'funds_users' %]
Only staff with superlibrarian or acquisitions permissions (or budget_modify permission if granular permissions are enabled) are returned in the search results
[% END %]
Browse by last name:
[% SET alphabet = Koha.Preference('alphabet').split(' ') %]
[% UNLESS alphabet.size %]
[% alphabet = ['A' .. 'Z'] %]
[% END %]
[% FOREACH letter IN alphabet %]
[% letter | html %]
[% END %]
[% IF open_on_row_click %]
[% ELSE %]
[% END %]
[% FOR column IN columns %]
[% SWITCH column %]
[% CASE 'cardnumber' %]
Card
[% CASE 'dateofbirth' %]
Date of birth
[% CASE 'name' %]
Name
[% CASE 'name-address' %]
Name
[% CASE 'address' %]
Address
[% CASE 'address-library' %]
Address
[% CASE 'branch' %]
Library
[% CASE 'category' %]
Category
[% CASE 'dateexpiry' %]
Expires on
[% CASE 'borrowernotes' %]
Notes
[% CASE 'phone' %]
Phone
[% CASE 'checkouts' %]
Checkouts
[% CASE 'account_balance' %]
Fines
[% CASE 'action' %]
[% END %]
[% END %]
Loading
[% END %]
[% BLOCK patron_search_js %]
[% IF redirect_if_one_result && !redirect_url %]
[% END %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'js-date-format.inc' %]
[% INCLUDE 'js-patron-get-age.inc' %]
[% INCLUDE 'js-patron-format.inc' %]
[% INCLUDE 'js-patron-format-address.inc' %]
[% END %]