From f4a19555f2eca13d0a0bbc1a43d6e0fe25d0555c Mon Sep 17 00:00:00 2001 From: Adam Bowling Date: Wed, 6 Mar 2019 23:06:09 -0500 Subject: [PATCH] LP #1705497 Replaces functionality in web client from legacy XUL client by including a find function for originating acquisition where it exists. Signed-off-by: Adam Bowling Signed-off-by: Tiffany Little Signed-off-by: Chris Sharp --- .../src/templates/staff/cat/item/index.tt2 | 3 + .../src/templates/staff/cat/item/t_list.tt2 | 5 +- .../web/js/ui/default/staff/cat/item/app.js | 59 +++++++++++++++++-- 3 files changed, 60 insertions(+), 7 deletions(-) diff --git a/Open-ILS/src/templates/staff/cat/item/index.tt2 b/Open-ILS/src/templates/staff/cat/item/index.tt2 index 0a782812fc..8373049e04 100644 --- a/Open-ILS/src/templates/staff/cat/item/index.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/index.tt2 @@ -90,6 +90,9 @@
  • [% l('Cancel Transit') %]
  • [% l('Update Inventory') %]
  • +

    [% l('Show') %]

    +
  • [% l('Originating Acquisition') %]
  • +

    [% l('Mark') %]

  • [% l('Item as Damaged') %]
  • [% l('Item as Missing') %]
  • 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 7f67e46ded..acf90e4a58 100644 --- a/Open-ILS/src/templates/staff/cat/item/t_list.tt2 +++ b/Open-ILS/src/templates/staff/cat/item/t_list.tt2 @@ -1,3 +1,4 @@ + - + + 0) { + $scope.openAcquisitionLineItem(cp_list); + } + } + } + } + $scope.update_inventory = function() { var copy_list = gatherSelectedHoldingsIds(); itemSvc.updateInventory(copy_list, $scope.gridControls.allItems()).then(function(res) { -- 2.43.2