[% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Batch item deletion [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'datatables-strings.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% IF ( show ) %]

Batch item deletion

[% ELSE %]

Batch item deletion results

[% END %] [% IF ( barcode_not_unique ) %]
Error saving item: Barcode must be unique.
[% END %] [% IF ( no_next_barcode ) %]
Error saving items: Unable to automatically determine values for barcodes. No item has been inserted.
[% END %] [% IF ( book_on_loan ) %]
Cannot Delete: item is checked out.
[% END %] [% IF ( book_reserved ) %]
Cannot Delete: item has a waiting hold.
[% END %] [% UNLESS ( action ) %] [% IF ( notfoundbarcodes ) %]
[% IF ( itemresults ) %]

Warning, the following barcodes were not found:

[% ELSE %]

Warning: no barcodes were found

[% END %]
[% FOREACH notfoundbarcode IN notfoundbarcodes %] [% END %]
Barcode
[% notfoundbarcode.barcode %]
[% UNLESS ( too_many_items ) %] [% IF ( item_loop ) %]

The following barcodes were found:

[% END %] [% END %] [% END %]
[% IF biblionumber %] [% END %] [% IF ( item_loop ) %] [% IF ( show ) %][% END %]

Show/hide columns: [% FOREACH item_header_loo IN item_header_loop %] [% END %]

[% IF ( show ) %][% END %] [% FOREACH item_header_loo IN item_header_loop %] [% END %] [% FOREACH item_loo IN item_loop %] [% IF ( show ) %][% IF ( item_loo.nomod ) %] [% ELSE %][% END %][% END %] [% FOREACH item_valu IN item_loo.item_value %] [% END %] [% END %]
 Title [% item_header_loo.header_value %]
Cannot Edit[% item_valu.field |html %]
[% END %] [% IF ( simple_items_display ) %] [% END %] [% IF ( show ) %] [% IF ( too_many_items ) %]

Too many items ([% too_many_items %]) to display individually.

[% FOREACH itemnumber IN itemnumbers_array %] [% END %] [% END %] [% IF ( itemresults ) %]

This will delete [% IF ( too_many_items ) %]all the[% ELSE %]the selected[% END %] items.

Job progress:
0%
[% IF ( too_many_items ) %][% ELSE %]

[% END %] Cancel

[% ELSE %]

Return to batch item deletion

[% END %] [% END %]
[% END %] [% IF ( action ) %]

[% deleted_items %] item(s) deleted.

[% IF delete_records %]

[% deleted_records %] record(s) deleted.

[% END %]
[% IF ( not_deleted_items ) %]

[% not_deleted_items %] item(s) could not be deleted: [% FOREACH not_deleted_itemnumber IN not_deleted_itemnumbers %][% not_deleted_itemnumber.itemnumber %][% END %]

[% IF ( not_deleted_loop ) %] [% FOREACH not_deleted_loo IN not_deleted_loop %] [% END %]
Itemnumber Barcode Reason
[% not_deleted_loo.itemnumber %] [% IF ( CAN_user_editcatalogue_edit_items ) %][% not_deleted_loo.barcode %][% ELSE %][% not_deleted_loo.barcode %][% END %] [% IF ( not_deleted_loo.book_on_loan ) %]Item is checked out[% ELSIF ( not_deleted_loo.book_reserved ) %]Item has a waiting hold[% END %]
[% END %]
[% END %]

[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Delete items in a batch%] Done [% ELSIF src %] Done [% ELSE %] Return to batch item deletion [% END %]

[% END %]
[% INCLUDE 'intranet-bottom.inc' %]