Add property to TO that returns a list of the officers

This commit is contained in:
leigh-mil 2019-03-14 20:08:57 -04:00
parent 3182f3438e
commit e3956180b4

View File

@ -221,6 +221,14 @@ class TaskOrder(Base, mixins.TimestampsMixin):
"""
return self.so_invite and not self.security_officer
@property
def officers(self):
return [
self.contracting_officer,
self.contracting_officer_representative,
self.security_officer,
]
_OFFICER_PREFIXES = {
"contracting_officer": "ko",
"contracting_officer_representative": "cor",