[% USE raw %]
Patron is currently unrestricted.
[% ELSE %]Type | Comment | Expiration | Created | [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %][% END %] |
---|---|---|---|---|
[% SWITCH d.type %] [% CASE 'MANUAL' %] Manual [% CASE 'OVERDUES' %] Overdues [% CASE 'SUSPENSION' %] Suspension [% CASE 'DISCHARGE' %] Discharge [% END %] | [% IF d.comment.search('OVERDUES_PROCESS') %] Restriction added by overdues process [% d.comment.remove('OVERDUES_PROCESS ') | $raw %] [% ELSE %] [% d.comment | $raw %] [% END %] | [% IF d.expiration %] [% d.expiration | $KohaDates %] [% ELSE %] Indefinite [% END %] | [% d.created | $KohaDates %] | [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]Remove | [% END %]