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