[open-ils-commits] r16104 - in trunk/Open-ILS/src/sql/Pg: . upgrade (phasefx)

svn at svn.open-ils.org svn at svn.open-ils.org
Fri Apr 2 11:58:15 EDT 2010


Author: phasefx
Date: 2010-04-02 11:58:12 -0400 (Fri, 02 Apr 2010)
New Revision: 16104

Modified:
   trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
   trunk/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql
Log:
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.


Modified: trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-04-02 15:48:02 UTC (rev 16103)
+++ trunk/Open-ILS/src/sql/Pg/950.data.seed-values.sql	2010-04-02 15:58:12 UTC (rev 16104)
@@ -3581,7 +3581,7 @@
 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 @@
         ( 17, 'usr' ),
 
         ( 18, 'usr' ),
-        ( 19, 'usr' )
+        ( 19, 'usr' ),
+        ( 19, 'cancel_reason' )
     ;
 
 SELECT SETVAL('action_trigger.event_definition_id_seq'::TEXT, 100);

Modified: trunk/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql	2010-04-02 15:48:02 UTC (rev 16103)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0222.data.acq.patron_requests.sql	2010-04-02 15:58:12 UTC (rev 16104)
@@ -88,7 +88,7 @@
 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 @@
         path
     ) VALUES 
         ( 18, 'usr' ),
-        ( 19, 'usr' )
+        ( 19, 'usr' ),
+        ( 19, 'cancel_reason' )
     ;
 
 COMMIT;



More information about the open-ils-commits mailing list