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

(-)a/C4/Items.pm (-2 / +4 lines)
Lines 1267-1274 sub GetItemsInfo { Link Here
1267
            );
1267
            );
1268
            $sthnflstatus->execute( $authorised_valuecode,
1268
            $sthnflstatus->execute( $authorised_valuecode,
1269
                $data->{itemnotforloan} );
1269
                $data->{itemnotforloan} );
1270
            my ($lib) = $sthnflstatus->fetchrow;
1270
            if ( my $nfldata = $sthnflstatus->fetchrow_hashref ) {
1271
            $data->{notforloanvalue} = $lib;
1271
                $data->{notforloanvalue} = $nfldata->{'lib'};
1272
                $data->{notforloanvalueopac} = $nfldata->{'lib_opac'};
1273
            }
1272
        }
1274
        }
1273
1275
1274
        # get restricted status and description if applicable
1276
        # get restricted status and description if applicable
(-)a/koha-tmpl/opac-tmpl/prog/en/includes/item-status.inc (-3 / +2 lines)
Lines 18-25 Link Here
18
        Item lost
18
        Item lost
19
    [% END %]
19
    [% END %]
20
[% ELSIF ( item.itemnotforloan ) %]
20
[% ELSIF ( item.itemnotforloan ) %]
21
    [% IF ( item.notforloanvalue ) %]
21
    [% IF ( item.notforloanvalueopac ) %]
22
        [% item.notforloanvalue %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
22
        [% item.notforloanvalueopac %] [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
23
    [% ELSE %]
23
    [% ELSE %]
24
        Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
24
        Not for loan [% IF ( item.restrictedopac ) %]<span class="restricted">([% item.restrictedopac %])</span>[% END %]
25
    [% END %]
25
    [% END %]
26
- 

Return to bug 8988