1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Tools › Batch Modification of Items</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="background-job.inc" -->
5 <style type="text/css">
6 #jobpanel,#jobstatus,#jobfailed { display : none; }
7 #jobstatus { margin:.4em; }
8 #jobprogress{ width:200px;height:10px;border:1px solid #666;background:url('/intranet-tmpl/prog/img/progress.png') -300px 0px no-repeat; }
10 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
11 <script type="text/JavaScript" language="JavaScript">
13 $(document).ready(function() {
14 $("#itemst").tablesorter();
15 $("#selectallbutton").click(function() {
16 $("#itemst").find("input:checkbox").each(function() {
17 $(this).attr("checked", true);
20 $("#clearallbutton").click(function() {
21 $("#itemst").find("input:checkbox").each(function() {
22 $(this).attr("checked", false);
31 <!-- TMPL_INCLUDE NAME="header.inc" -->
32 <!-- TMPL_INCLUDE NAME="cat-search.inc"-->
34 <div id="breadcrumbs">
35 <a href="/cgi-bin/koha/mainpage.pl">Home</a> ›
36 <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> ›
37 <a href="/cgi-bin/koha/tools/batchMod.pl">Modify batches of items</a>
40 <div id="doc3" class="yui-t2">
44 <h1>Batch modification</h1>
45 <!-- TMPL_IF NAME="barcode_not_unique" --><div class="dialog alert"><strong>Error saving item</strong>: Barcode must be unique.</div><!-- /TMPL_IF -->
46 <!-- TMPL_IF NAME="no_next_barcode" --><div class="dialog alert"><strong>Error saving items</strong>: Unable to automatically determine values for barcodes. No item has been inserted.</div><!-- /TMPL_IF -->
47 <!-- TMPL_IF NAME="book_on_loan" --><div class="dialog alert"><strong>Cannot Delete</strong>: item is checked out.</div><!-- /TMPL_IF -->
48 <!-- TMPL_IF NAME="book_reserved" --><div class="dialogalert"><strong>Cannot Delete</strong>: item has a waiting hold.</div><!-- /TMPL_IF -->
50 <!-- TMPL_IF name="notfoundbarcodes" -->
51 <div class="error"><p>Warning, the following barcodes were not found :</p>
59 <!-- TMPL_LOOP name="notfoundbarcodes" -->
60 <tr><td><!-- TMPL_VAR name="barcode" --></td></td>
64 <!-- TMPL_UNLESS name="too_many_items" -->
65 <p>The following barcodes were found : </p>
69 <form name="f" action="batchMod.pl" method="post">
70 <input type="hidden" name="op" value="<!-- TMPL_VAR NAME="op" -->" />
71 <input type="hidden" name="uploadedfileid" id="uploadedfileid" value="" />
72 <input type="hidden" name="runinbackground" id="runinbackground" value="" />
73 <input type="hidden" name="completedJobID" id="completedJobID" value="" />
75 <!-- TMPL_IF name="item_loop" -->
76 <div id="cataloguing_additem_itemlist">
77 <div style="overflow:auto">
78 <div id="toolbar"><a id="selectallbutton" href="#">Select All</a> | <a id="clearallbutton" href="#">Clear All</a></div>
84 <!-- TMPL_LOOP NAME="item_header_loop" -->
85 <th> <!-- TMPL_VAR NAME="header_value" --> </th>
90 <!-- TMPL_LOOP NAME="item_loop" --> <tr> <!-- TMPL_IF Name="nomod"--> <td class="error">Cannot Edit</td><!--TMPL_ELSE--><td><input type="checkbox" name="itemnumber" value="<!--TMPL_VAR Name="itemnumber"-->" id="row<!-- TMPL_VAR NAME="itemnumber" -->" checked="checked" /></td><!--/TMPL_IF-->
91 <td><!-- TMPL_VAR ESCAPE="HTML" NAME="bibinfo" --></td>
92 <!-- TMPL_LOOP NAME="item_value" --> <td><!-- TMPL_VAR ESCAPE="HTML" NAME="field" --></td>
93 <!-- /TMPL_LOOP --> </tr>
101 <!-- TMPL_IF NAME="simple_items_display" -->
102 <p>The following items were modified:</p>
104 <!-- TMPL_LOOP NAME="simple_items_display" -->
106 <a href="/cgi-bin/koha/cataloguing/additem.pl?op=edititem&biblionumber=12<!-- TMPL_VAR NAME="biblionumber" -->&itemnumber=<!-- TMPL_VAR NAME="itemnumber" -->"><!-- TMPL_VAR NAME="barcode" --></a>
112 <!-- TMPL_IF name="show" -->
114 <!-- TMPL_IF name="too_many_items" -->
115 <p>Too many items (<!-- TMPL_VAR NAME="too_many_items" -->): not displaying each one individually.</p>
116 <!-- TMPL_LOOP name="itemnumbers_hashref" -->
117 <input type="hidden" name="itemnumber" value="<!-- TMPL_VAR NAME="itemnumber" -->" />
121 <div id="cataloguing_additem_newitem">
123 <fieldset class="rows">
125 <!-- TMPL_LOOP NAME="item" -->
126 <li><div class="subfield_line" style="<!-- TMPL_VAR NAME='visibility' -->" id="subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->">
127 <label><!-- TMPL_VAR NAME="subfield" --> -
128 <!-- TMPL_IF name="mandatory" --><b><!-- /TMPL_IF -->
129 <!-- TMPL_VAR NAME="marc_lib" -->
130 <!-- TMPL_IF name="mandatory" --> *</b><!-- /TMPL_IF -->
132 <!-- TMPL_VAR NAME="marc_value" -->
133 <input type="hidden" name="tag" value="<!-- TMPL_VAR NAME="tag" -->" />
134 <input type="hidden" name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
135 <input type="hidden" name="mandatory" value="<!-- TMPL_VAR NAME="mandatory" -->" />
136 <!-- TMPL_IF NAME="repeatable" -->
137 <span class="buttonPlus" onclick="CloneSubfield('subfield<!-- TMPL_VAR NAME='tag' --><!-- TMPL_VAR NAME='subfield' --><!-- TMPL_VAR name="random" -->')">+</span>
144 <fieldset class="action">
146 <div id="jobstatus">Job progress: <div id="jobprogress"></div> <span id="jobprogresspercent">0</span>%</div>
147 <div id="jobfailed"></div>
149 <input type="submit" name="mainformsubmit" value="Go" onclick="return submitBackgroundJob(this.form);" />
150 <input type="button" value="Cancel" onclick="javascript:history.back();" />
153 <!-- TMPL_ELSE --> <!-- // ACTION -->
154 <a href="javascript:window.history.back()">Go back</a>
160 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->