[% 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 %]
Barcode |
[% FOREACH notfoundbarcode IN notfoundbarcodes %]
[% notfoundbarcode.barcode %] |
[% END %]
[% UNLESS ( too_many_items ) %]
[% IF ( item_loop ) %]
The following barcodes were found:
[% END %]
[% 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 ) %]
Itemnumber |
Barcode |
Reason |
[% FOREACH not_deleted_loo IN not_deleted_loop %]
[% 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 %]
[% END %]
Return to batch item deletion
[% END %]