5 for 'hold-shelf-delay'
6 for 'canceled'
7 for 'suspended'
+ 8 for 'captured, on wrong hold shelf'
END_OF_DESC
}
}
if ($U->is_true($hold->frozen)) {
return 7;
}
+ if ($hold->current_shelf_lib and $hold->current_shelf_lib ne $hold->pickup_lib) {
+ return 8;
+ }
return 1 unless $hold->current_copy;
return 2 unless $hold->capture_time;
SET hwait = POSIX.ceil(hold.hold.estimated_wait / 86400);
l("Estimated wait: [quant,_1,day,days]", hwait) | html;
- ELSIF hold.hold.status == 3;
+ ELSIF hold.hold.status == 3 OR hold.hold.status == 8;
l("In Transit") | html;
ELSIF hold.hold.status < 3;
if( qstats.status < 3 )
unHideMe($n(row, 'hold_status_waiting'));
- if( qstats.status == 3 )
+ if( qstats.status == 3 || qstats.status == 8 )
unHideMe($n(row, 'hold_status_transit'));
}
}
case 7:
return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.7');
break;
+ case 8:
+ return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.8');
+ break;
default:
return my.status;
break;
staff.circ.utils.hold_status.5=Reserved/Pending
staff.circ.utils.hold_status.6=Canceled
staff.circ.utils.hold_status.7=Suspended
+staff.circ.utils.hold_status.8=Wrong Shelf
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