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

(-)a/C4/ILSDI/Services.pm (-1 / +4 lines)
Lines 973-978 sub _availability { Link Here
973
        return ( $biblionumber, __('not available'), __('Item withdrawn'), $location, $itemcallnumber );
973
        return ( $biblionumber, __('not available'), __('Item withdrawn'), $location, $itemcallnumber );
974
    } elsif ( $item->damaged ) {
974
    } elsif ( $item->damaged ) {
975
        return ( $biblionumber, __('not available'), __('Item damaged'), $location, $itemcallnumber );
975
        return ( $biblionumber, __('not available'), __('Item damaged'), $location, $itemcallnumber );
976
    } elsif ( $item->get_transfer ) {
977
        return ( $biblionumber, __('not available'), __('In transit'), $location, $itemcallnumber );
978
    } elsif ( $item->current_holds->next ) {
979
        return ($biblionumber, __('not available'), __('On hold'), $location, $itemcallnumber );
976
    } else {
980
    } else {
977
        return ( $biblionumber, __('available'), undef, $location, $itemcallnumber );
981
        return ( $biblionumber, __('available'), undef, $location, $itemcallnumber );
978
    }
982
    }
979
- 

Return to bug 34950