+[% USE KohaDates %]
[% INCLUDE 'doc-head-open.inc' %]
<title>Koha › Patrons ›
[% IF ( unknowuser ) %]
type: 'text'
});
$(document).ready(function() {
- $('#finesholdsissues > ul').tabs();
+ $('#finesholdsissues').tabs();
$.tablesorter.defaults.widgets = ['zebra'];
$("#issuest").tablesorter({[% IF ( dateformat_metric ) %]
dateFormat: 'uk',[% END %]
$(this).attr('checked', !$(this).attr('checked'));
if($(this).attr('checked')){
$(this).parent().siblings().find("input:checkbox").each(function(){
- if($(this).attr('checked')){ $(this).attr('checked',''); }
+ if($(this).attr('checked')){ $(this).removeAttr('checked'); }
});
}
});
[% FOREACH attribute IN attributes_loop %]
[% IF attribute.class %]
<h4>[% attribute.lib %]</h4>
- <table id=aai_[% attribute.class %]>
+ <table id="aai_[% attribute.class %]">
[% ELSE %]
<table id="aai">
[% END %]
</div>
<div id="finesholdsissues" class="toptabs">
- <ul>
- <li><a href="/cgi-bin/koha/members/moremember.pl#checkedout">[% issueloop.size %] Checkout(s)</a></li>
+ <ul>
+ <li><a href="#checkedout">[% issueloop.size %] Checkout(s)</a></li>
[% IF relissueloop.size %]
- <li><a href="/cgi-bin/koha/members/moremember.pl#relissues">Relatives' Checkouts</a></li>
+ <li><a href="#relissues">Relatives' Checkouts</a></li>
[% END %]
- <li><a href="/cgi-bin/koha/members/moremember.pl#finesandcharges">Fines & Charges</a></li>
- <li>[% IF ( countreserv ) %]
- <a href="/cgi-bin/koha/members/moremember.pl#onhold">[% countreserv %] Hold(s)</a>
- [% ELSE %]
- <a href="/cgi-bin/koha/members/moremember.pl#onhold">0 Holds</a>
+ <li><a href="#finesandcharges">Fines & Charges</a></li>
+ <li>[% IF ( countreserv ) %]
+ <a href="#onhold">[% countreserv %] Hold(s)</a> [% ELSE %]
+ <a href="#onhold">0 Holds</a>
[% END %]</li>
- </ul>
-
-<div id="finesandcharges">
- [% IF ( totaldue_raw ) %]
- <p>Total due: [% totaldue %]</p>
- [% ELSE %]
- <p>No outstanding charges</p>
- [% END %]
-</div>
+ </ul>
<form action="/cgi-bin/koha/reserve/renewscript.pl" method="post" class="checkboxed">
<input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
- <input type="hidden" name="branch" value="[% branch %]" />
+ <input type="hidden" name="branch" value="[% branch %]" />
<div id="checkedout">
[% IF ( issueloop ) %]
<table id="issuest">
<thead>
- <tr>
+ <tr>
<th scope="col">Due date</th>
<th scope="col">Title</th>
<th scope="col">Item type</th>
<tr>
[% END %]
[% IF ( issueloo.red ) %]
- <td class="od">
+ <td class="od">
[% ELSE %]
<td>
[% END %]
<td>[% UNLESS ( noItemTypeImages ) %] [% IF ( issueloo.itemtype_image ) %]<img src="[% issueloo.itemtype_image %]" alt="" />[% END %][% END %][% issueloo.itemtype_description %]</td>
<td>[% issueloo.issuedate %]</td>
<td>[% issueloo.issuingbranchname %]</td>
- <td>[% issueloo.itemcallnumber %]</td>
+ <td>[% issueloo.itemcallnumber %]</td>
<td>[% issueloo.charge %]</td>
<td>[% issueloo.replacementprice %]</td>
[% IF ( issueloo.renew_failed ) %]
[% IF ( issueloo.norenew_reason_on_reserve ) %]
<a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% issueloo.biblionumber %]">On Hold</a>
[% END %]
- [% IF ( issueloo.norenew_reason_too_many ) %]
+ [% IF ( issueloo.norenew_reason_too_many ) %]
Not renewable
- [% END %]
+ [% END %]
[% IF ( issueloo.can_confirm ) %]
</span>
[% END %]
<div id="relissues">
<table id="relissuest">
<thead>
- <tr>
+ <tr>
<th scope="col">Due date</th>
<th scope="col">Title</th>
<th scope="col">Item type</th>
<td>[% relissueloo.itemcallnumber %]</td>
<td>[% relissueloo.charge %]</td>
<td>[% relissueloo.replacementprice %]</td>
- <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissueloo.borrowernumber %]">[% relissueloo.firstname %] [% relissueloo.surname %] ([% relissueloo.cardnumber %])</a></td>
+ <td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% relissueloo.borrowernumber %]">[% relissueloo.firstname %] [% relissueloo.surname %] ([% relissueloo.cardnumber %])</a></td>
</tr>
[% END %]
</tbody>
</table>
- </div>
+ </div>
[% END %]
</form>
-
+
+<div id="finesandcharges">
+ [% IF ( totaldue_raw ) %]
+ <p>Total due: [% totaldue %]</p>
+ [% ELSE %]
+ <p>No outstanding charges</p>
+ [% END %]
+</div>
+
<div id="onhold">
[% IF ( reservloop ) %]
<form action="/cgi-bin/koha/reserve/modrequest.pl" method="post">
<fieldset class="action"><input type="submit" class="cancel" name="submit" value="Cancel marked holds" /></fieldset>
</form>
+
+ [% IF SuspendHoldsIntranet %]
<fieldset class="action">
<form action="/cgi-bin/koha/reserve/modrequest_suspendall.pl" method="post">
<input type="hidden" name="from" value="borrower" />
<input type="submit" value="Resume all suspended holds" />
</form>
</fieldset>
+ [% END # IF SuspendHoldsIntranet %]
[% ELSE %]<p>Patron has nothing on hold.</p>[% END %]
</div>