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.pack.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_UNLESS name="loop" -->
45 <div class="yui-u first">
46 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
47 <fieldset class="rows">
48 <legend>Select items you want to check</legend>
50 <label for="branchloop">Library</label><select id="branchloop" name="branchcode" style="width:12em;">
51 <!-- TMPL_LOOP NAME="branchloop" -->
52 <!-- TMPL_IF name="selected" -->
53 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="branchname" --></option>
55 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="branchname" --></option>
61 <label for="itemtype">Item type</label>
62 <select name="itemtype" id="itemtype" style="width:12em;">
63 <option value="">Any</option>
64 <!-- TMPL_LOOP name="itemtypeloop" -->
65 <!-- TMPL_IF name="selected" -->
66 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME="description" --></option>
68 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME="description" --></option>
74 <label for="minlocation">Item location between: </label>
75 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber) </li>
76 <li><label for="maxlocation">...and: </label>
77 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
79 <!-- TMPL_IF NAME="authorised_values" -->
81 <label for="locationloop">Item Location (items.location) is</label>
82 <select id="locationloop" name="location">
83 <option value="">Filter location</option>
84 <!-- TMPL_LOOP NAME="authorised_values" -->
85 <!-- TMPL_IF name="selected" -->
86 <option value="<!-- TMPL_VAR NAME="authorised_value" -->" selected="selected"><!-- TMPL_VAR NAME="lib" --></option>
88 <option value="<!-- TMPL_VAR NAME="authorised_value" -->"><!-- TMPL_VAR NAME="lib" --></option>
93 <li><label for="datelastseen">Not seen since:</label>
94 <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
95 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
96 <script type="text/javascript">
99 inputField : "datelastseen",
100 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
101 button : "datelastseen_button"
106 <li><label for="pagesize">Show: </label>
107 <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
108 <li><label for="offset">Beginning at offset: </label>
109 <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
112 <input type="hidden" name="op" value="do_it" />
113 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
118 <form name="barcodefile" method="post" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
119 <fieldset class="rows">
120 <legend>Use a barcode file</legend>
122 <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
123 <li><label for="setdate">Set date last seen to:</label> <input type="text" id="setdate" name="setdate" />
124 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
125 <script type="text/javascript">
128 inputField : "setdate",
129 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
130 button : "setdate_button"
136 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
141 <!--TMPL_IF Name="Number" --><div class="dialog message"><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></div><!-- /TMPL_IF-->
142 <!--TMPL_IF Name="errorfile" --><div class="dialog alert"><!--TMPL_VAR Name="errorfile"--> can't be opened</div><!-- /TMPL_IF-->
143 <!--TMPL_LOOP Name="errorloop"-->
144 <div class="dialog alert">
145 <!--TMPL_VAR Name="barcode"-->
146 <!--TMPL_IF Name="ERR_BARCODE"-->: barcode not found<!--/TMPL_IF-->
147 <!--TMPL_IF Name="ERR_WTHDRAWN"-->: item withdrawn<!--/TMPL_IF-->
148 <!--TMPL_IF Name="ERR_ONLOAN_RET"-->: item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
149 <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"-->: item was on loan. couldn't be returned.<!--/TMPL_IF-->
152 <!-- TMPL_IF NAME="loop" -->
153 <form method="post" action="/cgi-bin/koha/tools/inventory.pl" class="checkboxed">
154 <input type="hidden" name="markseen" value="1" />
155 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
156 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
157 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
158 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
159 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
160 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
161 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
162 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
168 <th>Unseen since</th>
170 <!-- TMPL_LOOP NAME="loop" -->
173 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
176 <!-- TMPL_VAR NAME="barcode" -->
179 <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" --></a></p>
180 <p><!-- TMPL_VAR NAME="author" --></p>
183 <p><!-- TMPL_VAR name="datelastseen" --></p>
188 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
189 <input type="submit" id="markseen" value="Mark seen" />
191 <!-- TMPL_IF NAME="offset" -->
192 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
193 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
194 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
195 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
196 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
197 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
198 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
199 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevoffset" -->" />
200 <input type="hidden" name="op" value="do_it" />
201 <input type="submit" value="<< Continue without Marking" class="submit" />
204 <!-- TMPL_IF NAME="nextoffset" -->
206 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
207 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
208 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
209 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
210 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
211 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
212 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
213 <input type="hidden" name="op" value="do_it" />
214 <input type="submit" value="Continue without Marking >>" class="submit" />
222 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
225 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->