Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Important
-
Resolution: Unresolved
-
Affects Version/s: 4.7
-
Fix Version/s: 4.7.23
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:Developer Doc
-
Epic Link:
-
Funding Source:Core Team Contract
-
Verified?:No
Description
Currently CiviCRM has a loosly-defined concept of "overdue" activities. Activity statuses are configurable and can be ambiguous as to whether the activity is completed or not. This improvement:
- Adds a class to each activity status to indicate whether it represents a completed or incomplete activity.
- Exposes this to the UI when configuring activity statuses.
- Adds helper functions for determining whether an activity is overdue.
- Adds a pseudo-field to the activity api "is_overdue" which allows sorting and filtering.