How chkampawlow/el_fatoura_mobile works
El Fatoura Mobile is a Flutter companion for commercial operations handled by an existing PHP platform. The principal workflow is a user completing an operational task in the mobile UI, which communicates with the PHP JSON API; the backend applies authentication, company membership, permissions, and business rules before using its database. The README documents these capabilities, but no Dart application source was excerpted, so internal screen-to-service and service-to-repository calls are not asserted. Paths identify source files or directories present in the tree.
Main entry points: api_client.dart API client · main.dart App entry · screens Business workflows · auth_service.dart Session and identity
Components 20
Mobile application
- App entry
lib/main.dart - Authentication flows
lib/screens - Permission-aware UI
lib/screens
Commercial operations
- Business workflows
lib/screens - Dashboard and search
lib/screens - Supplier receptions
lib/screens/supplier_receptions_screen.dart - Accounting review
lib/screens/accounting_review_screen.dart - Document center
lib/screens/document_center_screen.dart
Platform services
- Session and identity
lib/services/auth_service.dart - API client
lib/core/api_client.dart - API and local repositories
lib/storage
Capture and exports
- Capture and extractor review
lib/screens - Barcode scanning
lib/screens/product_barcode_scanner_screen.dart - PDF and XML
lib/services - Optional assistant
lib/services/assistant_service.dart
Other components
- Mobile user
- PHP JSON API
- Auth and membership
- Business services
- MariaDB / MySQL
Connections 21
- Mobile user → App entry: uses
- App entry → Authentication flows: presents
- App entry → Business workflows: presents
- Mobile user → Authentication flows: authenticates
- Authentication flows → Session and identity: handles sessions
- Session and identity → API client: sends requests
- Business workflows → Permission-aware UI: checks access
- Business workflows → API client: uses API
README.md - Dashboard and search → API client: uses API
- Supplier receptions → API client: submits reception
- Accounting review → API client: uses API
- Document center → API client: uses API
- Capture and extractor review → API client: uses API
- Barcode scanning → API client: uses API
- PDF and XML → API client: uses API
- Optional assistant → API client: optional integration
- API client → PHP JSON API: sends requests
README.md - PHP JSON API → Auth and membership: authenticates
README.md - Auth and membership → Business services: authorizes
README.md - Business services → MariaDB / MySQL: reads and writes
README.md - API and local repositories → API client: uses API