[% USE AuthorisedValues %]
[% USE Branches %]
[% USE ItemTypes %]
[% USE KohaDates %]
[% ELSE %]
[% IF HOLD.itemtype %]
<span>Pending for next available item of item type '[% ItemTypes.GetDescription( HOLD.itemtype ) | html %]'</span>
[% ELSIF HOLD.item && HOLD.item.notforloan < 0 %]
<span>Pending ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => HOLD.item.notforloan ) %])</span>
<span>Pending</span>
[% END %]
-