SuiteCRM
SuiteCRM copied to clipboard
Fix #9721 - Adding Years option to aow_date_type_list in Workflow ditions
- Closes #9721
Description
This PR adds the year option to the aow_date_type_list. Adding the item to the list is enough to make it work. Cause the code will use the internal name as it is.
Motivation and Context
This small change will add improve functionality
How To Test This
- Create a workflow based in Contacts
- Select Birthdate field in conditions
- Select Today, "+" and check it appears condition
- Select the condition and trigger an action to test it.
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [x] Breaking change (fix or feature that would cause existing functionality to change)
Final checklist
- [x] My code follows the code style of this project found here.
- [ ] My change requires a change to the documentation.
- [x] I have read the How to Contribute guidelines.