Feature #3112
openTruck Fule Performance
100%
Description
Develop the Truck Fuel Performance feature for the Indoguna system. This feature will display fuel usage performance by truck, including fuel consumption, distance, fuel efficiency, and fuel cost.
The report should help users monitor truck fuel usage, identify high-consumption trucks, and compare fuel efficiency between trucks.
Requirement
Create report/API for Truck Fuel Performance
Get fuel usage data by truck
Display total fuel used, total distance, average fuel efficiency, and fuel cost
Calculate fuel efficiency using distance and fuel consumption
Show high-consumption trucks and low-efficiency trucks
Support filter by date range, truck, truck type, driver, and status if available
Return truck, truck type, driver, distance, fuel used, fuel cost, and fuel efficiency
Ensure API response is easy for front-end dashboard and table integration
Expected Output
The system should display accurate truck fuel performance data, allowing users to monitor fuel usage, compare truck efficiency, and identify trucks that require cost control or performance improvement.