Skip to content

Commit

Permalink
Merge pull request #2311 from uktrade/LTD-5804
Browse files Browse the repository at this point in the history
[LTD-5804] add in f680 approval advice type
  • Loading branch information
markj0hnst0n authored Jan 17, 2025
2 parents dbe293c + d7d09b2 commit 1f8c276
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions caseworker/advice/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@


TEAM_DECISION_APPROVED = "has approved"
TEAM_DECISION_APPROVED_F680 = "has approved this F680 application"
TEAM_DECISION_APPROVED_REFUSED = "has approved and refused"
TEAM_DECISION_PROVISO = "has approved with licence conditions"
TEAM_DECISION_REFUSED = "has refused"
Expand Down
2 changes: 2 additions & 0 deletions caseworker/advice/templatetags/advice_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,5 +220,7 @@ def _add_team_decisions(grouped_advice):
team_advice["decision"] = constants.TEAM_DECISION_PROVISO
elif decisions == {"Refuse"}:
team_advice["decision"] = constants.TEAM_DECISION_REFUSED
elif decisions == {"F680"}:
team_advice["decision"] = constants.TEAM_DECISION_APPROVED_F680
else:
team_advice["decision"] = constants.TEAM_DECISION_APPROVED_REFUSED

0 comments on commit 1f8c276

Please sign in to comment.