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

(-)a/C4/XSLT.pm (-3 / +10 lines)
Lines 270-277 sub buildKohaItemsNamespace { Link Here
270
270
271
        my $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber} );
271
        my $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber} );
272
272
273
        if ( $itemtypes->{ $item->{itype} }->{notforloan} || $item->{notforloan} || $item->{onloan} || $item->{withdrawn} || $item->{itemlost} || $item->{damaged} ||
273
        if (   ($item->{itype} && $itemtypes->{ $item->{itype} }->{notforloan})
274
             (defined $transfertwhen && $transfertwhen ne '') || $item->{itemnotforloan} || (defined $reservestatus && $reservestatus eq "Waiting") ){ 
274
            || $item->{notforloan}
275
            || $item->{onloan}
276
            || $item->{withdrawn}
277
            || $item->{itemlost}
278
            || $item->{damaged}
279
            || (defined $transfertwhen && $transfertwhen ne '')
280
            || $item->{itemnotforloan}
281
            || (defined $reservestatus && $reservestatus eq "Waiting")
282
        ){ 
275
            if ( $item->{notforloan} < 0) {
283
            if ( $item->{notforloan} < 0) {
276
                $status = "On order";
284
                $status = "On order";
277
            } 
285
            } 
278
- 

Return to bug 11213