4 for 'arrived',
5 for 'hold-shelf-delay'
6 for 'canceled'
+ 7 for 'suspended'
END_OF_DESC
}
}
if ($hold->cancel_time) {
return 6;
}
+ if ($U->is_true($hold->frozen)) {
+ return 7;
+ }
return 1 unless $hold->current_copy;
return 2 unless $hold->capture_time;
<!ENTITY myopac.holds.status.waiting "Waiting for copy">
<!ENTITY myopac.holds.status.intransit "In Transit">
<!ENTITY myopac.holds.status.available "Ready for Pickup">
+<!ENTITY myopac.holds.status.suspended "Suspended">
<!ENTITY myopac.holds.cancel "Cancel">
<!ENTITY myopac.holds.verify "If you wish to cancel the selected hold, click OK, otherwise click Cancel.">
<!ENTITY myopac.holds.freeze_selected "Suspend">
hideMe($n(row, 'myopac_holds_cancel_link'));
}
- if (showHoldQueuePosition) {
+ if( qstats.status == 7 ) {
+ unHideMe($n(row, 'hold_status_suspended'));
+ } else if (showHoldQueuePosition) {
var node = $n(row, 'hold_qstats');
if (qstats.potential_copies == 1) {
node.appendChild(text(dojo.string.substitute(opac_strings.HOLD_STATUS_SINGULAR, [qstats.queue_position, qstats.total_holds, qstats.potential_copies])));
<td name='myopac_holds_location'></td>
<td>
+ <span class='hide_me' name='hold_status_suspended'>&myopac.holds.status.suspended;</span>
<span class='hide_me' name='hold_status_waiting'>&myopac.holds.status.waiting;</span>
<span class='hide_me' name='hold_status_transit'>&myopac.holds.status.intransit;</span>
<span class='hide_me' name='hold_status_available'><b style='color:red'>&myopac.holds.status.available;</b></span>
case 6:
return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.6');
break;
+ case 7:
+ return document.getElementById('circStrings').getString('staff.circ.utils.hold_status.7');
+ break;
default:
return my.status;
break;
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_status.7=Suspended
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