A CLINs TO should be signed in order to be active

This commit is contained in:
graham-dds 2019-12-10 11:12:00 -05:00
parent 9417cae493
commit cde3d7f6aa

View File

@ -65,4 +65,6 @@ class CLIN(Base, mixins.TimestampsMixin):
@property @property
def is_active(self): def is_active(self):
return self.start_date <= date.today() <= self.end_date return (
self.start_date <= date.today() <= self.end_date
) and self.task_order.signed_at