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">Branch</label><select id="branchloop" name="branchcode">
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">
63 <option value="">Any</option>
64 <!-- TMPL_LOOP name="itemtypeloop" -->
65 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="description" --></option>
70 <label for="minlocation">Item location between: </label>
71 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber) </li>
72 <li><label for="maxlocation">...and: </label>
73 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
75 <!-- TMPL_IF NAME="authorised_values" -->
77 <label for="locationloop">Item Location (items.location) is</label>
78 <select id="locationloop" name="location">
79 <option value="">Filter location</option>
80 <!-- TMPL_LOOP NAME="authorised_values" -->
81 <!-- TMPL_IF name="selected" -->
82 <option value="<!-- TMPL_VAR NAME='authorised_value' -->" selected="selected"><!-- TMPL_VAR NAME='lib' --></option>
84 <option value="<!-- TMPL_VAR NAME='authorised_value' -->"><!-- TMPL_VAR NAME='lib' --></option>
89 <li><label for="datelastseen">Not seen since:</label>
90 <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
91 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
92 <script type="text/javascript">
95 inputField : "datelastseen",
96 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
97 button : "datelastseen_button"
102 <li><label for="pagesize">Show: </label>
103 <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
104 <li><label for="offset">Beginning at offset: </label>
105 <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
108 <input type="hidden" name="op" value="do_it" />
109 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
114 <form name="barcodefile" method="post" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
115 <fieldset class="rows">
116 <legend>Use a barcode file</legend>
118 <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
119 <li><label for="setdate">Set date last seen to:</label> <input type="text" id="setdate" name="setdate" />
120 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
121 <script type="text/javascript">
124 inputField : "setdate",
125 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
126 button : "setdate_button"
132 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
137 <!--TMPL_IF Name="Number" --><div class="dialog message"><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></div><!-- /TMPL_IF-->
138 <!--TMPL_IF Name="errorfile" --><div class="dialog alert"><!--TMPL_VAR Name="errorfile"--> can't be opened</div><!-- /TMPL_IF-->
139 <!--TMPL_LOOP Name="errorloop"-->
140 <div class="dialog alert">
141 <!--TMPL_VAR Name="barcode"-->
142 <!--TMPL_IF Name="ERR_BARCODE"-->: barcode not found<!--/TMPL_IF-->
143 <!--TMPL_IF Name="ERR_WTHDRAWN"-->: item withdrawn<!--/TMPL_IF-->
144 <!--TMPL_IF Name="ERR_ONLOAN_RET"-->: item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
145 <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"-->: item was on loan. couldn't be returned.<!--/TMPL_IF-->
148 <!-- TMPL_IF NAME="loop" -->
149 <form method="post" action="/cgi-bin/koha/tools/inventory.pl" class="checkboxed">
150 <input type="hidden" name="markseen" value="1" />
151 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
152 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
153 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
154 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
155 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
156 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
157 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
158 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
164 <th>Unseen since</th>
166 <!-- TMPL_LOOP NAME="loop" -->
169 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
172 <!-- TMPL_VAR NAME="barcode" -->
175 <p><b><!-- TMPL_VAR NAME="itemcallnumber" --></b> - <a href=# onclick="window.open('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=<!--TMPL_VAR Name="biblionumber"-->','Catalogue -- Biblio <!--TMPL_VAR Name="biblionumber"-->','width=800,height=600,toolbar=false');"><!-- TMPL_VAR NAME="title" --></a></p>
176 <p><!-- TMPL_VAR NAME="author" --></p>
179 <p><!-- TMPL_VAR name="datelastseen" --></p>
184 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
185 <input type="submit" id="markseen" value="Mark seen" />
187 <!-- TMPL_IF NAME="offset" -->
188 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
189 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
190 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
191 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
192 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
193 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
194 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
195 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevoffset" -->" />
196 <input type="hidden" name="op" value="do_it" />
197 <input type="submit" value="<< Continue without Marking" class="submit" />
200 <!-- TMPL_IF NAME="nextoffset" -->
202 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
203 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
204 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
205 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
206 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
207 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
208 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
209 <input type="hidden" name="op" value="do_it" />
210 <input type="submit" value="Continue without Marking >>" class="submit" />
217 <div class="yui-b noprint">
218 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
221 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->