1 [% USE KohaAuthorisedValues %]
3 [% IF ( item.itemlost ) %]
4 [% av_lib_include = KohaAuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
5 [% IF ( av_lib_include ) %]
8 [% IF ( item.lostimageurl ) %]
9 <img src="[% item.lostimageurl %]" alt="[% item.lostimagelabel %]" title="[% item.lostimagelabel %]" />
14 [% ELSIF ( item.datedue || issue.date_due ) %]
15 [% IF ( OPACShowCheckoutName ) %]
16 Checked out to [% item.cardnumber %] [% item.firstname %] [% item.surname %]
20 [% ELSIF ( item.transfertwhen ) %]
21 In transit from [% item.transfertfrom %]
22 to [% item.transfertto %] since [% item.transfertwhen %]
23 [% ELSIF ( item.waiting ) %]
25 [% ELSIF ( item.withdrawn ) %]
27 [% ELSIF ( item.itemnotforloan ) %]
28 [% IF ( item.notforloanvalueopac ) %]
29 [% item.notforloanvalueopac %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
31 Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
33 [% ELSIF ( item.notforloan_per_itemtype ) %]
34 Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
35 [% ELSIF ( item.damaged ) %]
36 [% av_lib_include = KohaAuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
37 [% IF av_lib_include %]
43 Available [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]