[% INCLUDE 'members-toolbar.inc' %]
[% IF ( ItemsOnIssues || charges || guarantees ) %]
Cannot delete patron
[% IF ( ItemsOnIssues ) %]
- Patron has [% ItemsOnIssues | html %] item(s) checked out.
[% END %]
[% IF ( charges ) %]
- Patron has [% charges | $Price | html %] 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 | html %] [% patron.surname | html %]? This cannot be undone.
[% END %]