From: Jason Etheridge Date: Mon, 13 Feb 2017 16:21:43 +0000 (-0500) Subject: webstaff: toward booking from Item Status X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=e0e18273d37e5a9d98b5a77e8d8afd968617803e;p=contrib%2FConifer.git webstaff: toward booking from Item Status This patch also offers an improvement from the XUL version, as batches involving multiple bibs are now correctly handled. Signed-off-by: Jason Etheridge Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 index 087c4e043a..f152ac887d 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -9,6 +9,10 @@ + + 0) { + $uibModal.open({ + template: '', + animation: true, + size: 'md', + controller: + ['$scope','$location','egCore','$uibModalInstance', + function($scope , $location , egCore , $uibModalInstance) { + + $scope.funcs = { + ses : egCore.auth.token(), + resultant_brsrc : combined_results.map(function(o) { return o[0]; }) + } + + var booking_path = '/eg/conify/global/booking/resource'; + + $scope.booking_admin_url = + $location.absUrl().replace(/\/eg\/staff.*/, booking_path); + }] + }); + } + }); + } + $scope.requestItems = function() { var copy_list = gatherSelectedHoldingsIds(); if (copy_list.length == 0) return;