items.itemcallnumber,
items.replacementprice,
items.enumchron,
- items.itemnotes_nonpublic
+ items.itemnotes_nonpublic,
+ items.itype
FROM issues
LEFT JOIN borrowers ON (issues.borrowernumber=borrowers.borrowernumber )
LEFT JOIN items ON (issues.itemnumber=items.itemnumber)
biblionumber => $data->{biblionumber},
title => $data->{title},
author => $data->{author},
- homebranchcode => $data->{homebranchcode},
- holdingbranchcode => $data->{holdingbranchcode},
+ homebranchcode => $data->{homebranch},
+ holdingbranchcode => $data->{holdingbranch},
itemcallnumber => $data->{itemcallnumber},
replacementprice => $data->{replacementprice},
itemnotes_nonpublic => $data->{itemnotes_nonpublic},
enumchron => $data->{enumchron},
+ itemtype => $data->{itype},
patron_attr_value_loop => \@patron_attr_value_loop,
};
}
[% USE KohaDates %]
[%- USE Branches -%]
[%- USE Price -%]
+[%- USE ItemTypes -%]
+[%- USE Categories -%]
+[%- USE ColumnsSettings -%]
[% SET footerjs = 1 %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Circulation › Items overdue as of [% todaysdate | html %]</title>
<tr>
<th class="title-string">Due date</th>
<th>Patron</th>
- <th>Library</th>
- <th>Title</th>
+ <th>Patron category</th>
+ <th>Patron library</th>
+ <th class="anti-the">Title</th>
+ <th>Home library</th>
+ <th>Holding library</th>
<th>Barcode</th>
<th>Call number</th>
+ <th>Item type</th>
<th>Price</th>
<th>Non-public note</th>
</tr>
[% IF ( overdueloo.email ) %][<a href="mailto:[% overdueloo.email | uri %]?subject=[% INCLUDE subject %] [% overdueloo.title | uri %]">email</a>][% END %]
[% IF ( overdueloo.phone ) %]([% overdueloo.phone | html %])[% ELSIF ( overdueloo.mobile ) %]([% overdueloo.mobile | html %])[% ELSIF ( overdueloo.phonepro ) %]([% overdueloo.phonepro | html %])[% END %]</td>
[% END %]
- <td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td>
+ <td>[% Categories.GetName( overdueloo.patron.categorycode ) | html %]</td>
+ <td>[% Branches.GetName( overdueloo.homebranchcode ) | html %]</td>
<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>
+ <td>[% Branches.GetName( overdueloo.holdingbranchcode ) | html %]</td>
+ <td>[% Branches.GetName( overdueloo.patron.branchcode ) | html %]</td>
<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>
<td>[% overdueloo.itemcallnumber | html %]</td>
+ <td>[% ItemTypes.GetDescription( overdueloo.itemtype ) | html %]</td>
<td>[% overdueloo.replacementprice | $Price %]</td>
<td>[% overdueloo.itemnotes_nonpublic | html %]</td>
</tr>
[% MACRO jsinclude BLOCK %]
[% INCLUDE 'calendar.inc' %]
[% INCLUDE 'datatables.inc' %]
- <script type="text/javascript">
+ [% INCLUDE 'columns_settings.inc' %]
+ <script>
function clone_parent(node) {
var parent = node.parentNode;
var clone = parent.cloneNode(true);
}
$(document).ready(function(){
- $("#overduest").dataTable($.extend(true, {}, dataTablesDefaults, {
+ var columns_settings = [% ColumnsSettings.GetColumns( 'circ', 'overdues', 'circ-overdues', 'json' ) | $raw %];
+ KohaTable("overduest", {
"sPaginationType": "full",
"aaSorting": [[0, 'asc']],
"aoColumnDefs": [
- { "sType": "title-string", "aTargets": [ "title-string" ] }
- ]
- }));
+ { "sType": "title-string", "aTargets": [ "title-string" ] },
+ { "sType": "anti-the", "aTargets" : [ "anti-the" ] }
+ ],
+ "autoWidth": false,
+ "stateSave": true
+ }, columns_settings);
});
</script>
[% END %]