Merge remote-tracking branch 'origin/main' into rjm/811-approved-rejected-approved

This commit is contained in:
Rachid Mrad 2023-09-15 16:50:46 -04:00
commit f5bb77cef6
No known key found for this signature in database
GPG key ID: EF38E4CEC4A8F3CF
36 changed files with 1713 additions and 382 deletions

View file

@ -378,16 +378,10 @@ class DomainApplication(TimeStampedModel):
help_text="Urbanization (Puerto Rico only)",
)
type_of_work = models.TextField(
about_your_organization = models.TextField(
null=True,
blank=True,
help_text="Type of work of the organization",
)
more_organization_information = models.TextField(
null=True,
blank=True,
help_text="More information about your organization",
help_text="Information about your organization",
)
authorizing_official = models.ForeignKey(
@ -680,7 +674,7 @@ class DomainApplication(TimeStampedModel):
]
return bool(user_choice and user_choice not in excluded)
def show_type_of_work(self) -> bool:
def show_about_your_organization(self) -> bool:
"""Show this step if this is a special district or interstate."""
user_choice = self.organization_type
return user_choice in [