Skip to content

Company and Branch Selection #97

Description

@johnenrick

Scenario
After the user logged in, the user will then select which company and/or branch if they have multiple company and/or branch

Flow

  1. The user logged in successfully
  2. The system will then check if it the user has multiple company. If it has go to step 3, else go to step 4
  3. Ask the user which company to use
  4. The system will then check if it the user has multiple branch in the selected company. If it has go to step 5, else go to step 6
  5. Ask the user which branch to use
  6. Set save company and branch to cookies

Task

  • Create a page for selecting company and branch
  • Redirect the user after logged in to company and branch selection page if it has multiple company/branch
  • Set the cookies using the function setCompany in service/auth

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions