Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
label="[% l('Add Items to Bucket') %]"></eg-grid-action>
<eg-grid-action handler="requestItems"
label="[% l('Request Items') %]"></eg-grid-action>
+ <eg-grid-action handler="view_place_orders"
+ label="[% l('View/Place Orders') %]"></eg-grid-action>
<eg-grid-action handler="attach_to_peer_bib"
label="[% l('Link as Conjoined to Previously Marked Bib Record') %]"></eg-grid-action>
<eg-grid-action handler="markLibAsVolTarget"
});
}
+ $scope.view_place_orders = function() {
+ if (!$scope.record_id) return;
+ var url = egCore.env.basePath + 'acq/legacy/lineitem/related/' + $scope.record_id + '?target=bib';
+ $timeout(function() { $window.open(url, '_blank') });
+ }
+
$scope.replaceBarcodes = function() {
var copy_list = gatherSelectedRawCopies();
if (copy_list.length == 0) return;