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