[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE KohaDates %] [% USE TablesSettings %] [% INCLUDE 'doc-head-open.inc' %] Items › [% title | html %] [% IF ( author ) %] by [% author | html %][% END %] (Record #[% biblionumber | html %]) › Cataloging › Koha [% INCLUDE 'doc-head-close.inc' %] [% Asset.css("css/addbiblio.css") | $raw %] [% INCLUDE 'datatables.inc' %] [% INCLUDE 'select2.inc' %] [% Asset.js("js/cataloging.js") | $raw %] [% INCLUDE 'columns_settings.inc' %] [% Asset.js("js/browser.js") | $raw %] [% INCLUDE 'calendar.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 last_item_for_hold %]
Cannot delete: Last item for bibliographic record with biblio-level hold on it.
[% END %]
[% IF ( item_loop ) %] [% SET date_fields = [ 'dateaccessioned', 'onloan', 'datelastseen', 'datelastborrowed', 'replacementpricedate' ] %]
[% 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 %] [% IF item_valu.datatype == 'date' %] [% ELSE %] [% END %] [% END %] [% END %]
  [% ELSE %] [% END %] [% item_header.header_value | html %]
 
Actions
[% item_valu.field | $KohaDates %][% 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 || ite.IS_RETURN_CLAIM ) %] [% END %] [% FOREACH aval IN mv.values %] [% IF aval == mv.default %] [% ELSE %] [% IF ite.IS_LOST_AV && Koha.Preference("ClaimReturnedLostValue") && aval == Koha.Preference("ClaimReturnedLostValue") %] [% ELSE %] [% END %] [% 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 [% ELSIF ( ite.important ) %] Important [% 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 'modals/cataloguing_create_av.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]