mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-27 00:52:50 +00:00
Backend: - FuelService.getAllFuelPurchases() now loads vehicle relationship - Uses leftJoinAndSelect to eagerly load Vehicle data - Returns complete FuelPurchase with nested vehicle object Frontend: - Table displays vehicle.registrationNumber (primary) - Falls back to vehicle.plateNumber if registration unavailable - Falls back to vehicleId as last resort Better UX: shows human-readable vehicle info instead of UUID. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>