Lines 25-32
Link Here
|
25 |
[% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %] |
25 |
[% IF biblio.author %]<h3>by [% biblio.author %]</h3>[% END %] |
26 |
|
26 |
|
27 |
<div class="searchresults"> |
27 |
<div class="searchresults"> |
28 |
[% IF ( issues ) %] |
28 |
[% IF checkouts.count %] |
29 |
<h4>Checked out [% total %] times</h4> |
29 |
<h4>Checked out [% checkouts.count %] times</h4> |
30 |
<table id="table_issues"> |
30 |
<table id="table_issues"> |
31 |
<thead><tr> |
31 |
<thead><tr> |
32 |
[% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %] |
32 |
[% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %] |
Lines 40-78
Link Here
|
40 |
<th class='title-string'>Checkin on</th> |
40 |
<th class='title-string'>Checkin on</th> |
41 |
</tr></thead> |
41 |
</tr></thead> |
42 |
<tbody> |
42 |
<tbody> |
43 |
[% FOREACH issue IN issues %] |
43 |
[% FOREACH checkout IN checkouts %] |
44 |
<tr> |
44 |
<tr> |
45 |
[% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %] |
45 |
[% IF Koha.Preference('intranetreadinghistory') AND CAN_user_circulate_circulate_remaining_permissions %] |
46 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td> |
46 |
<td><a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% issue.borrowernumber %]">[% IF HidePatronName %][% issue.cardnumber %][% ELSE %][% issue.surname %][% IF ( issue.firstname ) %], [% issue.firstname %][% END %][% END %]</a></td> |
47 |
[% END %] |
47 |
[% END %] |
48 |
<td>[% IF ( issue.barcode ) %] |
48 |
<td> |
49 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% issue.biblionumber %]&itemnumber=[% issue.itemnumber %]">[% issue.barcode %]</a> |
49 |
[% IF checkout.item.barcode %] [%# FIXME This test is not mandatory I think %] |
|
|
50 |
<a href="/cgi-bin/koha/catalogue/moredetail.pl?biblionumber=[% checkout.item.biblionumber %]&itemnumber=[% checkout.item.itemnumber %]">[% checkout.item.barcode %]</a> |
50 |
[% ELSE %] |
51 |
[% ELSE %] |
51 |
|
52 |
|
52 |
[% END %]</td> |
53 |
[% END %]</td> |
53 |
<td>[% IF ( issue.branchcode ) %] |
54 |
<td>[% IF checkout.branchcode %] |
54 |
[% Branches.GetName( issue.branchcode ) %] |
55 |
[% Branches.GetName( checkout.branchcode ) %] |
55 |
[% ELSE %] |
56 |
[% ELSE %] |
56 |
|
57 |
|
57 |
[% END %]</td> |
58 |
[% END %]</td> |
58 |
<td>[% IF ( issue.renewals ) %] |
59 |
<td>[% IF checkout.renewals %] |
59 |
Yes[% IF ( issue.lastreneweddate ) %], <small>last on: [% issue.lastreneweddate |$KohaDates with_hours => 1 %]</small> |
60 |
Yes[% IF checkout.lastreneweddate %], <small>last on: [% checkout.lastreneweddate |$KohaDates with_hours => 1 %]</small> |
60 |
[% END %] |
61 |
[% END %] |
61 |
[% ELSE %] |
62 |
[% ELSE %] |
62 |
No |
63 |
No |
63 |
[% END %]</td> |
64 |
[% END %]</td> |
64 |
<td>[% IF ( issue.issuedate ) %] |
65 |
<td>[% IF checkout.issuedate %] |
65 |
<span title="[% issue.issuedate %]">[% issue.issuedate |$KohaDates with_hours => 1 %]</span> |
66 |
<span title="[% checkout.issuedate %]">[% checkout.issuedate |$KohaDates with_hours => 1 %]</span> |
66 |
[% ELSE %] |
67 |
[% ELSE %] |
67 |
<span title="0000-00-00"></span> |
68 |
<span title="0000-00-00"></span> |
68 |
[% END %]</td> |
69 |
[% END %]</td> |
69 |
<td>[% IF ( issue.date_due ) %] |
70 |
<td>[% IF checkout.date_due %] |
70 |
<span title="[% issue.date_due %]">[% issue.date_due |$KohaDates with_hours => 1 %]</span> |
71 |
<span title="[% checkout.date_due %]">[% checkout.date_due |$KohaDates with_hours => 1 %]</span> |
71 |
[% ELSE %] |
72 |
[% ELSE %] |
72 |
<span title="0000-00-00"></span> |
73 |
<span title="0000-00-00"></span> |
73 |
[% END %]</td> |
74 |
[% END %]</td> |
74 |
<td>[% IF ( issue.returndate ) %] |
75 |
<td>[% IF checkout.returndate %] |
75 |
<span title="[% issue.returndate %]">[% issue.returndate |$KohaDates with_hours => 1 %]</span> |
76 |
<span title="[% checkout.returndate %]">[% checkout.returndate |$KohaDates with_hours => 1 %]</span> |
76 |
[% ELSE %] |
77 |
[% ELSE %] |
77 |
<span title="Checked out"><small>Checked out</small></span> |
78 |
<span title="Checked out"><small>Checked out</small></span> |
78 |
[% END %]</td> |
79 |
[% END %]</td> |
79 |
- |
|
|