Overview
Company Management provides tools for creating and managing transport companies, assigning drivers, and monitoring company performance within the Viax platform.Transport Company Entity
Companies are represented by a comprehensive entity:admin/domain/entities/empresa_transporte.dart
Company States
- Active
- Inactive
- Suspended
- Pending
- Deleted
Status:
activoDisplay: ActivoCompany is operational and accepting driversEstado Enum Implementation
admin/domain/entities/empresa_transporte.dart
Company Statistics
Track platform-wide company metrics:admin/domain/entities/empresa_transporte.dart
Total Companies
All registered transport companies
Active Companies
Currently operational companies
Total Drivers
Drivers across all companies
Verified Companies
Companies with verified credentials
Pending
Companies awaiting verification
Total Trips
Completed trips across all companies
Company Information Fields
Basic Information
Contact Information
Legal Representative
Service Configuration
Performance Metrics
Vehicle Types
Companies can support multiple vehicle categories:Motorcycle
motoStandard motorcycle transportCar
carroPassenger vehicle serviceCargo Moto
moto_cargaMotorcycle delivery serviceCargo Van
carro_cargaVan/truck cargo serviceCompany Repository
Data access layer for company operations:admin/domain/repositories/empresa_repository.dart
Company Provider
State management for company operations:admin/presentation/providers/empresa_provider.dart
Commission Configuration
Set platform commission rates per company:1
Navigate to Company
Select a company from the list
2
Edit Commission
Tap “Edit” and locate the commission field
3
Enter Percentage
Set the commission percentage (e.g., 15.0 for 15%)
4
Save Changes
Confirm to apply the new commission rate
Default commission is 15%. This can be customized per company based on agreements.
Assigning Drivers to Companies
Drivers can be assigned to companies for proper organization:Company Verification
Verify company credentials before activation:Platform Earnings by Company
Track commissions owed by each company:admin/presentation/screens/platform_earnings_screen.dart
Earnings Calculation
Company CopyWith Method
Immutable updates to company entities:admin/domain/entities/empresa_transporte.dart
Company Filtering
Filter companies by various criteria:- By Status
- By Verification
- By Vehicle Type
- By Performance
Filter by
activo, inactivo, suspendido, pendiente, or eliminadoBest Practices
Verify Before Activation
Verify Before Activation
Always verify company credentials (NIT, legal representative, insurance) before approving.
Set Fair Commissions
Set Fair Commissions
Set commission rates based on service type, volume, and agreements. Standard is 15%.
Monitor Performance
Monitor Performance
Regularly review company metrics like completion rate, driver count, and customer ratings.
Track Payments
Track Payments
Use the Platform Earnings screen to monitor commission payments from companies.
Document Changes
Document Changes
Use the notes field to document important changes or agreements with companies.
Related Features
Driver Management
Assign drivers to companies
User Management
Manage company user accounts
Pricing Configuration
Set pricing by vehicle type