3 for 'in transit',
4 for 'arrived',
5 for 'hold-shelf-delay'
+ 6 for 'canceled'
END_OF_DESC
}
}
sub _hold_status {
my($e, $hold) = @_;
+ if ($hold->cancel_time) {
+ return 6;
+ }
return 1 unless $hold->current_copy;
return 2 unless $hold->capture_time;
case 4:
return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.4');
break;
- case 5:
+ case 5:
return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.5');
break;
+ case 6:
+ return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.6');
+ break;
default:
return my.status;
break;
staff.circ.utils.hold_status.3=In-Transit
staff.circ.utils.hold_status.4=Ready for pickup
staff.circ.utils.hold_status.5=Reserved/Pending
+staff.circ.utils.hold_status.6=Canceled
staff.circ.utils.hold_post_clear_shelf_action.label=Post-Clear
staff.circ.utils.hold_post_clear_shelf_action.hold=Need for Hold
staff.circ.utils.hold_post_clear_shelf_action.transit=Need for Transit