[% PROCESS 'authorities-search-results.inc' %]
[% INCLUDE 'doc-head-open.inc' %]
Koha › Tools › Batch record deletion
[% INCLUDE 'doc-head-close.inc' %]
[% INCLUDE 'datatables.inc' %]
[% INCLUDE 'header.inc' %]
[% INCLUDE 'cat-search.inc' %]
[% FOREACH message IN messages %]
[% IF message.type == 'success' %]
[% ELSIF message.type == 'warning' %]
[% ELSIF message.type == 'error' %]
[% END %]
[% IF message.code == 'biblio_not_exists' %]
The biblionumber [% message.biblionumber %] does not exist in the database.
[% ELSIF message.code == 'authority_not_exists' %]
The authority id [% message.authid %] does not exist in the database.
[% ELSIF message.code == 'item_issued' %]
At least one item issued for the biblio [% message.biblionumber %].
[% ELSIF message.code == 'reserve_not_cancelled' %]
The biblio [% message.biblionumber %] has not been deleted. A reserve (reserve_id [% message.reserve_id %]) caused an error on cancel.
[% ELSIF message.code == 'item_not_deleted' %]
The biblio [% message.biblionumber %] has not been deleted. An item (itemnumber [% message.itemnumber %]) caused an error on delete.
[% ELSIF message.code == 'biblio_not_deleted' %]
The biblio [% message.biblionumber %] has not been deleted. An error occurred on deleting it.
[% ELSIF message.code == 'authority_not_deleted' %]
The authority [% message.authid %] has not been deleted. An error occurred on deleting it.
[% ELSIF message.code == 'biblio_deleted' %]
The biblio [% message.biblionumber %] has successfully been deleted.
[% ELSIF message.code == 'authority_deleted' %]
The authority [% message.authid %] has successfully been deleted.
[% END %]
[% IF message.error %]
(The error was: [% message.error%], see the Koha logfile for more information).
[% END %]
[% END %]
[% IF op == 'form' %]
[% ELSIF op == 'list' %]
[% IF records %]
[% IF recordtype == 'biblio' %]
[% ELSE %]
There is no record ids defined.
[% END %]
[% ELSIF op == 'report' %]
[% IF report.total_records == report.total_success %]
All records have successfully been deleted!
[% ELSIF report.total_success == 0 %]
No record has been deleted, some errors occurred.
[% ELSE %]
[% report.total_success %] / [% report.total_records %] records have successfully been deleted but some errors occurred.
[% END %]