var CIRCULATION_RENEW_FAILED = _("Renew failed:");
var NOT_CHECKED_OUT = _("not checked out");
var TOO_MANY_RENEWALS = _("too many renewals");
- var ON_RESERVE = _("on reserve");
+ var ON_RESERVE = _("on hold");
var REASON_UNKNOWN = _("reason unkown");
var TODAYS_CHECKOUTS = _("Today's checkouts");
var PREVIOUS_CHECKOUTS = _("Previous checkouts");
var RENEWALS_REMAINING = _("%s of %s renewals remaining");
var HOLD_IS_SUSPENDED = _("Hold is <strong>suspended</strong>");
var UNTIL = _("until %s");
- var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>"); //
+ var ITEM_IS_WAITING = _("Item is <strong>waiting</strong>");
+ var ITEM_IS_WAITING_HERE = _("Item is <strong>waiting here</strong>");
var AT = _("at %s");
var ITEM_IS_IN_TRANSIT = _("Item is <strong>in transit</strong> from %s since %s");
var FROM = _("from");
if ( oObj.barcode ) {
data += "<em>";
if ( oObj.found == "W" ) {
- data += ITEM_IS_WAITING;
- if ( ! oObj.waiting_here ) {
+ if ( oObj.waiting_here ) {
+ data += ITEM_IS_WAITING_HERE;
+ } else {
+ data += ITEM_IS_WAITING;
data += " " + AT.format( oObj.waiting_at );
}
+
} else if ( oObj.transferred ) {
data += ITEM_IS_IN_TRANSIT.format( oObj.from_branch, oObj.date_sent );
} else if ( oObj.not_transferred ) {
return data;
}
},
+ {
+ "mDataProp": function( oObj ) {
+ return oObj.branchcode || "";
+ }
+ },
{ "mDataProp": "expirationdate_formatted" },
{
"mDataProp": function( oObj ) {
<th>Title</th>
<th>Call number</th>
<th>Barcode</th>
+ <th>Pickup at</th>
<th>Expiration</th>
<th>Priority</th>
<th>Delete?</th>
<th>Title</th>
<th>Call number</th>
<th>Barcode</th>
+ <th>Pickup at</th>
<th>Expiration</th>
<th>Priority</th>
<th>Delete?</th>
title => $h->biblio()->title(),
author => $h->biblio()->author(),
reserve_id => $h->reserve_id(),
+ branchcode => $h->branchcode()->branchname(),
reservedate => $h->reservedate(),
expirationdate => $h->expirationdate(),
suspend => $h->suspend(),