/fm/fleet/fuel-logs.
Overview
The Fuel Logs page usesuseFleetFuelLogs with URL-synced filters: vehicle, driver, fuel type, and date range (today, week, month, 30d, 90d, all — defaulting to 30 days). Page size is 20. Three summary cards display Total Cost, Total Gallons, and Avg MPG for the filtered result set. An optional filter panel exposes vehicle, driver, fuel type, and date range dropdowns. The main data table (desktop) shows: Date, Vehicle, Driver, Fuel Type, Gallons, Cost, $/Gallon, MPG, Station. A mobile card layout renders the same data in a stacked format. Pagination appears when total pages exceed one. A Log Fuel button opens FleetFuelLogFormDialog.
Who it’s for
Requires permissionfm.dashboard.view. Logging fuel may require fm.fleet.create — confirm with SME.
Before you start
- Vehicles and drivers must exist to populate filter dropdowns.
Steps
1
Open Fuel Logs
Navigate to
/fm/fleet/fuel-logs via the Fleet menu.2
Review summary cards
Check Total Cost, Total Gallons, and Avg MPG for the default 30-day period.
3
Apply filters
Click Filters to expand the filter panel; select a date range, vehicle, driver, or fuel type.
4
Browse records
Review the fuel log table (desktop) or cards (mobile).
5
Log a fuel purchase
Click Log Fuel to open the creation dialog; provide vehicle, fuel type, gallons, total cost, and station details.
6
Paginate
Use Previous/Next to navigate large result sets.
Key concepts
- MPG calculated —
mpg_calculatedstored per fuel log entry;—when not available. - Price per gallon —
price_per_gallonfield displayed to 3 decimal places. - Date range — defaults to last 30 days;
allremoves date bounds.
Related
Facilities & Inventory
Facilities & Inventory core overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/fm.tsx
- src/cores/fm/pages/FleetFuelLogsPage.tsx