<desc xml:lang="en-US">This requested action would result in a negative patron balance</desc>
</event>
<event code='7016' textcode='ITEM_ON_HOLDS_SHELF'>
- <desc xml:lang="en-US">This item is currently on the holds shelf for another patron</desc>
+ <desc xml:lang="en-US">This item is currently on the holds shelf for another patron:</desc>
</event>
<event code='7017' textcode='ROUTE_TO_COPY_LOCATION'>
<desc xml:lang="en-US">
if ($holdau) {
$payload->{patron_name} = $holdau->first_given_name . ' ' . $holdau->family_name;
+ $payload->{patron_id} = $holdau->id;
} else {
$payload->{patron_name} = "???";
}
'coust', 'description'),
'bool');
-INSERT INTO actor.org_unit_setting (
- org_unit, name, value
-) VALUES (
- (SELECT id FROM actor.org_unit WHERE parent_ou IS NULL),
- 'circ.clear_hold_on_checkout',
- 'false'
-);
-
INSERT INTO config.org_unit_setting_type
( name, grp, label, description, datatype )
VALUES
'coust', 'description'),
'bool');
-INSERT INTO actor.org_unit_setting (
- org_unit, name, value
-) VALUES (
- (SELECT id FROM actor.org_unit WHERE parent_ou IS NULL),
- 'circ.clear_hold_on_checkout',
- 'false'
-);
-
COMMIT;
<div class="panel-body">
<div ng-if="copy_barcode" class="strong-text-2">{{copy_barcode}}</div>
{{evt.desc}}
- <div ng-if="evt.textcode == 'ITEM_ON_HOLDS_SHELF'">
- [% l('for ') %] {{patronName}}.
+ <div ng-if="evt.textcode == 'ITEM_ON_HOLDS_SHELF'">
+ <a target="_blank" href="[% ctx.base_path %]/staff/circ/patron/{{patronID}}/checkout">{{patronName}}</a>.
<div>
<label><input type="checkbox" ng-model="formdata.clearHold"/>
[% l('Cancel this hold upon checkout?') %]</label>
$scope.patronName = $scope.holdEvent.payload.patron_name;
$scope.holdID = $scope.holdEvent.payload.hold_id;
+ $scope.patronID = $scope.holdEvent.payload.patron_id;
}
$scope.auto_override =