Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt

Use this file to discover all available pages before exploring further.

This screen lists fleet fuel log records and is available at /fm/fleet/fuel-logs.

Overview

The Fuel Logs page uses useFleetFuelLogs 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 permission fm.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 calculatedmpg_calculated stored per fuel log entry; when not available.
  • Price per gallonprice_per_gallon field displayed to 3 decimal places.
  • Date range — defaults to last 30 days; all removes date bounds.

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.
  • src/routes/fm.tsx
  • src/cores/fm/pages/FleetFuelLogsPage.tsx