aboutsummaryrefslogtreecommitdiffstats
path: root/ctrack
diff options
context:
space:
mode:
authorMatthew Lemon <lemon@matthewlemon.com>2020-10-02 13:25:51 +0100
committerMatthew Lemon <lemon@matthewlemon.com>2020-10-02 13:25:51 +0100
commit844804083d74731c6f275b25f01e6085271edc9e (patch)
treeb9eeb7d621d84a91489ef8d65fd50c2d6e9f938a /ctrack
parent894ad50cacd38d77f124c5ee69e59c741821cb56 (diff)
added some new CAF events
Diffstat (limited to 'ctrack')
-rw-r--r--ctrack/core/utils.py21
1 files changed, 14 insertions, 7 deletions
diff --git a/ctrack/core/utils.py b/ctrack/core/utils.py
index e239120..3c97366 100644
--- a/ctrack/core/utils.py
+++ b/ctrack/core/utils.py
@@ -204,16 +204,23 @@ def populate_db(**kwargs):
etf1 = EngagementTypeFactory(descriptor="Information Notice", enforcement_instrument=True)
etf2 = EngagementTypeFactory(descriptor="Designation Letter", enforcement_instrument=True)
etf3 = EngagementTypeFactory(
- descriptor="CAF - Initial Submission", enforcement_instrument=False
+ descriptor="CAF - Received from OES (Egress)", enforcement_instrument=False
)
- etf4 = EngagementTypeFactory(descriptor="Phone Call", enforcement_instrument=False)
- etf5 = EngagementTypeFactory(
+ EngagementTypeFactory(descriptor="Phone Call", enforcement_instrument=False)
+ EngagementTypeFactory(
descriptor="Video Conference", enforcement_instrument=False
)
- etf6 = EngagementTypeFactory(descriptor="Email", enforcement_instrument=False)
- etf7 = EngagementTypeFactory(descriptor="CAF - Initial Review Complete", enforcement_instrument=False)
- etf8 = EngagementTypeFactory(descriptor="CAF - Peer Review")
- EngagementTypeFactory(descriptor="CAF = Validation Complete")
+ EngagementTypeFactory(descriptor="Email", enforcement_instrument=False)
+ EngagementTypeFactory(descriptor="CAF - Initial Review", enforcement_instrument=False)
+ EngagementTypeFactory(descriptor="CAF - Peer Review")
+ EngagementTypeFactory(descriptor="CAF - Validation")
+ EngagementTypeFactory(descriptor="CAF - Sent to Rosa")
+ EngagementTypeFactory(descriptor="CAF - Received from OES (USB)")
+ EngagementTypeFactory(descriptor="Audit - Onsite")
+ EngagementTypeFactory(descriptor="Audit - Offsite")
+ EngagementTypeFactory(descriptor="Inspection - Onsite")
+ EngagementTypeFactory(descriptor="Inspection - Offsite")
+
EngagementEventFactory.create(type=etf1, user=user, participants=[p1, p2])
EngagementEventFactory.create(type=etf2, user=user, participants=[p3])