diff --git a/src/registrar/models/domain_request.py b/src/registrar/models/domain_request.py index 1f9a50d99..511c49eb3 100644 --- a/src/registrar/models/domain_request.py +++ b/src/registrar/models/domain_request.py @@ -1401,3 +1401,12 @@ def converted_urbanization(self): if self.portfolio: return self.portfolio.urbanization return self.urbanization + + @property + def converted_senior_official(self): + if self.portfolio: + return self.portfolio.senior_official + else: + return self.senior_official + + \ No newline at end of file diff --git a/src/registrar/templates/includes/domain_request_status_manage.html b/src/registrar/templates/includes/domain_request_status_manage.html index ed9bfc764..30a06b070 100644 --- a/src/registrar/templates/includes/domain_request_status_manage.html +++ b/src/registrar/templates/includes/domain_request_status_manage.html @@ -181,8 +181,8 @@

Summary of your domain request

{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %} {% endif %} - {% if DomainRequest.senior_official %} - {% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.senior_official contact='true' heading_level=heading_level %} + {% if DomainRequest.converted_senior_official %} + {% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.converted_senior_official contact='true' heading_level=heading_level %} {% endif %} {% if DomainRequest.current_websites.all %} diff --git a/src/registrar/templates/includes/request_status_manage.html b/src/registrar/templates/includes/request_status_manage.html index 80389b393..4fd9341a8 100644 --- a/src/registrar/templates/includes/request_status_manage.html +++ b/src/registrar/templates/includes/request_status_manage.html @@ -181,8 +181,8 @@

Summary of your domain request

{% include "includes/summary_item.html" with title='About your organization' value=DomainRequest.about_your_organization heading_level=heading_level %} {% endif %} - {% if DomainRequest.senior_official %} - {% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.senior_official contact='true' heading_level=heading_level %} + {% if DomainRequest.converted_senior_official %} + {% include "includes/summary_item.html" with title='Senior official' value=DomainRequest.converted_senior_official contact='true' heading_level=heading_level %} {% endif %} {% if DomainRequest.current_websites.all %}