Bug 23219: Cancel patrons holds when patron delete
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / members / deletemem.tt
index f17df68..74cef2a 100644 (file)
@@ -37,6 +37,9 @@
     [% ELSIF op == 'delete_confirm' and patron %]
         [%# TODO add "patron does not exist" unless patron %]
         <div class="dialog alert">
+            [% IF ( ItemsOnHold ) %]
+            <h3>Patron has [% ItemsOnHold | html %] hold(s). Deleting patron cancels all their holds.</h3></br>
+            [% END %]
             <h3>Are you sure you want to delete the patron [% patron.firstname | html %] [% patron.surname | html %]? This cannot be undone.</h3>
             <form action="/cgi-bin/koha/members/deletemem.pl">
                 <input type="hidden" name="csrf_token" value="[% csrf_token | html %]" />