[open-ils-commits] r12753 - trunk/Open-ILS/src/sql/Pg (erickson)
svn at svn.open-ils.org
svn at svn.open-ils.org
Wed Apr 1 15:15:19 EDT 2009
Author: erickson
Date: 2009-04-01 15:15:13 -0400 (Wed, 01 Apr 2009)
New Revision: 12753
Modified:
trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
Log:
instead of generic format.po hook, let's use specific format.po.jedi and format.po.print so we can find the right event_def at runtime
Modified: trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql 2009-04-01 19:03:58 UTC (rev 12752)
+++ trunk/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql 2009-04-01 19:15:13 UTC (rev 12753)
@@ -47,7 +47,8 @@
INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('penalty.PATRON_EXCEEDS_OVERDUE_COUNT','au','Patron has exceeded allowed overdue count');
INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('penalty.PATRON_EXCEEDS_CHECKOUT_COUNT','au','Patron has exceeded allowed checkout count');
INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('penalty.PATRON_EXCEEDS_COLLECTIONS_WARNING','au','Patron has exceeded maximum fine amount for collections department warning');
-INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('format.po','acqpo','Formats a Purchase Order according to the configured template');
+INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('format.po.jedi','acqpo','Formats a Purchase Order as a JEDI document');
+INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('format.po.print','acqpo','Formats a Purchase Order for printing');
-- and much more, I'm sure
-- Specialized collection modules. Given an FM object, gather some info and return a scalar or ref.
More information about the open-ils-commits
mailing list