set("copy_id", '');
set("loan_duration", '');
set("location", '');
+ set_tooltip("location", '');
set("renewal_type", '');
set("opac_visible", '');
set("price", '');
set("holdable", details.copy.holdable());
set("copy_id", details.copy.id());
set("loan_duration", details.copy.loan_duration());
- set("location", details.copy.location());
+ var copy_location = typeof details.copy.location() == 'object' ? details.copy.location() : data.lookup('acpl',details.copy.location());
+ set("location", copy_location.name());
+ set_tooltip("location", document.getElementById('circStrings').getFormattedString(
+ 'staff.circ.copy_details.location_tooltip',
+ [
+ get_localized_bool( copy_location.circulate() ),
+ get_localized_bool( copy_location.holdable() ),
+ get_localized_bool( copy_location.hold_verify() ),
+ get_localized_bool( copy_location.opac_visible() )
+ ]
+ ));
set("opac_visible", details.copy.opac_visible());
set("price", details.copy.price());
set("ref", details.copy.ref());
staff.circ.copy_details.max_fine_rule_format=%1$s
# From Config::rules::max_fine, 1 - Name, 2 - ID, 3 - Amount, 4 - Is Percent
staff.circ.copy_details.max_fine_rule_tooltip_format=%3$s Is Percent? %4$s
+# From asset::copy_location: 1 - Can Circulate? 2 - Is Holdable? 3 - Hold Capture Requires Verification? 4 - Is OPAC Visible?
+staff.circ.copy_details.location_tooltip=Circulate? %1$s Holdable? %2$s Hold Verify? %3$s OPAC Visible? %4$s
staff.circ.copy_status.tab_name=Item Status
staff.circ.copy_status.action.complete=Action complete.
staff.circ.copy_status.sel_checkin.error=Checkin did not likely happen.