[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE ColumnsSettings %] [% INCLUDE 'doc-head-open.inc' %] Koha › Cataloging › [% title | html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber | html %]) › Items [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/datatables.css") | $raw %] [% Asset.css("css/addbiblio.css") | $raw %] [% INCLUDE 'datatables.inc' %] [% Asset.js("js/cataloging.js") | $raw %] [% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'browser-strings.inc' %] [% Asset.js("js/browser.js") | $raw %] [% INCLUDE 'select2.inc' %] [% INCLUDE 'str/cataloging_additem.inc' %] [% Asset.js("js/cataloging_additem.js") | $raw %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cataloging-search.inc' %]
[% INCLUDE 'blocking_errors.inc' %]

Items for [% title | html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber | html %])

[% 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 %] [% IF ( not_same_branch ) %]
Cannot delete: The items do not belong to your library.
[% END %] [% IF ( linked_analytics ) %]
Cannot delete: item has linked analytics..
[% END %]
[% IF ( item_loop ) %]
[% FOREACH item_header IN item_header_loop %] [% IF item_header.column_name %] [% END %] [% FOREACH item_loo IN item_loop %] [% IF ( item_loo.itemnumber == itemnumber) %] [% IF item_loo.nomod %] [% ELSE %] [% END %] [% ELSE %] [% IF item_loo.nomod %] [% ELSE %] [% END %] [% END %] [% IF ( item_loo.nomod ) %] [% ELSE %] [% END %] [% FOREACH item_valu IN item_loo.item_value %] [% END %] [% END %]
  [% ELSE %] [% END %] [% item_header.header_value | html %]
  [% item_valu.field | html %]
[% END %]
[% INCLUDE 'biblio-view-menu.inc' %]
[% IF (popup) %] [% END %] [% IF op != 'saveitem' %]

Add item [% IF (circborrowernumber) %](fast cataloging)[% END %]

[% ELSE %]

Edit Item #[% itemnumber | html %][% IF ( barcode ) %] / Barcode [% barcode | html %][% END %]

[% END %]
    [% FOREACH ite IN item %]
  1. [% IF ( ite.mandatory ) %] [% ELSE %] [% END %] [% SET mv = ite.marc_value %] [% IF ( mv.type == 'hidden' ) %] [% ELSIF ( mv.type == 'select' ) %] [% IF ( mv.readonly ) %] [% END %] [% FOREACH aval IN mv.values %] [% IF aval == mv.default %] [% ELSE %] [% END %] [% END %] [% ELSIF ( mv.type == 'text_auth' ) %] [% IF mv.readonly %] [% ELSE %] [% SET dopop = "Dopop('/cgi-bin/koha/authorities/auth_finder.pl?authtypecode=\"${mv.authtypecode}\"&index=${mv.id}','${mv.id}')" %] ... [% END %] [% ELSIF ( mv.type == 'text_plugin' ) %] [% IF mv.readonly %] [% ELSE %] [% IF ( mv.nopopup ) %] ... [% ELSE %] ... [% END %] [%- mv.javascript | $raw -%] [% END %] [% ELSIF ( mv.type == 'text' ) %] [% IF mv.readonly %] [% ELSE %] [% END %] [% ELSIF ( mv.type == 'textarea' ) %] [% IF mv.readonly %] [% ELSE %] [% END %] [% END %] [% IF ( ite.repeatable ) %] Clone [% END %] [% IF ( ite.mandatory ) %] Required[% END %]
  2. [% END %]
[% IF op != 'saveitem' %]
Cancel

The barcode you enter will be incremented for each additional item.

[% ELSE %] Cancel [% END %]
[%# Fields for fast cataloging %] [%# End fields for fast cataloging %]
[% INCLUDE 'intranet-bottom.inc' %]