render basic approval action for ccpo logs on request review screen

This commit is contained in:
dandds
2018-09-13 14:15:25 -04:00
parent 3e38b5ff1a
commit 738cbb1c65
2 changed files with 4 additions and 1 deletions

View File

@@ -48,6 +48,8 @@ class RequestStatusEvent(Base):
def log_name(self):
if self.new_status == RequestStatus.CHANGES_REQUESTED:
return "Denied"
if self.new_status == RequestStatus.CHANGES_REQUESTED_TO_FINVER:
return "Denied"
elif self.new_status == RequestStatus.PENDING_FINANCIAL_VERIFICATION:
return "Accepted"
else: