Screens / Onboarding (new-owner setup)
Onboarding (new-owner setup)
New-owner setup (PAN-78, PAN-79, PAN-80, PAN-82, PAN-90), reached by the startup gate while the business's setup is not finished (owner only, `settings.manage`). Steps: business (name, type, currency; the currency picker is PAN-90, and the currency locks once chosen), businesses, team (team size), stock, payroll, summary, plan (Premium with add-ons; there is no Free plan to pick, and a business that already paid skips this step, PAN-119) and done. The server holds the progress (current_step and answers), so a refresh or another device resumes where the owner stopped; every move is one PATCH with a fresh Idempotency-Key, reused only when the identical request is sent again after a failure. Another business of an owner already set up gets a shorter flow without the plan step. A sign-out menu sits at the top right. Leaving without finishing is possible only when the first load failed.
- App routes
/onboarding- Access
- settings.manage
- Screen code
lib/screens/onboarding/onboarding_page.dartlib/screens/onboarding/onboarding_controller.dartlib/screens/onboarding/onboarding_bindings.dartlib/screens/onboarding/onboarding_copy.dartlib/screens/onboarding/onboarding_drafts.dartlib/screens/onboarding/widgets/business_step.dartlib/screens/onboarding/widgets/businesses_step.dartlib/screens/onboarding/widgets/team_step.dartlib/screens/onboarding/widgets/stock_step.dartlib/screens/onboarding/widgets/payroll_step.dartlib/screens/onboarding/widgets/summary_step.dartlib/screens/onboarding/widgets/plan_step.dartlib/screens/onboarding/widgets/payment_stub_step.dartlib/screens/onboarding/widgets/done_step.dartlib/screens/onboarding/widgets/currency_sheet.dartlib/core/navigation/onboarding_gate.dartlib/data/repositories/onboarding_repository.dart- Source
- elmermj/panly-app @ pre-staging-test (72aaffd)
API calls (8)
Each call links to its operation in the API reference. Code locations are file:line in panly-app at 72aaffd, listed from the screen down to the line that sends the request.