1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha › Tools › Inventory</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
5 <script type="text/javascript" src="<!-- TMPL_VAR name="themelang" -->/lib/jquery/plugins/jquery.checkboxes.min.js"></script>
6 <script type="text/javascript">
8 $(document).ready(function(){
9 $(".checkall").click(function(){
10 $(".checkboxed").checkCheckboxes();
13 $(".clearall").click(function(){
14 $(".checkboxed").unCheckCheckboxes();
17 <!-- TMPL_IF NAME="offset" -->$("#markseen").before("<input type=\"submit\" value=\"<< Mark Seen and Continue\" id=\"markback\" />");<!-- /TMPL_IF -->
18 <!-- TMPL_IF NAME="nextoffset" -->$("#markseen").after("<input type=\"submit\" id=\"marknext\" value=\"Mark Seen and Continue >>\" />");<!-- /TMPL_IF -->
19 $("#markback").click(function(){
20 $(".checkboxed").find("input").filter("[name=offset]").attr("value","<!-- TMPL_VAR NAME="prevoffset" -->");
23 $("#marknext").click(function(){
24 $(".checkboxed").find("input").filter("[name=offset]").attr("value","<!-- TMPL_VAR NAME="nextoffset" -->");
32 <!-- TMPL_INCLUDE NAME="header.inc" -->
33 <!-- TMPL_INCLUDE NAME="cat-search.inc"-->
35 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <!-- TMPL_IF NAME="loop" --><a href="/cgi-bin/koha/tools/inventory.pl">Inventory</a> › Results<!-- TMPL_ELSE -->Inventory<!-- /TMPL_IF --></div>
37 <div id="doc3" class="yui-t2">
42 <h1>Inventory/Stocktaking</h1>
43 <!--TMPL_IF Name="Number" --><div class="dialog message"><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></div><!-- /TMPL_IF-->
44 <!--TMPL_IF Name="errorfile" --><div class="dialog alert"><!--TMPL_VAR Name="errorfile"--> can't be opened</div><!-- /TMPL_IF-->
45 <!--TMPL_LOOP Name="errorloop"-->
46 <div class="dialog alert">
47 <!--TMPL_VAR Name="barcode"-->
48 <!--TMPL_IF Name="ERR_BARCODE"-->: barcode not found<!--/TMPL_IF-->
49 <!--TMPL_IF Name="ERR_WTHDRAWN"-->: item withdrawn<!--/TMPL_IF-->
50 <!--TMPL_IF Name="ERR_ONLOAN_RET"-->: item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
51 <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"-->: item was on loan. couldn't be returned.<!--/TMPL_IF-->
54 <!-- TMPL_UNLESS name="loop" -->
56 <form method="post" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
57 <fieldset class="rows">
58 <legend>Use a barcode file</legend>
60 <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
61 <li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="<!-- TMPL_VAR name="today" -->" />
62 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
63 <script type="text/javascript">
66 inputField : "setdate",
67 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
68 button : "setdate_button"
72 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
76 <fieldset class="rows">
77 <legend>Select items you want to check</legend>
79 <label for="branch">Branch</label>
80 <input type="radio" name="branch" value="homebranch">Home Branch</input>
81 <input type="radio" name="branch" value="holdingbranch">Holding Branch</input>
83 <label for="branchloop">Library</label><select id="branchloop" name="branchcode" style="width:12em;">
84 <option value="">All Locations</option>
85 <!-- TMPL_LOOP NAME="branchloop" -->
86 <!-- TMPL_IF name="selected" -->
87 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
89 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
94 <!-- TMPL_IF NAME="authorised_values" -->
96 <label for="locationloop">Item Location (items.location) is</label>
97 <select id="locationloop" name="location">
98 <option value="">Filter location</option>
99 <!-- TMPL_LOOP NAME="authorised_values" -->
100 <!-- TMPL_IF name="selected" -->
101 <option value="<!-- TMPL_VAR NAME="authorised_value" -->" selected="selected"><!-- TMPL_VAR NAME="lib" --></option>
103 <option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
109 <label for="minlocation">Item callnumber between: </label>
110 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber) </li>
111 <li><label for="maxlocation">...and: </label>
112 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
114 <!-- TMPL_IF name="statuses" -->
117 <fieldset class="rows">
118 <legend>Item statuses:</legend>
119 <div name="statuses" style="display: block;">
120 <!-- TMPL_LOOP name="statuses" -->
121 <!-- TMPL_IF name="values" -->
122 <fieldset style="float: left; padding: 5px; margin: 5px;text-align:right">
123 <legend><!-- TMPL_VAR name="fieldname" --></legend>
124 <ul id="statuses-<!-- TMPL_VAR name="fieldname" -->" style="display: inline;">
125 <!-- TMPL_LOOP name="values" -->
126 <!-- TMPL_IF NAME="lib" --><li>
127 <label for="<!-- TMPL_VAR name="id" -->">
128 <!-- TMPL_VAR name="lib" -->
130 <input type="checkbox" name="status-<!-- TMPL_VAR name="fieldname" -->-<!-- TMPL_VAR name="id" -->" id="<!-- TMPL_VAR name="id" -->" />
131 </li><!-- /TMPL_IF -->
139 <fieldset class="rows">
143 <li><label for="datelastseen">Inventory date:</label>
144 <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
145 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
146 <script type="text/javascript">
149 inputField : "datelastseen",
150 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
151 button : "datelastseen_button"
155 <div class="hint"><!-- TMPL_INCLUDE NAME="date-format.inc" --></div>
157 <li><label for="ignoreissued">Skip copies on loan: </label>
158 <!-- TMPL_IF NAME="ignoreissued" -->
159 <input type="checkbox" id="ignoreissued" name="ignoreissued" checked="checked" /></li>
161 <input type="checkbox" id="ignoreissued" name="ignoreissued" /></li>
163 <li><label for="pagesize">Show: </label>
164 <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
165 <li><label for="offset">Beginning at offset: </label>
166 <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
169 <label for="CSVexport">Export to csv file</label>
170 <input type="checkbox" name="CSVexport" id="CSVexport" />
173 <label for="compareinv2barcd">Compare barcodes list to results</label>
174 <input type="checkbox" name="compareinv2barcd" id="compareinv2barcd" />
178 <input type="hidden" name="op" value="do_it" />
179 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
184 <!-- TMPL_IF NAME="loop" -->
185 <form method="post" action="/cgi-bin/koha/tools/inventory.pl" class="checkboxed">
186 <input type="hidden" name="markseen" value="1" />
187 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
188 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
189 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
190 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
191 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
192 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
193 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
194 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
200 <th>Unseen since</th>
203 <!-- TMPL_LOOP NAME="loop" -->
206 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
209 <!-- TMPL_VAR NAME="barcode" -->
212 <p><b><!-- TMPL_VAR NAME="itemcallnumber" --></b> - <a href="#" onclick="window.open('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!--TMPL_VAR Name="biblionumber"-->','marcview','width=800,height=600,toolbar=0,scrollbars=1');"><!-- TMPL_VAR NAME="title" escape="html" --></a></p>
213 <p><!-- TMPL_VAR NAME="author" --></p>
216 <p><!-- TMPL_VAR name="datelastseen" --></p>
219 <!-- TMPL_IF name="notfoundbarcode" -->
220 <p style="background: red;">Not found among barcodes in barcodes file.</p>
221 <!-- TMPL_ELSIF name="notfoundkoha" -->
222 <p style="background: red;">Not found in koha.</p>
224 <p style="background: green;">None</p>
230 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
231 <input type="submit" id="markseen" value="Mark seen" />
233 <!-- TMPL_IF NAME="offset" -->
234 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
235 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
236 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
237 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
238 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
239 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
240 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
241 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
242 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevoffset" -->" />
243 <input type="hidden" name="op" value="do_it" />
244 <input type="submit" value="<< Continue without Marking" class="submit" />
247 <!-- TMPL_IF NAME="nextoffset" -->
249 <input type="hidden" name="branch" value="<!-- TMPL_VAR NAME="branch" -->" />
250 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
251 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
252 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
253 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
254 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
255 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
256 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
257 <input type="hidden" name="op" value="do_it" />
258 <input type="submit" value="Continue without Marking >>" class="submit" />
265 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
268 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->