Screens / Business profile
Business profile
Business name and timezone, saved with Save changes (`settings.manage`). Uses the Settings controller.
- App routes
/settings/business- Access
- settings.manage, items.manage, stock.manage, expenses.manage
- Screen code
lib/screens/settings/business_profile_page.dartlib/screens/settings/settings_controller.dart- Source
- elmermj/panly-app @ pre-staging-test (72aaffd)
API calls (2)
| Call | Why the screen makes it | Where in the app code |
|---|---|---|
GET /v1/merchants/meGet my merchant (tier, storage usage) |
Load the profile | lib/screens/settings/settings_controller.dart:108lib/data/repositories/settings_repository.dart:14 |
PATCH /v1/merchants/meUpdate my merchant |
Save name and timezone | lib/screens/settings/business_profile_page.dart:129lib/screens/settings/settings_controller.dart:183lib/data/repositories/settings_repository.dart:25 |
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.