|
Lines 3-8
Link Here
|
| 3 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
| 4 |
[%- USE Branches -%] |
4 |
[%- USE Branches -%] |
| 5 |
[%- USE Price -%] |
5 |
[%- USE Price -%] |
|
|
6 |
[%- USE ItemTypes -%] |
| 7 |
[%- USE Categories -%] |
| 8 |
[%- USE ColumnsSettings -%] |
| 6 |
[% SET footerjs = 1 %] |
9 |
[% SET footerjs = 1 %] |
| 7 |
[% INCLUDE 'doc-head-open.inc' %] |
10 |
[% INCLUDE 'doc-head-open.inc' %] |
| 8 |
<title>Koha › Circulation › Items overdue as of [% todaysdate | html %]</title> |
11 |
<title>Koha › Circulation › Items overdue as of [% todaysdate | html %]</title> |
|
Lines 51-60
Link Here
|
| 51 |
<tr> |
54 |
<tr> |
| 52 |
<th class="title-string">Due date</th> |
55 |
<th class="title-string">Due date</th> |
| 53 |
<th>Patron</th> |
56 |
<th>Patron</th> |
| 54 |
<th>Library</th> |
57 |
<th>Patron category</th> |
| 55 |
<th>Title</th> |
58 |
<th>Patron library</th> |
|
|
59 |
<th class="anti-the">Title</th> |
| 60 |
<th>Home library</th> |
| 61 |
<th>Holding library</th> |
| 56 |
<th>Barcode</th> |
62 |
<th>Barcode</th> |
| 57 |
<th>Call number</th> |
63 |
<th>Call number</th> |
|
|
64 |
<th>Item type</th> |
| 58 |
<th>Price</th> |
65 |
<th>Price</th> |
| 59 |
<th>Non-public note</th> |
66 |
<th>Non-public note</th> |
| 60 |
</tr> |
67 |
</tr> |
|
Lines 70-79
Link Here
|
| 70 |
[% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email | uri %]?subject=[% INCLUDE subject %] [% overdueloo.title | uri %]">email</a>][% END %] |
77 |
[% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email | uri %]?subject=[% INCLUDE subject %] [% overdueloo.title | uri %]">email</a>][% END %] |
| 71 |
[% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td> |
78 |
[% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td> |
| 72 |
[% END %] |
79 |
[% END %] |
| 73 |
<td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td> |
80 |
<td>[% Categories.GetName( overdueloo.patron.categorycode ) | html %]</td> |
|
|
81 |
<td>[% Branches.GetName( overdueloo.homebranchcode ) | html %]</td> |
| 74 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overdueloo %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td> |
82 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% INCLUDE 'biblio-title.inc' biblio=overdueloo %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td> |
|
|
83 |
<td>[% Branches.GetName( overdueloo.holdingbranchcode ) | html %]</td> |
| 84 |
<td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td> |
| 75 |
<td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | uri %]&itemnumber=[% overdueloo.itemnum | uri %]#item[% overdueloo.itemnum | uri %]">[% overdueloo.barcode | html %]</a></td> |
85 |
<td><a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% overdueloo.biblionumber | uri %]&itemnumber=[% overdueloo.itemnum | uri %]#item[% overdueloo.itemnum | uri %]">[% overdueloo.barcode | html %]</a></td> |
| 76 |
<td>[% overdueloo.itemcallnumber | html %]</td> |
86 |
<td>[% overdueloo.itemcallnumber | html %]</td> |
|
|
87 |
<td>[% ItemTypes.GetDescription( overdueloo.itemtype ) | html %]</td> |
| 77 |
<td>[% overdueloo.replacementprice | $Price %]</td> |
88 |
<td>[% overdueloo.replacementprice | $Price %]</td> |
| 78 |
<td>[% overdueloo.itemnotes_nonpublic | html %]</td> |
89 |
<td>[% overdueloo.itemnotes_nonpublic | html %]</td> |
| 79 |
</tr> |
90 |
</tr> |
|
Lines 213-219
Link Here
|
| 213 |
[% MACRO jsinclude BLOCK %] |
224 |
[% MACRO jsinclude BLOCK %] |
| 214 |
[% INCLUDE 'calendar.inc' %] |
225 |
[% INCLUDE 'calendar.inc' %] |
| 215 |
[% INCLUDE 'datatables.inc' %] |
226 |
[% INCLUDE 'datatables.inc' %] |
| 216 |
<script type="text/javascript"> |
227 |
[% INCLUDE 'columns_settings.inc' %] |
|
|
228 |
<script> |
| 217 |
function clone_parent(node) { |
229 |
function clone_parent(node) { |
| 218 |
var parent = node.parentNode; |
230 |
var parent = node.parentNode; |
| 219 |
var clone = parent.cloneNode(true); |
231 |
var clone = parent.cloneNode(true); |
|
Lines 266-278
Link Here
|
| 266 |
} |
278 |
} |
| 267 |
|
279 |
|
| 268 |
$(document).ready(function(){ |
280 |
$(document).ready(function(){ |
| 269 |
$("#overduest").dataTable($.extend(true, {}, dataTablesDefaults, { |
281 |
|
|
|
282 |
var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %]; |
| 283 |
var od_table = localStorage.getItem("DataTables_overduest_/cgi-bin/koha/circ/overdue.pl"); |
| 284 |
var updated_settings = get_columns_saved_state( od_table, columns_settings ); |
| 285 |
|
| 286 |
KohaTable("overduest", { |
| 270 |
"sPaginationType": "four_button", |
287 |
"sPaginationType": "four_button", |
| 271 |
"aaSorting": [[0, 'asc']], |
288 |
"aaSorting": [[0, 'asc']], |
| 272 |
"aoColumnDefs": [ |
289 |
"aoColumnDefs": [ |
| 273 |
{ "sType": "title-string", "aTargets": [ "title-string" ] } |
290 |
{ "sType": "title-string", "aTargets": [ "title-string" ] }, |
| 274 |
] |
291 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] } |
| 275 |
})); |
292 |
], |
|
|
293 |
"autoWidth": false, |
| 294 |
"stateSave": true |
| 295 |
}, updated_settings); |
| 276 |
}); |
296 |
}); |
| 277 |
</script> |
297 |
</script> |
| 278 |
[% END %] |
298 |
[% END %] |