show financial verification data for existing task order

This commit is contained in:
dandds
2018-09-11 17:35:42 -04:00
parent 8f5d6defce
commit a7fbd386e0
6 changed files with 42 additions and 14 deletions

View File

@@ -39,3 +39,10 @@ class TaskOrder(Base):
@property
def verified(self):
return self.source == Source.EDA
def to_dictionary(self):
return {
c.name: getattr(self, c.name)
for c in self.__table__.columns
if c.name not in ["id", "attachment_id"]
}