[% USE raw %] [% USE Koha %] [% PROCESS 'restriction-types.inc' %] [% IF ( patron.restrictions.count == 0 ) %]

Patron is currently unrestricted.

[% ELSE %] [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] [% END %] [% FOREACH restriction IN patron.restrictions %] [% IF restriction.is_expired %][% ELSE %][% END %] [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] [% END %] [% END %]
Type Comment Expiration Created 
[% PROCESS restriction_type_description restriction_type=restriction.type %] [% IF restriction.comment.search('OVERDUES_PROCESS') %] Restriction added by overdues process [% restriction.comment.remove('OVERDUES_PROCESS ') | $raw %] [% ELSE %] [% restriction.comment | $raw %] [% END %] [% IF restriction.expiration %] [% restriction.expiration | $KohaDates %] [% IF restriction.is_expired %](expired)[% END %] [% ELSE %] Indefinite [% END %] [% restriction.created | $KohaDates %] Remove
[% END %] [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]

Add manual restriction

Add manual restriction
    [% IF Koha.Preference('PatronRestrictionTypes') %]
  1. [% END %]
Cancel
[% END %]