Lines 161-167
Link Here
|
161 |
[% IF checkout_info.itemtype_notforloan %] |
161 |
[% IF checkout_info.itemtype_notforloan %] |
162 |
<li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li> |
162 |
<li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li> |
163 |
[% ELSIF checkout_info.item_notforloan %] |
163 |
[% ELSIF checkout_info.item_notforloan %] |
164 |
[% item_notforloan_lib = AuthorisedValues.GetByCode( 'NOT_LOAN', checkout_info.item_notforloan, 0 ) %] |
164 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => checkout_info.item_notforloan ) %] |
165 |
<li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li> |
165 |
<li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li> |
166 |
[% END %] |
166 |
[% END %] |
167 |
[% END %] |
167 |
[% END %] |
Lines 220-226
Link Here
|
220 |
[% IF checkout_info.itemtype_notforloan %] |
220 |
[% IF checkout_info.itemtype_notforloan %] |
221 |
<li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li> |
221 |
<li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li> |
222 |
[% ELSIF checkout_info.item_notforloan %] |
222 |
[% ELSIF checkout_info.item_notforloan %] |
223 |
[% item_notforloan_lib = AuthorisedValues.GetByCode( 'NOT_LOAN', checkout_info.item_notforloan, 0 ) %] |
223 |
[% item_notforloan_lib = AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => checkout_info.item_notforloan ) %] |
224 |
<li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li> |
224 |
<li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li> |
225 |
[% END %] |
225 |
[% END %] |
226 |
[% END %] |
226 |
[% END %] |