)
);
+INSERT INTO action_trigger.validator (module, description) VALUES (
+ 'PatronNotInCollections',
+ 'Event is valid if the linked patron is not in collections processing ' ||
+ 'at the context org unit'
+);
+
INSERT INTO action_trigger.event_definition
(id, active, owner, name, hook, validator, reactor, delay, delay_field)
VALUES (
49, FALSE, 1, '6 Month Overdue Mark Long-Overdue',
- 'checkout.due', 'CircIsOverdue',
+ 'checkout.due', 'PatronNotInCollections',
'MarkItemLongOverdue', '6 months', 'due_date'
);
INSERT INTO action_trigger.event_definition
(id, active, owner, name, hook, validator, reactor, group_field, template)
VALUES (
- 50, FALSE, 1, '90 Day Overdue Mark Long Overdue Notice',
+ 50, FALSE, 1, '6 Month Long Overdue Notice',
'longoverdue.auto', 'NOOP_True', 'SendEmail', 'usr',
$$
[%- USE date -%]