Closed zac-broitman closed 1 year ago
https://app.zenhub.com/workspace/o/bcgov/entity/issues/12358
@zac-broitman related ticket -^
Questions remaining are: since this being treated as a filing, why are we not showing it in the ledger? If we are committed to not showing it in the ledger, then we are then committing to having "hidden" filings? Are there different rules for how these are shown based on if the user is a client or staff?
Julie Harding has confirmed that there are not any other filings she is aware of which would act like this, where it would be hidden and not shown on the ledger. Really this isn't a "filing" in but we are just treating it as such technically in the system.
From the design ticket it appears there will be just one warning banner about this that will be shown to both client and staff users. Staff will be able to communicate the reason for the freezing via the existing comments feature on the staff view of the entity dashboard.
We will not be treating this a filing, this will be treated as an immediate change to the entity (similar to a folio change). Treating this as a filing would introduce the concept of "hidden filings" which is a messy idea that will lead to confusion. For historical tracking, staff are able to to leave comments using the existing comments functionality when freezing/unfreezing.
A proper architecture needs to be implemented to handle all possible alerts. (The current alerts are a special case only and need to be refactored into the new architecture). This architecture ticket needs to be implemented first or at the same time: https://app.zenhub.com/workspaces/entities-team-space-6143567664fb320019b81f39/issues/bcgov/entity/13881
@ethantspitt could you take a look at this in DEV? You'll need to login as staff and navigate to a business.
Example here:
https://dev.bcregistry.ca/business/FM1017072
Image updated by SB to show disabled Business Addresses and Proprietor Change buttons.
checked in dev, noted some wording change above
The "Detail" is common code (for other staff notations). Do you want it changed for all?
yes, thanks Sev,
@kialj876 Would it be possible for you to make the changes please.
sure yeah 👍
wording change in review ^
@ethantspitt Could you take a quick look and move the ticket along please Ethan?
Verified in Dev, ready for QA
Observation: When a business is frozen, its status is still showing active on the business registry dashboard. Not sure if this will be handled by another ticket? (on the UXpin, it shows a warning icon with message)
I believe it remains as "Active" as freezed is not really a business status in the same way Active or Historical are. It shows as Active in the business summary too.
Additionally, can someone update me when this is deployed to TEST?
@zac-broitman I was referring to the UXpin provided, it shows 'active' with an additional warning icon:
Ah I see, I don't think there is another ticket for that
@zac-broitman is it possible these conditions can happen all at once? EG. Dissolved / Liquidation / not in good standing / frozen?
Are there more possibilities for the future? or are we just implementing 4?
Our datamodel only has entity.STATUS
in sbc-auth
@ethantspitt
Could we change the STATUS to 'Frozen' instead of Active and avoid having the tooltip if a business can only be in one bad state at a time?
I believe Auth learns of business changes via the queue system. Maybe the necessary data is passed along already, just not recorded on Auth side?
There's still only a single field for status.. when it could be multiple values? If there are multiple statuses that need to be stored there would require a datamodel change to handle these statuses.
Doing it via queue would require an entirely new queue project in SBC-AUTH, as it's not possible to watch multiple queues at once in a single project.
This one watches NRs (specific queue it watches:
namerequest.state / namerequest-worker
) :
https://github.com/bcgov/sbc-auth/blob/main/queue_services/business-events-listener/src/business_events_listener/worker.py
This one watches for events from payment reconciliation:
I could be wrong about the queue. Maybe it's an API to API call.
The business' status is either Active or Historical. Whether it's frozen is a sub-type, which is presently being discussing with Thor/Argus/Vysakh. It may currently be a flag in the business object.
When the dashboard loads a true business (not an NR) it only calls affiliations (which includes the entity from sbc-auth)
At least in this case..
Sub-type sounds good Severin.. we could do that, but it would require data model changes. Which I think should be in another ticket - because it isn't a trivial task.
Yes, but those affiliations (which isn't a good name for what this data really is) are updated somehow when the business becomes historical, for example.
Probably some sort of PATCH on the entity to status.. let me look.. Yup confirmed it's in the PATCH to entity
Maybe we should just chat about this. If only we had a reliable chat service...
In seriousness, I'm not the one driving the subtype change. I'm only listening in. Here's the RFC that might change this: https://github.com/bcgov/entity/pull/14968
Thank you Severin! I think we should.
Auth / Business Dashboard - related changes here: https://github.com/bcgov/entity/issues/15134 https://github.com/bcgov/entity/issues/15135
@AshnaMehta please confirm on TEST, so we can close this one out. Thank you.
@seeker25 few changes please:
Closing, @AshnaMehta I've made the changes you've requested. Only functional change is the required detail box which already existed for other filings.
Acceptance Criteria
Scenario 1: Freezing an entity
Scenario 2: Unfreezing an entity
Scenario 3: Client viewing their entity while frozen
Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design https://preview.uxpin.com/d180f4fe21101c1545a8d8df2e8c57be318618e9#/pages/152797132/simulate/sitemap
Link to DoR for a US/ Feature https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoR%20-%20Relationships.md https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoR%20-%20Entity.md
Link to the DoD for a US/ Feature https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoD%20-%20Relationships.md https://github.com/bcgov/entity/blob/master/.github/ISSUE_TEMPLATE/DoD%20-%20Entity.md