[% 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 ( 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 %]
+
+ [% IF ( itemresults ) %]
Warning, the following barcodes were not found:
[% ELSE %]
Warning: no barcodes were found
[% END %]
+
+
+
+
+ Barcode |
+
+
+
+ [% FOREACH notfoundbarcode IN notfoundbarcodes %]
[% notfoundbarcode.barcode |html %] |
- [% END %]
-
-
- [% UNLESS ( too_many_items ) %]
- [% IF ( item_loop ) %]The following barcodes were found:
[% END %]
- [% END %]
- [% END %]
+ [% 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 src == 'CATALOGUING' # from catalogue/detail.pl > Delete items in a batch%]
@@ -164,31 +146,31 @@ $(document).ready(function(){
Return to batch item deletion
[% 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 %]
+ [% 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 %]
[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Delete items in a batch%]
@@ -202,4 +184,25 @@ $(document).ready(function(){
[% END %]
+
+[% MACRO jsinclude BLOCK %]
+
+ [% INCLUDE 'datatables.inc' %]
+
+
+
+[% END %]
+
[% INCLUDE 'intranet-bottom.inc' %]
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod.tt
@@ -1,3 +1,4 @@
+[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
[% INCLUDE 'doc-head-close.inc' %]
@@ -7,13 +8,13 @@
[% INCLUDE 'cat-search.inc' %]