[% USE raw %]
[% IF ( not debarments.defined || debarments.size < 1 ) %]

Patron is currently unrestricted.

[% ELSE %] [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] [% END %] [% FOREACH d IN debarments %] [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %] [% END %] [% END %]
Type Comment Expiration Created 
[% 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 %] Remove
[% END %] [% IF CAN_user_borrowers_edit_borrowers && CAN_user_circulate_manage_restrictions %]

Add manual restriction

Add manual restriction
  1. Clear date
Cancel
[% END %]