[% IF ( itemdata_copynumber ) %]<th>Copy No.</th>[% END %]
[% IF ( itemdata_itemnotes ) %]<th>Public notes</th>[% END %]
[% IF ( SpineLabelShowPrintOnBibDetails ) %]<th>Spine Label</th>[% END %]
+ [% IF ( hostrecords ) %]<th>Host Records</th>[% END %]
+ [% IF ( analyze ) %]<th>Used in</th>[% END %]
+ [% IF ( analyze ) %]<th></th>[% END %]
</tr>
[% FOREACH itemloo IN itemloop %]
<tr>
[% IF ( itemloo.waitingdate ) %]
Waiting
[% ELSE %]
- On hold
+ Item-level hold
[% END %]
[% IF ( canreservefromotherbranches ) %]for <a href="/cgi-bin/koha/members/moremember.pl?borrowernumber=[% itemloo.ReservedForBorrowernumber %]">
[% IF ( hidepatronname ) %]
[% END %]
</a>[% END %]
[% IF ( itemloo.waitingdate ) %]
- at[% ELSE %]expected at
+ at[% ELSE %]for delivery at
[% END %] [% itemloo.ExpectedAtLibrary %]
- since
- [% IF ( itemloo.waitingdate ) %][% itemloo.waitingdate %]
+ [% IF ( itemloo.waitingdate ) %]
+ since [% itemloo.waitingdate %]
[% ELSE %]
- [% IF ( itemloo.reservedate ) %][% itemloo.reservedate %][% END %]
+ [% IF ( itemloo.reservedate ) %](placed [% itemloo.reservedate %])[% END %]
[% END %]
[% END %]
[% UNLESS ( itemloo.itemnotforloan ) %][% UNLESS ( itemloo.onloan ) %][% UNLESS ( itemloo.itemlost ) %][% UNLESS ( itemloo.wthdrawn ) %][% UNLESS ( itemloo.damaged ) %][% UNLESS ( itemloo.transfertwhen ) %][% UNLESS ( itemloo.reservedate ) %]
[% IF ( itemloo.enumchron ) %]
[% itemloo.enumchron %][% IF ( itemloo.serialseq ) %] -- [% END %]
[% END %]
- [% END %]
[% itemloo.serialseq %][% IF ( itemloo.publisheddate ) %] ([% itemloo.publisheddate %])[% END %]
+ [% END %]
</td>[% END %]
[% IF ( itemdata_uri ) %]
<td class="uri"><a href="[% itemloo.uri %]">[% itemloo.uri %]</a></td>
<td class="copynumber">[% itemloo.copynumber %]</td>
[% END %]
[% IF ( itemdata_itemnotes ) %]<td><div class="itemnotes">[% itemloo.itemnotes %]</div></td>[% END %]
- [% IF ( itemloo.type ) %]
- <td><a href="/cgi-bin/koha/maint/catmaintain.pl?type=fixitemtype&bi=[% itemloo.biblioitemnumber %]&item=[% itemloo.itemtype %]">Fix Itemtype</a></td>
- [% END %]
[% IF ( SpineLabelShowPrintOnBibDetails ) %]
<td><a href="/cgi-bin/koha/labels/spinelabel-print.pl?barcode=[% itemloo.barcode %]" >Print Label</a></td>
[% END %]
+ [% IF ( hostrecords ) %]
+ <td>[% IF ( itemloo.hostbiblionumber) %]<a href="/cgi-bin/koha/catalogue/detail.pl?biblionumber=[% itemloo.hostbiblionumber %]" >[% itemloo.hosttitle %]</a>[% END %]</td>
+ [% END %]
+ [% IF ( analyze ) %]<td>
+ [% IF ( itemloo.countanalytics ) %]
+ <a href="/cgi-bin/koha/catalogue/search.pl?idx=hi&q=[% itemloo.itemnumber %]">[% itemloo.countanalytics %] analytics</a>
+ [% END %]</td>
+ [% END %]
+ [% IF ( analyze ) %]
+ <td><a href="/cgi-bin/koha/cataloguing/addbiblio.pl?hostbiblionumber=[% itemloo.biblionumber %]&hostitemnumber=[% itemloo.itemnumber %]">Create Analytics</a></td>
+ [% END %]
</tr>
[% END %]