[% SET footerjs = 1 %] [% INCLUDE 'doc-head-open.inc' %] Koha › Cataloging › Attach an item to [% bibliotitle | html %] [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% BLOCK actions %] [% IF ( BiblioDefaultViewmarc ) %]
[% ELSIF ( BiblioDefaultViewlabeled_marc ) %] [% ELSIF ( BiblioDefaultViewisbd ) %] [% ELSE %] [% END %] [% END %] [% BLOCK fail %]
[% END %] [% IF ( error ) %]
[% IF ( errornonewitem ) %]ERROR: Unable to create the new item.

[% INCLUDE actions %] [% INCLUDE fail %]

[% END %] [% IF ( errornoitem ) %]ERROR: Unable to get the item.

[% INCLUDE actions %] [% INCLUDE fail %]

[% END %]
[% ELSE %] [% IF ( success ) %] [% IF from_biblio.items.count == 0 %]
The record [% from_biblio.title | html %] has [% from_biblio.items.count | html %] attached items.


[% END %]
The item has successfully been attached to [% INCLUDE 'biblio-default-view.inc' %][% bibliotitle | html %].

[% INCLUDE actions %]

[% ELSE %] [% IF ( missingparameter ) %]
[% IF ( missingbiblionumber ) %]
Enter biblionumber:
[% ELSE %] [% END %] [% IF ( missingbarcode ) %]

Attach an item[% IF ( bibliotitle ) %] to [% bibliotitle | html %][% END %]

The item you select will be moved to the target record.

[% ELSE %] [% END %]
[% END %] [% END %] [% END %]
[% MACRO jsinclude BLOCK %] [% END %] [% INCLUDE 'intranet-bottom.inc' %]