<!ENTITY staff.patron_display.first_given_name.label 'First Name:'>
<!ENTITY staff.patron_display.holds.label 'Holds:'>
<!ENTITY staff.patron_display.holds_available.label 'Available:'>
+<!ENTITY staff.patron_display.holds_available_behind_desk.label 'Behind Desk:'>
<!ENTITY staff.patron_display.home_ou.label 'Home Library:'>
<!ENTITY staff.patron_display.ident1.label 'ID 1:'>
<!ENTITY staff.patron_display.ident2.label 'ID 2:'>
},
{
'persist' : 'hidden width ordinal',
- 'id' : 'behind_shelf',
- 'label' : document.getElementById('circStrings').getString('staff.circ.utils.hold.staff_hold'),
+ 'id' : 'behind_desk',
+ 'label' : document.getElementById('circStrings').getString('staff.circ.utils.hold.behind_desk'),
'flex' : 1,
'primary' : false,
'hidden' : true,
staff.circ.utils.capture_time=Capture Date
# Date the hold was cancelled
staff.circ.utils.hold_cancel_time=Cancel Time
-staff.circ.utils.hold.staff_hold=Behind Desk
+staff.circ.utils.hold.behind_desk=Behind Desk
# Controlled entry for why the hold was cancelled
staff.circ.utils.hold_cancel_cause=Cancel Cause
# Freetext note pertaining to the cancelled hold
return function() {
util.widgets.set_text(e,'...');
var e2 = document.getElementById('patron_holds_available');
+ var e3 = document.getElementById('patron_holds_available_behind_desk');
if (e2) util.widgets.set_text(e2,'...');
+ if (e3) util.widgets.set_text(e2,'...');
var under_btn;
if (xulG) {
if (xulG.display_window) {
util.widgets.set_text(e,
robj.total
);
- if (e2) util.widgets.set_text(e2,
- robj.ready
- );
+ if (e2) {
+ util.widgets.set_text(e2, robj.ready);
+ if (true /* behind-shelf supported */) { // TODO
+ // TODO: un-hide e3
+ util.widgets.set_text(e3, robj.behind_desk);
+ }
+ }
if (under_btn) util.widgets.set_text(under_btn, req.getResultObject().ready + '/' + req.getResultObject().total );
obj.holds_summary = robj;
if (obj.holds_summary && obj.bills_summary)
<label id="PatronSummaryStatus_holds_available_label" class="copyable text_right holds_ready label subgroup"
value="&staff.patron_display.holds_available.label;" />
<description id="patron_holds_available" class="copyable holds_ready value subgroup" />
+ </row><row>
+ <label id="PatronSummaryStatus_holds_available_behind_desk_label" class="copyable text_right holds_ready label subgroup"
+ value="&staff.patron_display.holds_available_behind_desk.label;" />
+ <description id="patron_holds_available_behind_desk" class="copyable holds_ready value subgroup" />
</row>
<row id="pdsgr2" class="hide_patron_credit" hidden="true">
<label id="PatronSummaryStatus_credit_label" class="copyable text_left credit label"