Lines 293-300
sub buildKohaItemsNamespace {
Link Here
|
293 |
|
293 |
|
294 |
my $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber} ); |
294 |
my $reservestatus = C4::Reserves::GetReserveStatus( $item->{itemnumber} ); |
295 |
|
295 |
|
296 |
if ( $itemtypes->{ $item->{itype} }->{notforloan} || $item->{notforloan} || $item->{onloan} || $item->{withdrawn} || $item->{itemlost} || $item->{damaged} || |
296 |
if ( ($item->{itype} && $itemtypes->{ $item->{itype} }->{notforloan}) |
297 |
(defined $transfertwhen && $transfertwhen ne '') || $item->{itemnotforloan} || (defined $reservestatus && $reservestatus eq "Waiting") ){ |
297 |
|| $item->{notforloan} |
|
|
298 |
|| $item->{onloan} |
299 |
|| $item->{withdrawn} |
300 |
|| $item->{itemlost} |
301 |
|| $item->{damaged} |
302 |
|| (defined $transfertwhen && $transfertwhen ne '') |
303 |
|| $item->{itemnotforloan} |
304 |
|| (defined $reservestatus && $reservestatus eq "Waiting") |
305 |
){ |
298 |
if ( $item->{notforloan} < 0) { |
306 |
if ( $item->{notforloan} < 0) { |
299 |
$status = "On order"; |
307 |
$status = "On order"; |
300 |
} |
308 |
} |
301 |
- |
|
|