[% USE raw %] [% USE Koha %] [% PROCESS 'restriction-types.inc' %] [% IF ( patron.restrictions.count == 0 ) %]
Patron is currently unrestricted.
[% ELSE %]Type | Comment | Expiration | Created | [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %][% END %] |
---|---|---|---|---|
[% 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 %] [% ELSE %] Indefinite [% END %] | [% restriction.created | $KohaDates %] | [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]Remove | [% END %]