mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-14 13:34:10 +02:00
aligned logic on federal type across the application
This commit is contained in:
parent
f5429b97b0
commit
e15499e4a6
5 changed files with 31 additions and 27 deletions
|
@ -1454,7 +1454,9 @@ class DomainRequest(TimeStampedModel):
|
|||
def converted_federal_type(self):
|
||||
if self.portfolio:
|
||||
return self.portfolio.federal_type
|
||||
return self.federal_type
|
||||
elif self.federal_agency:
|
||||
return self.federal_agency.federal_type
|
||||
return None
|
||||
|
||||
@property
|
||||
def converted_address_line1(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue