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();
22 <!-- TMPL_INCLUDE NAME="header.inc" -->
23 <!-- TMPL_INCLUDE NAME="cat-search.inc"-->
25 <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>
27 <div id="doc3" class="yui-t2">
32 <h1>Inventory/Stocktaking</h1>
33 <!-- TMPL_UNLESS name="loop" -->
35 <div class="yui-u first">
36 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
37 <fieldset class="rows">
38 <legend>Select items you want to check</legend>
40 <label for="branchloop">Branch</label><select id="branchloop" name="branchcode">
41 <!-- TMPL_LOOP NAME="branchloop" -->
42 <!-- TMPL_IF name="selected" -->
43 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME='branchname' --></option>
45 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME='branchname' --></option>
51 <label for="itemtype">Item type</label>
52 <select name="itemtype" id="itemtype">
53 <option value="">Any</option>
54 <!-- TMPL_LOOP name="itemtypeloop" -->
55 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="description" --></option>
60 <label for="minlocation">Item location between: </label>
61 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber) </li>
62 <li><label for="maxlocation">...and: </label>
63 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
65 <!-- TMPL_IF NAME="authorised_values" -->
67 <label for="locationloop">Item Location (items.location) is</label>
68 <select id="locationloop" name="location">
69 <option value="">Filter location</option>
70 <!-- TMPL_LOOP NAME="authorised_values" -->
71 <!-- TMPL_IF name="selected" -->
72 <option value="<!-- TMPL_VAR NAME='authorised_value' -->" selected="selected"><!-- TMPL_VAR NAME='lib' --></option>
74 <option value="<!-- TMPL_VAR NAME='authorised_value' -->"><!-- TMPL_VAR NAME='lib' --></option>
79 <li><label for="datelastseen">Not seen since:</label>
80 <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
81 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
82 <script type="text/javascript">
85 inputField : "datelastseen",
86 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
87 button : "datelastseen_button"
92 <li><label for="pagesize">Show: </label>
93 <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
94 <li><label for="offset">Beginning at offset: </label>
95 <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
98 <input type="hidden" name="op" value="do_it" />
99 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
104 <form name="barcodefile" method="post" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
105 <fieldset class="rows">
106 <legend>Use a barcode file</legend>
108 <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
109 <li><label for="setdate">Set date last seen to:</label> <input type="text" id="setdate" name="setdate" />
110 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
111 <script type="text/javascript">
114 inputField : "setdate",
115 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
116 button : "setdate_button"
122 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
127 <!--TMPL_IF Name="Number" --><div class="dialog message"><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></div><!-- /TMPL_IF-->
128 <!--TMPL_IF Name="errorfile" --><div class="dialog alert"><!--TMPL_VAR Name="errorfile"--> can't be opened</div><!-- /TMPL_IF-->
129 <!--TMPL_LOOP Name="errorloop"-->
130 <div class="dialog alert">
131 <!--TMPL_VAR Name="barcode"-->
132 <!--TMPL_IF Name="ERR_BARCODE"-->: barcode not found<!--/TMPL_IF-->
133 <!--TMPL_IF Name="ERR_WTHDRAWN"-->: item withdrawn<!--/TMPL_IF-->
134 <!--TMPL_IF Name="ERR_ONLOAN_RET"-->: item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
135 <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"-->: item was on loan. couldn't be returned.<!--/TMPL_IF-->
138 <!-- TMPL_IF NAME="loop" -->
139 <form method="post" action="/cgi-bin/koha/tools/inventory.pl" class="checkboxed">
140 <input type="hidden" name="markseen" value="1" />
141 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
142 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
143 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
144 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
145 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
146 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
147 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
148 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
154 <th>Unseen since</th>
156 <!-- TMPL_LOOP NAME="loop" -->
159 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
162 <!-- TMPL_VAR NAME="barcode" -->
165 <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>
166 <p><!-- TMPL_VAR NAME="author" --></p>
169 <p><!-- TMPL_VAR name="datelastseen" --></p>
174 <div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div>
175 <input type="submit" value="Mark seen" />
177 <!-- TMPL_IF NAME="offset" -->
178 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
179 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
180 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
181 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
182 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
183 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
184 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
185 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevoffset" -->" />
186 <input type="hidden" name="op" value="do_it" />
187 <input type="submit" value="<< Continue without Marking" class="submit" />
190 <!-- TMPL_IF NAME="nextoffset" -->
192 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
193 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
194 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
195 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
196 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
197 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
198 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
199 <input type="hidden" name="op" value="do_it" />
200 <input type="submit" value="Continue without Marking >>" class="submit" />
207 <div class="yui-b noprint">
208 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
211 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->