From: phasefx Date: Fri, 2 Apr 2010 15:58:12 +0000 (+0000) Subject: Flesh and show cancel_reason in the user request rejected template. I'm just correct... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=55a078c1015a4a690cf0a41b3d19b08670162341;p=evergreen%2Fmasslnc.git Flesh and show cancel_reason in the user request rejected template. I'm just correcting the existing upgrade script and seed data rather than roll a new one. git-svn-id: svn://svn.open-ils.org/ILS/trunk@16104 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/950.data.seed-values.sql b/Open-ILS/src/sql/Pg/950.data.seed-values.sql index 3ab237666d..e0a145c338 100644 --- a/Open-ILS/src/sql/Pg/950.data.seed-values.sql +++ b/Open-ILS/src/sql/Pg/950.data.seed-values.sql @@ -3581,7 +3581,7 @@ From: [%- params.sender_email || default_sender %] Subject: Acquisition Request Notification Dear [% user.family_name %], [% user.first_given_name %] -Our records indicate the following acquisition request has been rejected for this reason: . +Our records indicate the following acquisition request has been rejected for this reason: [% cancel_reason %] Title: [% title %] [% IF author %]Author: [% author %][% END %] @@ -3610,7 +3610,8 @@ INSERT INTO action_trigger.environment ( ( 17, 'usr' ), ( 18, 'usr' ), - ( 19, 'usr' ) + ( 19, 'usr' ), + ( 19, 'cancel_reason' ) ; SELECT SETVAL('action_trigger.event_definition_id_seq'::TEXT, 100); diff --git a/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql b/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql index 611a356694..7918f6548f 100644 --- a/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql +++ b/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql @@ -88,7 +88,7 @@ From: [%- params.sender_email || default_sender %] Subject: Acquisition Request Notification Dear [% user.family_name %], [% user.first_given_name %] -Our records indicate the following acquisition request has been rejected for this reason: . +Our records indicate the following acquisition request has been rejected for this reason: [% cancel_reason %] Title: [% title %] [% IF author %]Author: [% author %][% END %] @@ -104,7 +104,8 @@ INSERT INTO action_trigger.environment ( path ) VALUES ( 18, 'usr' ), - ( 19, 'usr' ) + ( 19, 'usr' ), + ( 19, 'cancel_reason' ) ; COMMIT;