Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIs - update to accommodate alternate name changes in business response #20148

Closed
5 tasks done
argush3 opened this issue Mar 1, 2024 · 0 comments
Closed
5 tasks done
Assignees
Labels
Entities - David A label to filter on the tickets for the Entities based team that David is PO for. ENTITY Business Team

Comments

@argush3
Copy link
Collaborator

argush3 commented Mar 1, 2024

The GET /business response will be changing to support name translation entries.

As such, the alternateNames fields will have some changes to support this.

Potentially just an update to use "name" which was previously returned as "operatingName" and maybe add an additional filter for nameType="DBA"

TODOs

  • Update Create UI as appropriate to support alternate names changes in GET /business response
  • Update Filings UI as appropriate to support alternate names changes in GET /business response
  • Update Edit UI as appropriate to support alternate names changes in GET /business response
  • Update tests as appropriate
  • Remove operatingName from alternateNames in GET business response once UIs have been deployed to Dev GCP

Sample GET /business response with name translations

{
  "business": {
    "alternateNames": [
      {
        "name": "SOME NAME TRANSLATION 1",
        "nameStartDate": "2022-05-01",
        "nameType": "TRANSLATION"
      },
      {
        "name": "SOME NAME TRANSLATION 2",
        "nameStartDate": "2022-05-03",
        "nameType": "TRANSLATION"
      },
      {
        "entityType": "GP",
        "identifier": "FM1000019",
        "name": "FOX FOOD CHAIN",
        "nameRegisteredDate": "2021-04-28T00:00:00+00:00",
        "nameStartDate": "2022-04-29",
        "nameType": "DBA"
      },
      {
        "entityType": "SP",
        "identifier": "FM1111111",
        "name": "SWIFT FOX SNACKS",
        "nameRegisteredDate": "2023-05-10T00:00:00+00:00",
        "nameStartDate": "2023-05-10",
        "nameType": "DBA"
      }
    ],
    "identifier": "FM1000019",
    "legalName": "FOX2 DO2, FOX3 DO3",
    "legalType": "GP"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Entities - David A label to filter on the tickets for the Entities based team that David is PO for. ENTITY Business Team
Projects
None yet
Development

No branches or pull requests

3 participants