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" -->
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <!-- TMPL_INCLUDE NAME="cat-search.inc"-->
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › Inventory</div>
12 <div id="doc3" class="yui-t2">
17 <h1>Inventory/Stocktaking</h1>
19 <div class="yui-u first">
20 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
21 <fieldset class="rows">
22 <legend>Select items you want to check</legend>
24 <label for="branchloop">Branch</label><select id="branchloop" name="branchcode">
25 <!-- TMPL_LOOP NAME="branchloop" -->
26 <!-- TMPL_IF name="selected" -->
27 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME='branchname' --></option>
29 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME='branchname' --></option>
35 <label for="itemtype">Item type</label>
36 <select name="itemtype" id="itemtype">
37 <option value="">Any</option>
38 <!-- TMPL_LOOP name="itemtypeloop" -->
39 <option value="<!-- TMPL_VAR name="value" -->" <!-- TMPL_IF name="selected" -->selected<!-- /TMPL_IF -->><!-- TMPL_VAR name="description" --></option>
44 <label for="minlocation">Item location between: </label>
45 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber) </li>
46 <li><label for="maxlocation">...and: </label>
47 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
49 <!-- TMPL_IF NAME="authorised_values" -->
51 <label for="locationloop">Item Location (items.location) is</label>
52 <select id="locationloop" name="location">
53 <option value="">Filter location</option>
54 <!-- TMPL_LOOP NAME="authorised_values" -->
55 <!-- TMPL_IF name="selected" -->
56 <option value="<!-- TMPL_VAR NAME='authorised_value' -->" selected="selected"><!-- TMPL_VAR NAME='lib' --></option>
58 <option value="<!-- TMPL_VAR NAME='authorised_value' -->"><!-- TMPL_VAR NAME='lib' --></option>
63 <li><label for="datelastseen">Not seen since:</label>
64 <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
65 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
66 <script type="text/javascript">
69 inputField : "datelastseen",
70 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
71 button : "datelastseen_button"
76 <li><label for="pagesize">Show: </label>
77 <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
78 <li><label for="offset">Beginning at offset: </label>
79 <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
82 <input type="hidden" name="op" value="do_it" />
83 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
88 <form name="barcodefile" method="post" action="/cgi-bin/koha/tools/inventory.pl" enctype="multipart/form-data">
89 <fieldset class="rows">
90 <legend>Use a barcode file</legend>
92 <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
93 <li><label for="setdate">Set date last seen to:</label> <input type="text" id="setdate" name="setdate" />
94 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
95 <script type="text/javascript">
98 inputField : "setdate",
99 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
100 button : "setdate_button"
106 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
110 <!--TMPL_IF Name="Number" --><div class="dialog message"><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></div><!-- /TMPL_IF-->
111 <!--TMPL_IF Name="errorfile" --><div class="dialog alert"><!--TMPL_VAR Name="errorfile"--> can't be opened</div><!-- /TMPL_IF-->
112 <!--TMPL_LOOP Name="errorloop"-->
113 <div class="dialog alert">
114 <!--TMPL_VAR Name="barcode"-->
115 <!--TMPL_IF Name="ERR_BARCODE"-->: barcode not found<!--/TMPL_IF-->
116 <!--TMPL_IF Name="ERR_WTHDRAWN"-->: item withdrawn<!--/TMPL_IF-->
117 <!--TMPL_IF Name="ERR_ONLOAN_RET"-->: item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
118 <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"-->: item was on loan. couldn't be returned.<!--/TMPL_IF-->
121 <!-- TMPL_IF NAME="loop" -->
122 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
123 <input type="hidden" name="markseen" value="1" />
124 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
125 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
126 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
127 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
128 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
129 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
130 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
136 <th>Unseen since</th>
138 <!-- TMPL_LOOP NAME="loop" -->
141 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
144 <!-- TMPL_VAR NAME="barcode" -->
147 <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>
148 <p><!-- TMPL_VAR NAME="author" --></p>
151 <p><!-- TMPL_VAR name="datelastseen" --></p>
156 <input type="submit" value="Mark seen" />
158 <!-- TMPL_IF NAME="offset" -->
159 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
160 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
161 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
162 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
163 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
164 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
165 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
166 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevoffset" -->" />
167 <input type="hidden" name="op" value="do_it" />
168 <input type="submit" value="<<" class="button" />
171 <!-- TMPL_IF NAME="nextoffset" -->
173 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
174 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
175 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
176 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
177 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
178 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
179 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
180 <input type="hidden" name="op" value="do_it" />
181 <input type="submit" value=">>" class="button" />
188 <div class="yui-b noprint">
189 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
192 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->