From: erickson Date: Wed, 1 Apr 2009 19:15:13 +0000 (+0000) Subject: instead of generic format.po hook, let's use specific format.po.jedi and format.po... X-Git-Tag: sprint4-merge-nov22~10354 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=7a3c9322c2bc0eaaa2758ad05a78d50636f09b37;p=working%2FEvergreen.git 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 git-svn-id: svn://svn.open-ils.org/ILS/trunk@12753 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql b/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql index 6857edc2fa..a8b6e486a0 100644 --- a/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql +++ b/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql @@ -47,7 +47,8 @@ INSERT INTO action_trigger.hook (key,core_type,description) VALUES ('penalty.PAT 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.