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="minlocation">Item location between: </label>
36 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber) </li>
37 <li><label for="maxlocation">...and: </label>
38 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
40 <!-- TMPL_IF NAME="authorised_values" -->
42 <label for="locationloop">Item Location (items.location) is</label>
43 <select id="locationloop" name="location">
44 <option value="">Filter location</option>
45 <!-- TMPL_LOOP NAME="authorised_values" -->
46 <!-- TMPL_IF name="selected" -->
47 <option value="<!-- TMPL_VAR NAME='authorised_value' -->" selected="selected"><!-- TMPL_VAR NAME='lib' --></option>
49 <option value="<!-- TMPL_VAR NAME='authorised_value' -->"><!-- TMPL_VAR NAME='lib' --></option>
54 <li><label for="datelastseen">Not seen since:</label>
55 <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
56 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
57 <script type="text/javascript">
60 inputField : "datelastseen",
61 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
62 button : "datelastseen_button"
67 <li><label for="pagesize">Show: </label>
68 <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
69 <li><label for="offset">Beginning at offset: </label>
70 <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
73 <input type="hidden" name="op" value="do_it" />
74 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
79 <form name="barcodefile" method="post" action="/cgi-bin/koha/tools/inventory.pl">
80 <fieldset class="rows">
81 <legend>Use a barcode file</legend>
83 <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
84 <li><label for="setdate">Set date last seen to:</label> <input type="text" id="setdate" name="setdate" />
85 <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
86 <script type="text/javascript">
89 inputField : "setdate",
90 ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
91 button : "setdate_button"
97 <fieldset class="action"><input type="submit" value="Submit" class="button" /></fieldset>
101 <!--TMPL_IF Name="Number" --><p><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></p><!-- /TMPL_IF-->
102 <!--TMPL_IF Name="errorfile" --><p class="error"><!--TMPL_VAR Name="errorfile"--> can't be opened</p><!-- /TMPL_IF-->
103 <!--TMPL_LOOP Name="errorloop"-->
105 <!--TMPL_VAR Name="barcode"-->
106 <!--TMPL_IF Name="ERR_BARCODE"-->: barcode not found<!--/TMPL_IF-->
107 <!--TMPL_IF Name="ERR_WTHDRAWN"-->: item withdrawn<!--/TMPL_IF-->
108 <!--TMPL_IF Name="ERR_ONLOAN_RET"-->: item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
109 <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"-->: item was on loan. couldn't be returned.<!--/TMPL_IF-->
112 <!-- TMPL_IF NAME="loop" -->
113 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
114 <input type="hidden" name="markseen" value="1" />
115 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
116 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
117 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
118 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
119 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
120 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
121 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
127 <th>Unseen since</th>
129 <!-- TMPL_LOOP NAME="loop" -->
132 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
135 <!-- TMPL_VAR NAME="barcode" -->
138 <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>
139 <p><!-- TMPL_VAR NAME="author" --></p>
142 <p><!-- TMPL_VAR name="datelastseen" --></p>
147 <input type="submit" value="Mark seen" />
149 <!-- TMPL_IF NAME="offset" -->
150 <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
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="prevoffset" -->" />
158 <input type="submit" value="<<<" class="button" />
161 <!-- TMPL_IF NAME="nextoffset" -->
163 <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
164 <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
165 <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
166 <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
167 <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
168 <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
169 <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
170 <input type="submit" value=">>>" class="button" />
178 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
181 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->