$status = 'other';
$substatus = 'In transit';
}
elsif ($item->damaged && ! C4::Context->preference('AllowHoldsOnDamagedItems')) {
elsif ( $item->damaged && !C4::Context->preference('AllowHoldsOnDamagedItems') ) {
$substatus = "Damaged";
$substatus = 'Damaged';
elsif ($item->itemlost) {
-