Skip to content

Commit

Permalink
Merge pull request #130 from ministryofjustice/LGA-3003-Callback-capp…
Browse files Browse the repository at this point in the history
…ing-create-callback-types

LGA-3003 Add callback type choices
  • Loading branch information
BenMillar-CGI committed Mar 21, 2024
2 parents 309622d + 6c23a21 commit 3cfd8c5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cla_common/constants.py
Expand Up @@ -41,6 +41,16 @@
("PROVIDER", "2_provider", "Provider"),
)

CALLBACK_TYPES = Choices(
# constant, db_id, friendly string
# Callback requested by a CHS Operator
("OPERATOR", "chs_operator", "CHS Operator"),
# Callback requested for self via checker
("CHECKER_SELF", "web_form_self", "Web Form - Self"),
# Callback requested for a third-party via checker
("CHECKER_THIRD_PARTY", "web_form_third_party", "Web Form - Third Party"),
)

CALLBACK_WINDOW_TYPES = Choices(
# constant, db_id, friendly string
(
Expand Down

0 comments on commit 3cfd8c5

Please sign in to comment.