Open lmcclung opened 4 years ago
What is this ticket? Does it have to do with saving the folio number when a business is incorporated?
@severinbeauvais it was created at the time we created tickets for turning things into shared components. I think we can repurpose this for our IA story 6705. I've added that epic.
I think Thor was talking about moving this into LEAR? @thorwolpert
When a user enters a folio number while incorporating a business, that business folio number needs to be saved to the Auth db.
You can't update the folio until you hav created the business, so that's why the legal API has to do it.
You can copy this Auth API call from the Edit UI. See https://github.com/bcgov/business-edit-ui/blob/main/src/components/YourCompany/FolioInformation.vue and work your way down to the auth-api-mixin, interfaces, etc.
[ ] this needs to be fixed for the BEN IA as well.
[ ] Add postman tests!