From: Cesar Velez Date: Thu, 12 Oct 2017 21:31:37 +0000 (-0400) Subject: LP#1719967 - Add alert message field to volcopy editor X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=8d8dd0dfdd838e01a1b0a00acb452178612d9547;p=Evergreen.git LP#1719967 - Add alert message field to volcopy editor As 1676608 was deferred to 3.1, this adds a copy alert_message field, to the volcopy editor. The defaults tab "Alerts" checkbox has been replaced by "Alert Message" and this new field will be active until replaced by the changes of 3.1. Signed-off by: Cesar Velez Signed-off-by: Mike Rylander Signed-off-by: Kathy Lussier --- diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 index d67c833113..4916745225 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_attr_edit.tt2 @@ -98,7 +98,7 @@ [% l('Status') %]
- [% l('Statistical Categories') %] + [% l('Copy Alert') %]
@@ -138,6 +138,7 @@
[% l('Reference?') %]
+
@@ -405,13 +406,33 @@
+ +
+
+
+
+ +
+
+
+
+ +
- +
+
+ Statistical Categories +
+
+
+ +
@@ -437,6 +458,7 @@
+ diff --git a/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 b/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 index 44b328beb0..d959594b7e 100644 --- a/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 +++ b/Open-ILS/src/templates/staff/cat/volcopy/t_defaults.tt2 @@ -102,8 +102,9 @@
diff --git a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js index e7d9f003c7..5626129a33 100644 --- a/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js +++ b/Open-ILS/web/js/ui/default/staff/cat/volcopy/app.js @@ -833,7 +833,8 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , location : true, holdable : true, age_protect : true, - floating : true + floating : true, + alert_message : true } }; @@ -1576,6 +1577,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , createSimpleUpdateWatcher('mint_condition'); createSimpleUpdateWatcher('opac_visible'); createSimpleUpdateWatcher('ref'); + createSimpleUpdateWatcher('alert_message'); $scope.saveCompletedCopies = function (and_exit) { var cnHash = {}; @@ -2011,6 +2013,7 @@ function($scope , $q , $window , $routeParams , $location , $timeout , egCore , createSimpleUpdateWatcher('mint_condition'); createSimpleUpdateWatcher('opac_visible'); createSimpleUpdateWatcher('ref'); + createSimpleUpdateWatcher('alert_message'); $scope.suffix_list = []; itemSvc.get_suffixes(egCore.auth.user().ws_ou()).then(function(list){