From e0e18273d37e5a9d98b5a77e8d8afd968617803e Mon Sep 17 00:00:00 2001 From: Jason Etheridge Date: Mon, 13 Feb 2017 11:21:43 -0500 Subject: [PATCH] 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 --- .../src/templates/staff/cat/item/t_list.tt2 | 4 ++ .../web/js/ui/default/staff/cat/item/app.js | 58 +++++++++++++++++++ 2 files changed, 62 insertions(+) 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; -- 2.43.2