Add trigger for relationship end date and action for removing contact sub type
Overview
This pr adds a new trigger that would check if there are any relationships that have expired. It also adds a new action for removing the sub type for a contact.
Technical Details
- This pr adds a new trigger as
CRM/CivirulesCronTrigger/RelationshipEndDate.php
it queries thecivicrm_relationship
table and checks if there are any relationships that have end dates in past. - This pr adds a new action as
CRM/CivirulesActions/Contact/RemoveSubtype.php
it removes the sub type of a contact.