|
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 49-58
Link Here
|
| 49 |
<tr> |
52 |
<tr> |
| 50 |
<th class="title-string">Due date</th> |
53 |
<th class="title-string">Due date</th> |
| 51 |
<th>Patron</th> |
54 |
<th>Patron</th> |
| 52 |
<th>Library</th> |
55 |
<th>Patron category</th> |
| 53 |
<th>Title</th> |
56 |
<th>Patron library</th> |
|
|
57 |
<th class="anti-the">Title</th> |
| 58 |
<th>Home library</th> |
| 59 |
<th>Holding library</th> |
| 54 |
<th>Barcode</th> |
60 |
<th>Barcode</th> |
| 55 |
<th>Call number</th> |
61 |
<th>Call number</th> |
|
|
62 |
<th>Item type</th> |
| 56 |
<th>Price</th> |
63 |
<th>Price</th> |
| 57 |
<th>Non-public note</th> |
64 |
<th>Non-public note</th> |
| 58 |
</tr> |
65 |
</tr> |
|
Lines 68-77
Link Here
|
| 68 |
[% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email | uri %]?subject=[% INCLUDE subject %] [% overdueloo.title | uri %]">email</a>][% END %] |
75 |
[% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email | uri %]?subject=[% INCLUDE subject %] [% overdueloo.title | uri %]">email</a>][% END %] |
| 69 |
[% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td> |
76 |
[% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td> |
| 70 |
[% END %] |
77 |
[% END %] |
| 71 |
<td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td> |
78 |
<td>[% Categories.GetName( overdueloo.patron.categorycode ) | html %]</td> |
|
|
79 |
<td>[% Branches.GetName( overdueloo.homebranchcode ) | html %]</td> |
| 72 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title | html %] [% overdueloo.subtitle | html %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td> |
80 |
<td>[% INCLUDE 'biblio-default-view.inc' biblionumber = overdueloo.biblionumber %][% overdueloo.title | html %] [% overdueloo.subtitle | html %]</a> [% IF ( overdueloo.author ) %], by [% overdueloo.author | html %][% END %][% IF ( overdueloo.enumchron ) %], [% overdueloo.enumchron | html %][% END %]</td> |
|
|
81 |
|
| 82 |
<td>[% Branches.GetName( overdueloo.holdingbranchcode ) | html %]</td> |
| 83 |
<td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td> |
| 73 |
<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> |
84 |
<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> |
| 74 |
<td>[% overdueloo.itemcallnumber | html %]</td> |
85 |
<td>[% overdueloo.itemcallnumber | html %]</td> |
|
|
86 |
<td>[% ItemTypes.GetDescription( overdueloo.itemtype ) | html %]</td> |
| 75 |
<td>[% overdueloo.replacementprice | $Price %]</td> |
87 |
<td>[% overdueloo.replacementprice | $Price %]</td> |
| 76 |
<td>[% overdueloo.itemnotes_nonpublic | html %]</td> |
88 |
<td>[% overdueloo.itemnotes_nonpublic | html %]</td> |
| 77 |
</tr> |
89 |
</tr> |
|
Lines 206-212
Link Here
|
| 206 |
[% MACRO jsinclude BLOCK %] |
218 |
[% MACRO jsinclude BLOCK %] |
| 207 |
[% INCLUDE 'calendar.inc' %] |
219 |
[% INCLUDE 'calendar.inc' %] |
| 208 |
[% INCLUDE 'datatables.inc' %] |
220 |
[% INCLUDE 'datatables.inc' %] |
| 209 |
<script type="text/javascript"> |
221 |
[% INCLUDE 'columns_settings.inc' %] |
|
|
222 |
<script> |
| 210 |
function clone_parent(node) { |
223 |
function clone_parent(node) { |
| 211 |
var parent = node.parentNode; |
224 |
var parent = node.parentNode; |
| 212 |
var clone = parent.cloneNode(true); |
225 |
var clone = parent.cloneNode(true); |
|
Lines 259-271
Link Here
|
| 259 |
} |
272 |
} |
| 260 |
|
273 |
|
| 261 |
$(document).ready(function(){ |
274 |
$(document).ready(function(){ |
| 262 |
$("#overduest").dataTable($.extend(true, {}, dataTablesDefaults, { |
275 |
|
|
|
276 |
var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %]; |
| 277 |
var od_table = localStorage.getItem("DataTables_overduest_/cgi-bin/koha/circ/overdue.pl"); |
| 278 |
var updated_settings = get_columns_saved_state( od_table, columns_settings ); |
| 279 |
|
| 280 |
KohaTable("overduest", { |
| 263 |
"sPaginationType": "four_button", |
281 |
"sPaginationType": "four_button", |
| 264 |
"aaSorting": [[0, 'asc']], |
282 |
"aaSorting": [[0, 'asc']], |
| 265 |
"aoColumnDefs": [ |
283 |
"aoColumnDefs": [ |
| 266 |
{ "sType": "title-string", "aTargets": [ "title-string" ] } |
284 |
{ "sType": "title-string", "aTargets": [ "title-string" ] }, |
| 267 |
] |
285 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] } |
| 268 |
})); |
286 |
], |
|
|
287 |
"autoWidth": false, |
| 288 |
"stateSave": true |
| 289 |
}, updated_settings); |
| 269 |
}); |
290 |
}); |
| 270 |
</script> |
291 |
</script> |
| 271 |
[% END %] |
292 |
[% END %] |