View | Details | Raw Unified | Return to bug 26323
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +2 lines)
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 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt (-2 / +2 lines)
Lines 197-209 Link Here
197
                                                Not for loan status updated.
197
                                                Not for loan status updated.
198
                                                <br />Old value:
198
                                                <br />Old value:
199
                                                [% IF errmsgloo.NotForLoanStatusUpdated.from %]
199
                                                [% IF errmsgloo.NotForLoanStatusUpdated.from %]
200
                                                    [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.from ) | html %].
200
                                                    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => errmsgloo.NotForLoanStatusUpdated.from ) | html %].
201
                                                [% ELSE %]
201
                                                [% ELSE %]
202
                                                    Available for loan.
202
                                                    Available for loan.
203
                                                [% END %]
203
                                                [% END %]
204
                                                <br />New value:
204
                                                <br />New value:
205
                                                [% IF errmsgloo.NotForLoanStatusUpdated.to %]
205
                                                [% IF errmsgloo.NotForLoanStatusUpdated.to %]
206
                                                    [% AuthorisedValues.GetByCode( 'NOT_LOAN', errmsgloo.NotForLoanStatusUpdated.to ) | html %].
206
                                                    [% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => errmsgloo.NotForLoanStatusUpdated.to ) | html %].
207
                                                [% ELSE %]
207
                                                [% ELSE %]
208
                                                    Available for loan.
208
                                                    Available for loan.
209
                                                [% END %]
209
                                                [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reserve/request.tt (-2 / +1 lines)
Lines 677-683 Link Here
677
                                                        [% END %]
677
                                                        [% END %]
678
678
679
                                                        [% IF ( itemloo.notforloan ) %]
679
                                                        [% IF ( itemloo.notforloan ) %]
680
                                                           <span class="nfl">Not for loan ([% AuthorisedValues.GetByCode( 'NOT_LOAN', itemloo.notforloan ) | html %])</span>
680
                                                           <span class="nfl">Not for loan ([% AuthorisedValues.GetDescriptionByKohaField( kohafield => 'items.notforloan', authorised_value => itemloo.notforloan ) | html %])</span>
681
                                                        [% END %]
681
                                                        [% END %]
682
                                                    </td>
682
                                                    </td>
683
                                                    <td>
683
                                                    <td>
684
- 

Return to bug 26323