diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-11 16:25:12 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-11 16:25:12 +0100 |
commit | 24ea3fbd45503ca3fcfcac0bacb399af772c520b (patch) | |
tree | d784d289aac78bd5441ec04a8db0be1fef18233e /ctrack/register/models.py | |
parent | 777372e75bc46fa60e68afcf185642ed38d57e5c (diff) |
some more options in AVAILABLE_TYPES
Diffstat (limited to '')
-rw-r--r-- | ctrack/register/models.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/ctrack/register/models.py b/ctrack/register/models.py index 0358b00..673d9e0 100644 --- a/ctrack/register/models.py +++ b/ctrack/register/models.py @@ -16,10 +16,12 @@ class EventType(Enum): MEETING = auto() PHONE_CALL = auto() VIDEO_CALL = auto() + # single date caf events CAF_INITIAL_CAF_RECEIVED = auto() CAF_FEEDBACK_EMAILED_OES = auto() CAF_RECEIVED = auto() CAF_EMAILED_ROSA = auto() + # twin date caf events CAF_PEER_REVIEW_PERIOD = auto() CAF_VALIDATION_PERIOD = auto() CAF_VALIDATION_SIGN_OFF = auto() @@ -126,7 +128,9 @@ class MeetingEvent(EventBase, ThirdPartyEventMixin, SingleDateTimeEventMixin): class CAFSingleDateEvent(EventBase, CAFMixin, SingleDateMixin): AVAILABLE_TYPES = [ - (EventType.CAF_INITIAL_CAF_RECEIVED.name, "CAF - Initial CAF Received") + (EventType.CAF_INITIAL_CAF_RECEIVED.name, "CAF - Initial CAF Received"), + (EventType.CAF_RECEIVED.name, "CAF - Received"), + (EventType.CAF_EMAILED_ROSA.name, "CAF - Emailed to Rosa"), ] type_descriptor = models.CharField(max_length=50, choices=AVAILABLE_TYPES) |