Lines 1-4
Link Here
|
1 |
[% USE KohaDates %] |
1 |
[% USE KohaDates %] |
|
|
2 |
[% USE Branches %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
[% INCLUDE 'doc-head-open.inc' %] |
3 |
<title>Koha › Tools › Inventory</title> |
4 |
<title>Koha › Tools › Inventory</title> |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
5 |
[% INCLUDE 'doc-head-close.inc' %] |
Lines 32-41
$(document).ready(function(){
Link Here
|
32 |
inventorydt = $('#inventoryt').dataTable($.extend(true, {}, dataTablesDefaults, { |
33 |
inventorydt = $('#inventoryt').dataTable($.extend(true, {}, dataTablesDefaults, { |
33 |
'sPaginationType': 'full_numbers', |
34 |
'sPaginationType': 'full_numbers', |
34 |
[% IF compareinv2barcd %] |
35 |
[% IF compareinv2barcd %] |
35 |
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 1 ] } ] |
36 |
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 1 ] } ], |
36 |
[% ELSE %] |
37 |
[% ELSE %] |
37 |
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] } ] |
38 |
"aoColumnDefs": [ { "bSortable": false, "aTargets": [ 0 ] } ], |
38 |
[% END %] |
39 |
[% END %] |
|
|
40 |
'fnDrawCallback': function() { |
41 |
//bind the click handler script to the newly created elements held in the table |
42 |
$('.openWin').bind('click',function(e){ |
43 |
e.preventDefault(); |
44 |
openWindow(this.href,'marcview',800,600); |
45 |
}); |
46 |
} |
39 |
} )); |
47 |
} )); |
40 |
|
48 |
|
41 |
|
49 |
|
Lines 78-84
$(document).ready(function(){
Link Here
|
78 |
$(".checkboxed").unCheckCheckboxes(); |
86 |
$(".checkboxed").unCheckCheckboxes(); |
79 |
return false; |
87 |
return false; |
80 |
}); |
88 |
}); |
81 |
}); |
89 |
}); |
82 |
//]]> |
90 |
//]]> |
83 |
</script> |
91 |
</script> |
84 |
</head> |
92 |
</head> |
Lines 249-258
$(document).ready(function(){
Link Here
|
249 |
[% result.barcode | html %] |
257 |
[% result.barcode | html %] |
250 |
</td> |
258 |
</td> |
251 |
<td> |
259 |
<td> |
252 |
[% result.homebranch | html %] [% result.location | html %] [[% result.itemcallnumber | html %]] |
260 |
[% Branches.GetName( result.homebranch ) %] |
|
|
261 |
[% result.location | html %] [% IF ( result.itemcallnumber ) %][[% result.itemcallnumber | html %]][% ELSE %][% END %] |
253 |
</td> |
262 |
</td> |
254 |
<td> |
263 |
<td> |
255 |
<p><a href="#" onclick="window.open('/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% result.biblionumber %]','marcview','width=800,height=600,toolbar=0,scrollbars=1');">[% result.title | html %]</a></p><p>[% result.author | html %]</p> |
264 |
<p><a href="/cgi-bin/koha/catalogue/MARCdetail.pl?biblionumber=[% result.biblionumber %]" class="openWin">[% result.title | html %]</a></p><p>[% result.author | html %]</p> |
256 |
</td> |
265 |
</td> |
257 |
<td> |
266 |
<td> |
258 |
[% result.notforloan | html %] |
267 |
[% result.notforloan | html %] |
259 |
- |
|
|