mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-28 13:36:30 +02:00
Initial architecture for rejection reason
This commit is contained in:
parent
48b9206ffc
commit
9b23262d61
15 changed files with 306 additions and 82 deletions
|
@ -1994,7 +1994,7 @@ class DomainRequestAdmin(ListHeaderAdmin, ImportExportModelAdmin):
|
|||
# Set the rejection_reason_email to the default if nothing exists.
|
||||
# Since this check occurs after save, if the user enters a value then we won't update.
|
||||
|
||||
default_email = get_rejection_reason_default_email(obj, obj.action_needed_reason)
|
||||
default_email = get_rejection_reason_default_email(obj, obj.rejection_reason)
|
||||
if obj.rejection_reason_email:
|
||||
emails = get_all_rejection_reason_emails(obj)
|
||||
is_custom_email = obj.rejection_reason_email not in emails.values()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue