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 |
var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %]; |
|
|
282 |
KohaTable("overduest", { |
270 |
"sPaginationType": "full", |
283 |
"sPaginationType": "full", |
271 |
"aaSorting": [[0, 'asc']], |
284 |
"aaSorting": [[0, 'asc']], |
272 |
"aoColumnDefs": [ |
285 |
"aoColumnDefs": [ |
273 |
{ "sType": "title-string", "aTargets": [ "title-string" ] } |
286 |
{ "sType": "title-string", "aTargets": [ "title-string" ] }, |
274 |
] |
287 |
{ "sType": "anti-the", "aTargets" : [ "anti-the" ] } |
275 |
})); |
288 |
], |
|
|
289 |
"autoWidth": false, |
290 |
"stateSave": true |
291 |
}, columns_settings); |
276 |
}); |
292 |
}); |
277 |
</script> |
293 |
</script> |
278 |
[% END %] |
294 |
[% END %] |
279 |
- |
|
|