[% USE raw %] [% USE Asset %] [% USE Koha %] [% USE Branches %] [% USE KohaDates %] [% USE TablesSettings %] [% INCLUDE 'doc-head-open.inc' %] Items › [% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.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 [% biblio.title | html %] [% IF ( biblio.author ) %] by [% biblio.author | html %][% END %] (Record #[% biblio.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 items %] [% SET date_fields = [ 'dateaccessioned', 'onloan', 'datelastseen', 'datelastborrowed', 'replacementpricedate' ] %]
[% FOREACH item_header IN item_header_loop %] [% END %] [% FOREACH item IN items %] [% SET can_be_edited = ! ( Koha.Preference('IndependentBranches') && ! logged_in_user.is_superlibrarian && item.homebranch != Branches.GetLoggedInBranchname() ) %] [% IF item.itemnumber == itemnumber%] [% UNLESS can_be_edited %] [% ELSE %] [% END %] [% ELSE %] [% UNLESS can_be_edited %] [% ELSE %] [% END %] [% END %] [% UNLESS can_be_edited %] [% ELSE %] [% END %] [% FOREACH header IN item_header_loop %] [% SET attribute = header.attribute %] [% IF header.attribute AND date_fields.grep('^' _ attribute _ '$').size %] [% ELSE %] [% END %] [% END %] [% END %]
  [% item_header.header_value | html %]
 
Actions
[% item.$attribute | $KohaDates %][% item.$attribute | 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 %]
[% PROCESS subfields_for_item subfields => subfields %]
[% IF op != 'add_item' %] [% END %]
[% IF op != 'saveitem' %]
Cancel

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

[% ELSE %] [% IF op != 'add_item' %] [% END %] Cancel [% END %]
[%# Fields for fast cataloging %] [%# End fields for fast cataloging %]
[% INCLUDE 'modals/cataloguing_create_av.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]