Fixing breadcrumb links on Scheduler page
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / tools / inventory.tmpl
1 <!-- TMPL_INCLUDE NAME="doc-head-open.inc" -->
2 <title>Koha &rsaquo; Tools &rsaquo; Inventory</title>
3 <!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
4 <!-- TMPL_INCLUDE NAME="calendar.inc" -->
5 </head>
6 <body>
7 <!-- TMPL_INCLUDE NAME="header.inc" -->
8 <!-- TMPL_INCLUDE NAME="cat-search.inc"-->
9
10 <div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/reports/tools-home.pl">Tools</a> &rsaquo; Inventory</div>
11
12 <div id="doc3" class="yui-t2">
13    
14    <div id="bd">
15         <div id="yui-main">
16         <div class="yui-b">
17
18     <h1>Inventory/Stocktaking</h1>
19     <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
20         <fieldset class="rows">
21         <legend>Select items you want to check</legend>
22         <ol><li>
23         <label for="branchloop">Branch</label><select id="branchloop" name="branchcode">
24         <!-- TMPL_LOOP NAME="branchloop" -->
25             <!-- TMPL_IF name="selected" -->
26                 <option value="<!-- TMPL_VAR NAME="value" -->" selected="selected"><!-- TMPL_VAR NAME='branchname' --></option>
27             <!-- TMPL_ELSE -->
28                 <option value="<!-- TMPL_VAR NAME="value" -->"><!-- TMPL_VAR NAME='branchname' --></option>
29             <!-- /TMPL_IF -->
30         <!-- /TMPL_LOOP -->
31         </select>
32         </li>
33         <li>
34             <label for="minlocation">Item location between: </label> 
35                 <input type="text" name="minlocation" id="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" /> (items.itemcallnumber)  </li>
36            <li><label for="maxlocation">...and: </label> 
37                 <input type="text" name="maxlocation" id="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
38         </li>
39         <!-- TMPL_IF NAME="authorised_values" -->
40         <li>
41             <label for="locationloop">Item Location (items.location) is</label> 
42         <select id="locationloop" name="location">
43                 <option value="">Filter location</option>
44         <!-- TMPL_LOOP NAME="authorised_values" -->
45             <!-- TMPL_IF name="selected" -->
46                 <option value="<!-- TMPL_VAR NAME='authorised_value' -->" selected="selected"><!-- TMPL_VAR NAME='lib' --></option>
47             <!-- TMPL_ELSE -->
48                 <option value="<!-- TMPL_VAR NAME='authorised_value' -->"><!-- TMPL_VAR NAME='lib' --></option>
49             <!-- /TMPL_IF -->
50         <!-- /TMPL_LOOP -->
51         </select>        </li>
52         <!-- /TMPL_IF -->
53         <li><label for="datelastseen">Not seen since:</label>
54             <input type="text" id="datelastseen" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
55             <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="datelastseen_button" alt="Show Calendar" />
56             <script type="text/javascript">
57             Calendar.setup(
58             {
59             inputField : "datelastseen",
60             ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
61             button : "datelastseen_button"
62             }
63             );
64             </script>
65         </li>
66         <li><label for="pagesize">Show: </label>
67             <input type="text" id="pagesize" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" maxlength="5" size="5" /> items</li>
68           <li><label for="offset">Beginning at offset: </label>
69             <input type="text" id="offset" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" size="5" maxlength="5" />
70         </li></ol>
71   </fieldset>
72             <input type="hidden" name="op" value="do_it" />
73             <input type="submit" value="Submit" class="button" />
74     </form>
75     <form name="barcodefile" method="post" action="/cgi-bin/koha/tools/inventory.pl">
76         <fieldset class="rows">
77             <legend>Use a barcode file</legend>
78                         <ol>
79             <li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li>
80             <li><label for="setdate">Set date last seen to :</label> <input type="text" id="setdate" name="setdate" />
81              <img src="<!-- TMPL_VAR Name="themelang" -->/lib/calendar/cal.gif" id="setdate_button" alt="Show Calendar" />
82             <script type="text/javascript">
83             Calendar.setup(
84             {
85             inputField : "setdate",
86             ifFormat : "<!-- TMPL_VAR NAME="DHTMLcalendar_dateformat" -->",
87             button : "setdate_button"
88             }
89             );
90             </script>
91 </li></ol>
92         </fieldset>
93             <p><input type="submit" value="Submit" class="button" /></p>
94     </form>
95     <!--TMPL_IF Name="Number" --><p><!--TMPL_VAR Name="Number"--> items modified : datelastseen set to <!--TMPL_VAR Name="date"--></p><!-- /TMPL_IF-->
96     <!--TMPL_IF Name="errorfile" --><p class="error"><!--TMPL_VAR Name="errorfile"--> can't be opened</p><!-- /TMPL_IF-->
97     <!--TMPL_LOOP Name="errorloop"-->
98         <p class="error">
99             <!--TMPL_VAR Name="barcode"-->
100             <!--TMPL_IF Name="ERR_BARCODE"--> : barcode not found<!--/TMPL_IF-->
101             <!--TMPL_IF Name="ERR_WTHDRAWN"--> : item withdrawn<!--/TMPL_IF-->
102             <!--TMPL_IF Name="ERR_ONLOAN_RET"--> : item was on loan. It was returned before marked as seen<!--/TMPL_IF-->
103             <!--TMPL_IF Name="ERR_ONLOAN_NOT_RET"--> : item was on loan. couldn't be returned.<!--/TMPL_IF-->
104         </p>
105     <!-- /TMPL_LOOP-->
106     <!-- TMPL_IF NAME="loop" -->
107     <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
108     <input type="hidden" name="markseen" value="1" />
109     <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
110     <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
111     <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
112     <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
113     <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
114     <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
115     <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="offset" -->" />
116     <table>
117         <tr>
118             <th>Seen</th>
119             <th>Barcode</th>
120             <th>Title</th>
121             <th>Unseen since</th>
122         </tr>
123     <!-- TMPL_LOOP NAME="loop" -->
124         <tr>
125             <td>
126                 <input type="checkbox" name="SEEN-<!-- TMPL_VAR NAME="itemnumber" -->" value="1" />
127             </td>
128             <td>
129                 <!-- TMPL_VAR NAME="barcode" -->
130             </td>
131             <td>
132                 <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>
133                 <p><!-- TMPL_VAR NAME="author" --></p>
134             </td>
135             <td>
136                 <p><!-- TMPL_VAR name="datelastseen" --></p>
137             </td>
138         </tr>
139     <!-- /TMPL_LOOP -->
140     </table>
141     <input type="submit" value="Mark seen" />
142     </form>
143     <!-- TMPL_IF NAME="offset" -->
144     <form method="post" action="/cgi-bin/koha/tools/inventory.pl">
145         <input type="hidden" name="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
146         <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
147         <input type="hidden" name="location" value="<!-- TMPL_VAR NAME="location" -->" />
148         <input type="hidden" name="branchcode" value="<!-- TMPL_VAR NAME="branchcode" -->" />
149         <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
150         <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
151         <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="prevoffset" -->" />
152         <input type="submit" value="&lt;&lt;&lt;" class="button" />
153     </form>
154     <!-- /TMPL_IF -->
155     <!-- TMPL_IF NAME="nextoffset" -->
156     <form method="post">
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="minlocation" value="<!-- TMPL_VAR NAME="minlocation" -->" />
160         <input type="hidden" name="maxlocation" value="<!-- TMPL_VAR NAME="maxlocation" -->" />
161         <input type="hidden" name="datelastseen" value="<!-- TMPL_VAR NAME="datelastseen" -->" />
162         <input type="hidden" name="pagesize" value="<!-- TMPL_VAR NAME="pagesize" -->" />
163         <input type="hidden" name="offset" value="<!-- TMPL_VAR NAME="nextoffset" -->" />
164         <input type="submit" value="&gt;&gt;&gt;" class="button" />
165     </form>
166     <!-- /TMPL_IF -->
167     <!-- /TMPL_IF -->
168
169 </div>
170 </div>
171 <div class="yui-b">
172 <!-- TMPL_INCLUDE NAME="tools-menu.inc" -->
173 </div>
174 </div>
175 <!-- TMPL_INCLUDE NAME="intranet-bottom.inc" -->