1 [% INCLUDE 'doc-head-open.inc' %]
2 <title>Koha › Tools › Rotating collections › Add/Remove items</title>
3 [% INCLUDE 'doc-head-close.inc' %]
4 <script type="text/javascript">
6 $( document ).ready(function() {
13 [% INCLUDE 'header.inc' %]
14 [% INCLUDE 'cat-search.inc' %]
16 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="/cgi-bin/koha/rotating_collections/rotatingCollections.pl">Rotating collections</a> › Add/Remove items</div>
22 <h1>Rotating collections: Add/Remove items</h1>
26 [% IF ( previousActionAdd ) %]
27 [% IF ( addSuccess ) %]
28 <div>Item with barcode '[% addedBarcode %]' Added successfully!</div>
30 <div>Failed to add item with barcode '[% addedBarcode %]'!</div>
31 <div>Reason: <strong>[% failureMessage %]</strong></div>
35 [% IF ( previousActionRemove ) %]
36 [% IF ( removeSuccess ) %]
37 <div>Item with barcode '[% addedBarcode %]' Removed successfully!</div>
39 <div>Failed to remove item with barcode '[% removedBarcode %]'!</div>
40 <div>Reason: <strong>[% failureMessage %]</strong></div>
44 <h3>Add item to <i>[% colTitle %]</i></h3>
48 <form action="addItems.pl" method="post">
51 <th><label for="barcode">Barcode: </label></td>
52 <td><input type="text" id="barcode" name="barcode" /></td>
54 [% IF ( removeChecked ) %]<input type="checkbox" name="removeItem" checked="checked" />
55 [% ELSE %]<input type="checkbox" name="removeItem" />[% END %]
56 <label for="removeItem">Remove item from collection</label>
60 <input type="hidden" id="colId" name="colId" value="[% colId %]" />
61 <input type="hidden" name="action" value="addItem" />
62 <tr><td align="right" colspan="99"><input type="submit" value="Submit" /></td></tr>
68 <h2>Items in this collection</h2>
69 [% IF ( collectionItemsLoop ) %]
76 [% FOREACH collectionItemsLoo IN collectionItemsLoop %]
78 <td>[% collectionItemsLoo.title |html %]</td>
79 <td>[% collectionItemsLoo.itemcallnumber %]</td>
80 <td>[% collectionItemsLoo.barcode %]</td>
85 There are no items in this collection.
91 <input type="button" value="Return to rotating collections home" onclick="window.location.href='rotatingCollections.pl'">
96 [% INCLUDE 'intranet-bottom.inc' %]