[% INCLUDE 'doc-head-open.inc' %] Koha › Tools › Rotating collections › Collection [% colTitle %] ’ Add or remove items [% INCLUDE 'doc-head-close.inc' %] [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %]
[% IF ( ! colId ) %]

Invalid collection id

Return to rotating collections home

[% ELSE %] [% INCLUDE 'rotating-collections-toolbar.inc' %]

Collection [% colTitle %]

[% IF ( previousActionAdd ) %] [% IF ( addSuccess ) %]
Item with barcode '[% barcode %]' added successfully
[% ELSE %]

Failed to add item with barcode [% barcode %]:

[% IF failureMessage == "NO_ITEM" %] No item with matching barcode found [% ELSIF failureMessage == "IN_COLLECTION_OTHER" %] Item is already in a different rotating collection [% ELSIF failureMessage == "IN_COLLECTION" %] Item is already in this collection [% ELSE %] [% failureMessage %] [% END %]

[% END %] [% END %] [% IF ( previousActionRemove ) %] [% IF ( removeSuccess ) %]
Item with barcode [% barcode %] removed successfully
[% ELSE %]
Failed to remove item with barcode [% barcode %]:

[% IF failureMessage == "NO_ITEM" %] No item with matching barcode found [% ELSIF failureMessage == "NOT_IN_COLLECTION" %] Item is not in this collection [% ELSE %] [% failureMessage %] [% END %]

[% END %] [% END %]
Add or remove items
  1. [% IF ( removeChecked ) %] [% ELSE %] [% END %]

Items in [% colTitle %]

[% IF ( collectionItemsLoop ) %] [% FOREACH collectionItemsLoo IN collectionItemsLoop %] [% END %]
Title Call number Barcode  
[% INCLUDE 'biblio-default-view.inc' biblionumber = collectionItemsLoo.biblionumber %][% collectionItemsLoo.title |html %] [% collectionItemsLoo.itemcallnumber %] [% collectionItemsLoo.barcode %] Remove
[% ELSE %]
There are no items in this collection.
[% END %]
[% END %]
[% INCLUDE 'tools-menu.inc' %]
[% INCLUDE 'intranet-bottom.inc' %]