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

(-)a/C4/ILSDI/Services.pm (-1 / +4 lines)
Lines 980-985 sub _availability { Link Here
980
        return ( $biblionumber, __('not available'), __('Item withdrawn'), $location, $itemcallnumber );
980
        return ( $biblionumber, __('not available'), __('Item withdrawn'), $location, $itemcallnumber );
981
    } elsif ( $item->damaged ) {
981
    } elsif ( $item->damaged ) {
982
        return ( $biblionumber, __('not available'), __('Item damaged'), $location, $itemcallnumber );
982
        return ( $biblionumber, __('not available'), __('Item damaged'), $location, $itemcallnumber );
983
    } elsif ( $item->get_transfer ) {
984
        return ( $biblionumber, __('not available'), __('In transit'), $location, $itemcallnumber );
985
    } elsif ( $item->current_holds->next ) {
986
        return ($biblionumber, __('not available'), __('On hold'), $location, $itemcallnumber );
983
    } else {
987
    } else {
984
        return ( $biblionumber, __('available'), undef, $location, $itemcallnumber );
988
        return ( $biblionumber, __('available'), undef, $location, $itemcallnumber );
985
    }
989
    }
986
- 

Return to bug 34950