modify domain request summary email

This commit is contained in:
matthewswspence 2025-03-14 09:31:34 -05:00
parent 4c089ff904
commit e86ad5f9a8
No known key found for this signature in database
GPG key ID: FB458202A7852BA4
2 changed files with 42 additions and 4 deletions

View file

@ -1005,11 +1005,13 @@ class DomainRequest(TimeStampedModel):
if not context:
has_organization_feature_flag = flag_is_active_for_user(recipient, "organization_feature")
is_org_user = has_organization_feature_flag and recipient.has_view_portfolio_permission(self.portfolio)
requires_feb_questions = self.requires_feb_questions()
context = {
"domain_request": self,
# This is the user that we refer to in the email
"recipient": recipient,
"is_org_user": is_org_user,
"requires_feb_questions": requires_feb_questions,
}
if custom_email_content: