Lines 1-3
Link Here
|
|
|
1 |
[% USE KohaDates %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>Koha › Tools › Inventory</title> |
3 |
<title>Koha › Tools › Inventory</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 16-23
$(document).ready(function(){
Link Here
|
16 |
} )); |
17 |
} )); |
17 |
|
18 |
|
18 |
|
19 |
|
19 |
$("#continuewithoutmarkingbutton").click(function(){ |
20 |
$("#continuewithoutmarkingbutton").click(function(){ |
20 |
inventorydt.fnPageChange( 'next' ); |
21 |
inventorydt.fnPageChange( 'next' ); |
21 |
return false; |
22 |
return false; |
22 |
}); |
23 |
}); |
23 |
|
24 |
|
Lines 82-88
$(document).ready(function(){
Link Here
|
82 |
<div id="yui-main"> |
83 |
<div id="yui-main"> |
83 |
<div class="yui-b"> |
84 |
<div class="yui-b"> |
84 |
<h1>Inventory/Stocktaking</h1> |
85 |
<h1>Inventory/Stocktaking</h1> |
85 |
[% IF (moddatecount) %]<div class="dialog message">[% moddatecount %] items modified : datelastseen set to [% date %]</div>[% END %] |
86 |
[% IF (moddatecount) %]<div class="dialog message">[% moddatecount %] items modified : datelastseen set to [% date | $KohaDates %]</div>[% END %] |
86 |
[% IF (errorfile) %]<div class="dialog alert">[% errorfile %] can't be opened</div>[% END %] |
87 |
[% IF (errorfile) %]<div class="dialog alert">[% errorfile %] can't be opened</div>[% END %] |
87 |
[% FOREACH error IN errorloop %] |
88 |
[% FOREACH error IN errorloop %] |
88 |
<div class="dialog alert"> |
89 |
<div class="dialog alert"> |
Lines 100-106
$(document).ready(function(){
Link Here
|
100 |
<legend>Use a barcode file</legend> |
101 |
<legend>Use a barcode file</legend> |
101 |
<ol> |
102 |
<ol> |
102 |
<li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li> |
103 |
<li><label for="uploadbarcodes">Barcode file: </label> <input type="file" id="uploadbarcodes" name="uploadbarcodes" /></li> |
103 |
<li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today %]" class="datepickerfrom" /> |
104 |
<li><label for="setdate">Set inventory date to:</label> <input type="text" id="setdate" name="setdate" value="[% today | $KohaDates %]" class="datepickerfrom" /> |
104 |
</li> |
105 |
</li> |
105 |
</ol> |
106 |
</ol> |
106 |
</fieldset> |
107 |
</fieldset> |
Lines 109-118
$(document).ready(function(){
Link Here
|
109 |
<ol><li> |
110 |
<ol><li> |
110 |
<label for="branch">Library: </label> |
111 |
<label for="branch">Library: </label> |
111 |
<input type="radio" name="branch" value="homebranch"> Home library</input> |
112 |
<input type="radio" name="branch" value="homebranch"> Home library</input> |
112 |
<input type="radio" name="branch" value="holdingbranch"> Current location</input> |
113 |
<input type="radio" name="branch" value="holdingbranch"> Current library</input> |
113 |
</li><li> |
114 |
</li><li> |
114 |
<label for="branchloop">Library: </label><select id="branchloop" name="branchcode" style="width:12em;"> |
115 |
<label for="branchloop">Library: </label><select id="branchloop" name="branchcode" style="width:12em;"> |
115 |
<option value="">All locations</option> |
116 |
<option value="">All libraries</option> |
116 |
[% FOREACH branchloo IN branchloop %] |
117 |
[% FOREACH branchloo IN branchloop %] |
117 |
[% IF ( branchloo.selected ) %] |
118 |
[% IF ( branchloo.selected ) %] |
118 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
119 |
<option value="[% branchloo.value %]" selected="selected">[% branchloo.branchname %]</option> |
Lines 172-178
$(document).ready(function(){
Link Here
|
172 |
[% END %] |
173 |
[% END %] |
173 |
|
174 |
|
174 |
<li><label for="datelastseen">Inventory date:</label> |
175 |
<li><label for="datelastseen">Inventory date:</label> |
175 |
<input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen %]" class="datepickerfrom" /> |
176 |
<input type="text" id="datelastseen" name="datelastseen" value="[% datelastseen | $KohaDates %]" class="datepickerfrom" /> |
176 |
</li> |
177 |
</li> |
177 |
<li><label for="ignoreissued">Skip copies on loan: </label> |
178 |
<li><label for="ignoreissued">Skip copies on loan: </label> |
178 |
[% IF (ignoreissued) %] |
179 |
[% IF (ignoreissued) %] |
Lines 206-218
$(document).ready(function(){
Link Here
|
206 |
<input type="hidden" name="datelastseen" value="[% datelastseen %]" /> |
207 |
<input type="hidden" name="datelastseen" value="[% datelastseen %]" /> |
207 |
<input type="hidden" name="pagesize" value="[% pagesize %]" /> |
208 |
<input type="hidden" name="pagesize" value="[% pagesize %]" /> |
208 |
<input type="hidden" name="offset" value="[% offset %]" /> |
209 |
<input type="hidden" name="offset" value="[% offset %]" /> |
209 |
<div><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div> |
210 |
<div><a href="#" class="checkall">[Select all]</a> <a href="#" class="clearall">[Clear all]</a></div> |
210 |
<table id="inventoryt"> |
211 |
<table id="inventoryt"> |
211 |
<thead> |
212 |
<thead> |
212 |
<tr> |
213 |
<tr> |
213 |
<th>Seen</th> |
214 |
<th>Seen</th> |
214 |
<th>Barcode</th> |
215 |
<th>Barcode</th> |
215 |
<th>Location</th> |
216 |
<th>Library</th> |
216 |
<th>Title</th> |
217 |
<th>Title</th> |
217 |
<th>Status</th> |
218 |
<th>Status</th> |
218 |
<th>Lost</th> |
219 |
<th>Lost</th> |
Lines 246-252
$(document).ready(function(){
Link Here
|
246 |
[% result.damaged | html %] |
247 |
[% result.damaged | html %] |
247 |
</td> |
248 |
</td> |
248 |
<td> |
249 |
<td> |
249 |
[% result.datelastseen | html %] |
250 |
[% result.datelastseen | html | $KohaDates%] |
250 |
</td> |
251 |
</td> |
251 |
<td> |
252 |
<td> |
252 |
[% IF (result.wrongplace) %]<p>Item should not have been scanned</p>[% ELSIF (result.missingitem) %]<p>Item missing</p>[% ELSIF (result.changestatus) %]<p>Change item status</p>[% END %] |
253 |
[% IF (result.wrongplace) %]<p>Item should not have been scanned</p>[% ELSIF (result.missingitem) %]<p>Item missing</p>[% ELSIF (result.changestatus) %]<p>Change item status</p>[% END %] |
Lines 257-263
$(document).ready(function(){
Link Here
|
257 |
</table> |
258 |
</table> |
258 |
<div class="spacer"></div> |
259 |
<div class="spacer"></div> |
259 |
<p style="display:block;"><span class="exportSelected"></span></p> |
260 |
<p style="display:block;"><span class="exportSelected"></span></p> |
260 |
<div style="padding : .3em 0"><a href="#" class="checkall">[Select All]</a> <a href="#" class="clearall">[Clear All]</a></div> |
261 |
<div style="padding : .3em 0"><a href="#" class="checkall">[Select all]</a> <a href="#" class="clearall">[Clear all]</a></div> |
261 |
<input type="submit" id="markseenandquit" value="Mark seen and quit" /> |
262 |
<input type="submit" id="markseenandquit" value="Mark seen and quit" /> |
262 |
<input type="submit" value="Mark Seen and Continue >>" id="markseenandcontinuebutton" /> |
263 |
<input type="submit" value="Mark Seen and Continue >>" id="markseenandcontinuebutton" /> |
263 |
<input type="submit" value="Continue without Marking >>" id="continuewithoutmarkingbutton" class="submit" /> |
264 |
<input type="submit" value="Continue without Marking >>" id="continuewithoutmarkingbutton" class="submit" /> |