[% USE raw %] [% USE Asset %] [% USE Price %] [% USE Branches %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Delete patron [% patron.firstname | html %] [% patron.surname | html %] › Koha [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'patron-search.inc' %]
[% INCLUDE 'members-toolbar.inc' %] [% IF ItemsOnIssues || debits || is_guarantor %]

Cannot delete patron

    [% IF ( ItemsOnIssues ) %]
  • Patron has [% ItemsOnIssues | html %] item(s) checked out.
  • [% END %] [% IF debits %]
  • Patron has [% debits | $Price %] in fines.
  • [% END %] [% IF is_guarantor %]
  • Patron's record has guaranteed accounts attached.
  • [% END %]
[% ELSIF op == 'delete_confirm' and patron %] [%# TODO add "patron does not exist" unless patron %]
[% IF ItemsOnHold or credits or pending_suggestions > 0 %]
    [% IF ItemsOnHold %]
  • Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.
  • [% END %] [% IF credits %]
  • Patron has a [% credits | $Price %] credit.
  • [% END %] [% IF pending_suggestions > 0 %]
  • Patron has [% pending_suggestions | html %] pending suggestions.
  • [% END %]
[% END %]

Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.

[% END %]
[% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] [% Asset.js("js/members-menu.js") | $raw %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]