Files
edr-platform/apps/edr-freight-web/backoffice/src
natib21 6a4a3d464a improve: fleet dashboard UI + add drivers
UI Improvements:
- Better card design with gradient icons
- Added title + description section
- Improved stat card layout (gradient backgrounds)
- Added change percentage badges
- Better color scheme (blue, cyan, orange, red)
- Striped + highlight on hover for tables
- Tab interface for vehicles/drivers

Driver Management:
- Fetch drivers from /drivers API
- Display driver list in table
- Show driver name, license, contact info
- Display assigned/unassigned status
- Count total drivers + assigned drivers in metrics

Metrics now show:
1. Total Vehicles
2. Total Drivers (NEW)
3. Fuel Spend
4. Maintenance Spend
5. Status breakdowns
6. Cost breakdown pie chart

Tabs show:
- Vehicles with registration, plate, model, status
- Drivers with name, license, contact, assignment

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-06-30 13:46:58 +00:00
..
2026-06-27 12:54:57 +03:00
fix
2026-06-29 14:45:22 +00:00
2026-06-29 12:45:40 +03:00
2026-05-12 15:17:16 +03:00
2026-06-19 16:24:20 +03:00
2026-06-23 13:14:06 +00:00
2026-06-30 13:38:35 +00:00