From 7de434d7689ea0e4e1af12c43735c062e38c0de9 Mon Sep 17 00:00:00 2001 From: Cesar Velez Date: Tue, 30 Jan 2018 13:13:52 -0500 Subject: [PATCH] LP#1728147 - fix some Holds Pull List grid columns This adds a few missing columns to the Holds Pull List grid, and addresses a few display issues. New columns added are Hold Type, Circ Mod, Staff Hold, Email/Phone/SMS Notify, Copy Status Change Time, ISBN, Edition, Top of Queue, Total Holds, and Expire Date. Signed-off-by: Cesar Velez Signed-off-by: Galen Charlton Signed-off-by: Kathy Lussier --- .../src/templates/staff/circ/holds/t_pull_list.tt2 | 50 ++++++++++++---------- Open-ILS/web/js/ui/default/staff/circ/holds/app.js | 5 +++ 2 files changed, 33 insertions(+), 22 deletions(-) diff --git a/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 b/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 index e30ed9121d..d705c5c537 100644 --- a/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 +++ b/Open-ILS/src/templates/staff/circ/holds/t_pull_list.tt2 @@ -56,29 +56,13 @@ - {{item.shelving_loc}} - - - - - {{item.cn_prefix}} {{item.call_number_label}} {{item.cn_suffix}} - - - - + label="[% l('Call Number') %]"> + - @@ -126,15 +110,37 @@ hidden label="[% l('Request Library (Shortname)') %]"> - + + + + + + + + + + + + diff --git a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js index 00389fe947..6884502c42 100644 --- a/Open-ILS/web/js/ui/default/staff/circ/holds/app.js +++ b/Open-ILS/web/js/ui/default/staff/circ/holds/app.js @@ -316,6 +316,11 @@ function($scope , $q , $routeParams , $window , $location , egCore , angular.forEach(hold_info, function(val, key) { item[key] = val }); + // check if this is a staff-created hold + // i.e requestor's profile != 2 (patron) + + item['_is_staff_hold'] = item.hold.requestor().profile != 2; + }); } -- 2.11.0