Check that request is financially verified before approving
This commit is contained in:
@@ -35,3 +35,11 @@ class Request(Base):
|
||||
def annual_spend(self):
|
||||
monthly = self.body.get("details_of_use", {}).get("estimated_monthly_spend", 0)
|
||||
return monthly * 12
|
||||
|
||||
@property
|
||||
def financial_verification(self):
|
||||
return self.body.get("financial_verification")
|
||||
|
||||
@property
|
||||
def is_financially_verified(self):
|
||||
return self.task_order is not None
|
||||
|
Reference in New Issue
Block a user