+[% USE Koha %]
[% USE KohaDates %]
[% INCLUDE 'doc-head-open.inc' %]
[% UNLESS ( multi_hold ) %]
});
var my_table = $("#requestspecific").dataTable($.extend(true, {}, dataTablesDefaults, {
'bPaginate': false,
- 'bInfo': false,
- "bAutoWidth": false,
+ "sDom": '<"top pager"ilf>t',
+ "aoColumnDefs": [
+ { "sType": "title-string", "aTargets" : [ "title-string" ] }
+ ]
}));
//Override fieldset styling for dataTables search box
<li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a>'s <strong>account has expired</strong></li>
[% END %]
+ [% IF restricted %]
+ <li><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]#reldebarments">[% borrowerfirstname %] [% borrowersurname %]</a> <strong>has restrictions</strong></li>
+ [% END %]
+
+ [% IF amount_outstanding && Koha.Preference('maxoutstanding') && amount_outstanding > Koha.Preference('maxoutstanding') %]
+ <li><a href="/cgi-bin/koha/members/pay.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a> <strong>owes [% amount_outstanding | format('%.2f') %]</strong></li>
+ [% END %]
+
[% IF ( diffbranch ) %]
<li> <strong>Pickup library is different</strong> than <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% borrowernumber %]">[% borrowerfirstname %] [% borrowersurname %]</a>'s home library ([% borrower_branchname %] / [% borrower_branchcode %] )</li>
[% END %]
</li>
[% UNLESS ( multi_hold ) %]
<li>
- <span class="label">Priority:</span>
+ <span class="label">Estimated priority:</span>
<strong>[% fixedRank %]</strong>
</li>
[% END %]
[% IF ( bibitemloo.publicationyear ) %]<li><span class="label">Publication year:</span> [% bibitemloo.publicationyear %]</li>[% END %]
</ol>
+ <h2 style="padding: 0 1em;">Place a hold on a specific item</h2>
<table id="requestspecific">
- <caption>Place a hold on a specific item</caption>
<thead>
<tr>
<th>Hold</th>
[% IF itemdata_enumchron %]
<th>Vol no.</th>
[% END %]
- <th>Information</th>
+ <th class="title-string">Information</th>
</tr>
</thead>
<tbody>
</td>
[% END %]
<td>
- [% IF ( itemloo.onloan ) %]
- <span class="checkedout">Due [% itemloo.date_due %]</span>
+ [% IF ( itemloo.onloan ) %]
+ <span title="[% itemloo.date_due %]" class="checkedout">Due [% itemloo.date_due | $KohaDates as_due_date => 1 %]</span>
[% ELSE %]
- [% IF ( itemloo.transfertwhen ) %]
- In transit from [% itemloo.transfertfrom %],
- to [% itemloo.transfertto %], since [% itemloo.transfertwhen %]
- [% END %]
- [% END %]
+ <span title="0000-00-00">
+ [% IF ( itemloo.transfertwhen ) %]
+ In transit from [% itemloo.transfertfrom %],
+ to [% itemloo.transfertto %], since [% itemloo.transfertwhen %]
+ [% END %]
+ </span>
+ [% END %]
[% IF ( itemloo.message ) %]
Unavailable (lost or missing)
[% END %]
</a>
[% ELSE %]
- [% IF ( reserveloo.constrainttypea ) %]
[% IF ( reserveloo.item_level_hold ) %]
<i>Only item
<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% reserveloo.biblionumber %]">
<i>Next available</i>
<input type="hidden" name="itemnumber" value="" />
[% END %]
- [% ELSE %]
- [% IF ( reserveloo.constrainttypeo ) %]
- only this type :<b>[% reserveloo.volumeddesc %] [% reserveloo.itemtype %]</b>
- [% END %]
- [% END %]
[% END %]
</td>