[% USE raw %] [% USE Asset %] [% USE Koha %] [% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Batch item modification › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/addbiblio.css") | $raw %] [% Asset.css("css/humanmsg.css") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% IF ( show ) %]

Batch item modification

[% ELSE %]

Batch item modification results

[% IF (modified_items) %] [% modified_items | html %] item(s) modified (with [% modified_fields | html %] field(s) modified). [% ELSE %] No items modified. [% END %]
[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] [% IF searchid %] Return to the record [% ELSE %] Return to the record [% END %] [% ELSIF src %] Return to where you were [% ELSE %] Return to batch item modification [% END %]
[% END # /IF show %] [% 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 ( notfoundbarcodes.size ) %]

Warning, the following barcodes were not found:

[% FOREACH notfoundbarcode IN notfoundbarcodes %] [% END %]
Barcodes not found
[% notfoundbarcode |html %]
[% IF ( item_loop ) %] [% UNLESS ( too_many_items_display ) %]

The following barcodes were found:

[% END %] [% END %] [% END # /IF notfoundbarcodes.size %] [% IF ( notfounditemnumbers.size ) %]

Warning, the following itemnumbers were not found:

[% FOREACH notfounditemnumber IN notfounditemnumbers %] [% END %]
Itemnumbers not found
[% notfounditemnumber |html %]
[% IF ( item_loop ) %] [% UNLESS ( too_many_items_display ) %]

The following itemnumbers were found:

[% END %] [% END %] [% END # /IF notfounditemnumbers.size %]
[% IF biblionumber %] [% END %] [% IF ( item_loop ) %] [% IF show %] [% END %]

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

[% FOREACH item_header_loo IN item_header_loop %] [% END %] [% FOREACH item_loo IN item_loop %] [% IF show %] [% IF item_loo.nomod %] [% ELSE %] [% END %] [% ELSE %] [% END %] [% FOREACH item_valu IN item_loo.item_value %] [% END %] [% END # /FOREACH item_loo %]
  Title Holds [% item_header_loo.header_value | html %]
Cannot edit   [% IF item_loo.holds %] [% IF item_loo.item_holds %] [% ELSE %] [% END %] [% ELSE %] [% IF item_loo.holds %] [% ELSE %] [% END %] [% END # /IF item_loo.holds %] [% IF item_loo.holds %] [% item_loo.item_holds | html %]/[% item_loo.holds | html %] [% ELSE %] [% item_loo.holds | html %] [% END %] [% item_valu.field | html %]
[% END # /IF item_loop %] [% IF ( simple_items_display || job_completed ) %] [% IF ( too_many_items_display ) %]

Too many items ([% too_many_items_display | html %]): You have edited more than [% Koha.Preference('MaxItemsToDisplayForBatchMod') | html %] items in a batch, items will not be shown.

[% ELSE %]

The following items were modified:

[% END # /IF too_many_items_display %] [% END # /IF simple_items_display %] [% IF ( show ) %] [% IF ( too_many_items_process ) %]

Too many items ([% too_many_items_process | html %]): You are not allowed to edit more than [% Koha.Preference('MaxItemsToProcessForBatchMod') | html %] items in a batch.

[% ELSIF ( too_many_items_display ) %]

Too many items ([% too_many_items_display | html %]): You are editing more than [% Koha.Preference('MaxItemsToDisplayForBatchMod') | html %] items in a batch, items will not be shown.

[% FOREACH itemnumber IN itemnumbers_array %] [% END %] [% END # /IF too_many_items_process %] [% UNLESS (too_many_items_process) %]

Edit items

Checking the box right next to the subfield label will disable the entry and delete the subfield on all selected items. Leave fields blank to make no change.
    [% FOREACH ite IN item %]
  1. [% SET mv = ite.marc_value %] [% IF ( ite.mandatory ) %]
  2. [% END # /FOREACH ite %]
Other attributes
Job progress:
0%
Cancel
[% ELSE %]

Return to batch item modification

[% END # /UNLESS too_many_items_process %] [% ELSE # IF show %]
[% IF src == 'CATALOGUING' # from catalogue/detail.pl > Edit items in a batch%] [% IF searchid %] Return to the record [% ELSE %] Return to the record [% END %] [% ELSIF src %] Return to where you were [% ELSE %] Return to batch item modification [% END %]
[% END #/IF show %]
[% MACRO jsinclude BLOCK %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] [% Asset.js("js/background-job-progressbar.js") | $raw %] [% Asset.js("js/cataloging.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/pages/batchMod.js") | $raw %] [% INCLUDE 'select2.inc' %] [% IF ( show ) %] [%- # Loop over fields which may have plugin JavaScript -%] [%- UNLESS (too_many_items_process) -%] [%- FOREACH ite IN item -%] [% SET mv = ite.marc_value %] [%- IF ( mv.type == 'text2' ) -%] [% mv.javascript | $raw %] [%- END -%] [%- END -%] [%- END -%] [%- END -%] [% END %] [% INCLUDE 'intranet-bottom.inc' %]