[% USE raw %] [% USE Asset %] [% USE Price %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Delete patron [% patron.firstname | html %] [% patron.surname | html %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% 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 %]
[% INCLUDE 'circ-menu.inc' %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]