[% INCLUDE 'members-toolbar.inc' %]
[% IF ( ItemsOnIssues || charges || guarantees ) %]
Cannot delete patron
[% IF ( ItemsOnIssues ) %]
- Patron has [% ItemsOnIssues %] item(s) checked out.
[% END %]
[% IF ( charges ) %]
- Patron has [% charges %] in fines.
[% END %]
[% IF ( guarantees ) %]
- Patron's record has guaranteed accounts attached.
[% END %]
[% ELSIF op == 'delete_confirm' and patron %]
[%# TODO add "patron does not exist" unless patron %]
Are you sure you want to delete the patron [% patron.firstname %] [% patron.surname %]? This cannot be undone.
[% END %]
[% IF ( keeplocal ) %]
Remote record deleted, local record kept
Patron was marked for deletion from Norwegian national patron database, but the local record was kept.
[% END %]