Bug 24484: Add explanatory text to batch patron deletion
authorDavid Roberts <david@koha-ptfs.co.uk>
Thu, 23 Jan 2020 12:18:17 +0000 (12:18 +0000)
committerHayley Mapley <hayleymapley@catalyst.net.nz>
Mon, 10 Feb 2020 04:27:08 +0000 (17:27 +1300)
This patch adds a more detailed explanation about what the tool can do.

To test:

1) Open up the Batch patron deletion and anonymisation tool
2) Check the help text near the top of the screen
3) Install the patch and repeat steps 1 and 2
4) Check the help text has changed to the new version

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 8b98dfa41d6004e6d6204c682b23043cb314e623)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit a4b63af5dc4f1662ed46c6743029d1d33dfbbac0)
Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>

koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt

index 6bb3ed2..df223c7 100644 (file)
 <!-- step 1 START -->
 
 <div class="help">
-    <p>This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.</p>
+    <p>This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used. Patrons will not be deleted if they meet one or more of the following conditions:</p>
+<ul>
+<li>They have items currently checked out.</li>
+<li>They have a non-zero account balance.</li>
+<li>They are the guarantor to another patron.</li>
+<li>They are in a patron category of type staff.</li>
+</ul>
 </div>
 <div id="step1">
     <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">