From cde86fb4c41fd5b5cb9f2421cc8d447615e46e81 Mon Sep 17 00:00:00 2001 From: miker Date: Mon, 6 Apr 2009 16:08:44 +0000 Subject: [PATCH] make PO formatting hooks passive; remove PO print hook, add PO html and pdf hooks git-svn-id: svn://svn.open-ils.org/ILS/trunk@12798 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/sql/Pg/400.schema.action_trigger.sql | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 a8b6e486a0..cb0342d158 100644 --- a/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql +++ b/Open-ILS/src/sql/Pg/400.schema.action_trigger.sql @@ -47,8 +47,9 @@ 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.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'); +INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES ('format.po.jedi','acqpo','Formats a Purchase Order as a JEDI document',TRUE); +INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES ('format.po.html','acqpo','Formats a Purchase Order as an HTML document',TRUE); +INSERT INTO action_trigger.hook (key,core_type,description,passive) VALUES ('format.po.pdf','acqpo','Formats a Purchase Order as a PDF document',TRUE); -- and much more, I'm sure -- Specialized collection modules. Given an FM object, gather some info and return a scalar or ref. -- 2.11.0