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

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

Return to bug 11213