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

Batch item modification

[% IF op == 'enqueued' %]

The job has been enqueued! It will be processed as soon as possible.

View detail of the enqueued job | New batch item modification

[% 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 %] [% FOREACH message IN messages %] [% IF message.type == 'success' %]
[% ELSIF message.type == 'warning' %]
[% ELSIF message.type == 'error' %]
[% END %] [% IF message.code == 'cannot_enqueue_job' %] Cannot enqueue this job. [% END %] [% IF message.error %] (The error was: [% message.error | html %], see the Koha log file for more information). [% END %]
[% 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 ( 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 items.size %] [% PROCESS items_table_batchmod headers => item_header_loop, items => items, checkboxes_edit => 1, display_columns_selection => 1 %] [% END %] [% 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:

    [% FOREACH simple_items_displa IN simple_items_display %]
  • [% IF ( CAN_user_editcatalogue_edit_items ) %][% simple_items_displa.barcode | html %][% ELSE %][% simple_items_displa.barcode | html %][% END %]
  • [% END %]
[% 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.
[%# no_plugin from batchMod-edit, jQuery is included at the end of the template and cataloguing plugins are not working in this situation %] [% PROCESS subfields_for_item subfields => subfields, add_regex => 1, add_delete_checkbox => 1, no_plugin => 1 %]
Other attributes
Options
  1. This option allows returning items to remove them from patron accounts
    Items are not marked found nor do statuses prevent this return. This feature is intended to allow removal and deletion of items without affecting fines or other statuses


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 %]
[% MACRO jsinclude BLOCK %] [% Asset.js("lib/jquery/plugins/humanmsg.js") | $raw %] [% Asset.js("js/cataloging.js") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/pages/batchMod.js") | $raw %] [% INCLUDE 'select2.inc' %] [% INCLUDE 'calendar.inc' %] [% IF ( show ) %] [%- # Loop over fields which may have plugin JavaScript -%] [%- UNLESS (too_many_items_process) -%] [%- FOREACH subfield IN subfields -%] [% SET mv = subfield.marc_value %] [%- IF ( mv.type == 'text_plugin' ) -%] [% mv.javascript | $raw %] [%- END -%] [%- END -%] [%- END -%] [%- END -%] [% END %] [% INCLUDE 'intranet-bottom.inc' %]