[% USE raw %]
[% USE Asset %]
[% USE Koha %]
[% USE KohaDates %]
[% USE Branches %]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Tools › Batch patron deletion and anonymization [% IF step == 2 %]› Confirm[% END %][% IF step == 3 %]› Finished[% END %]
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
Home ›
Tools ›
[% IF step == 1 %]
Batch patron deletion and anonymization
[% ELSE %]
Batch patron deletion and anonymization ›
[% END %]
[% IF step == 2 %] Confirm [% END %]
[% IF step == 3 %] Finished [% END %]
[% IF !OnlyMine %]
[% IF current_branch == '*' %]
Batch patron deletion and anonymization
[% ELSE %]
Batch patron deletion and anonymization for [% Branches.GetName( current_branch ) | html %]
[% END %]
[% IF step == 1 %]
[% END %]
[% ELSE %]
Batch patron deletion and anonymization for [% Branches.GetName( Branches.GetLoggedInBranchcode ) | html %]
[% END %]
[% IF step == 1 %]
This tool allows you to delete patrons and anonymize checkout history. For deleting patrons, any combination of limits can be used.
[% END %]
[% IF step == 2 %]
[% END %]
[% IF step == 3 %]
[% IF ( testrun ) %]
[% TotalDel | html %] patrons would have been removed (if it wasn't a test run)
No patron records have been actually removed
[% ELSE %]
[% IF ( do_delete ) %]
[% IF ( trash ) %]
[% TotalDel | html %] patrons have been successfully moved to trash
[% ELSE %]
[% TotalDel | html %] patrons have been successfully deleted
[% END %]
[% ELSE %]
No patron records have been removed
[% END %]
[% END %]
[% IF do_anonym %]
All checkouts ([% do_anonym | html %]) older than [% last_issue_date | $KohaDates %] have been anonymized
[% ELSE %]
No patron records have been anonymized
[% END %]
[% END %]
[% MACRO jsinclude BLOCK %]
[% Asset.js("js/tools-menu.js") | $raw %]
[% INCLUDE 'calendar.inc' %]
[% END %]
[% INCLUDE 'intranet-bottom.inc' %]