Flights tab: flight log grouped by day (route chain, tach/Hobbs/fuel/oil totals), expand for the legs

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-11 18:44:11 -05:00
1 parent 0db17b3ba6
commit 7dbf180f76
5 files changed
+142 -23

No files matched your search

@@ -7,6 +7,7 @@ class FlightLogsController < ApplicationController
def index
@flight_logs = @aircraft.flight_logs.recent_first.includes(:user).with_attached_track_log.with_attached_engine_data
@days = FlightDay.group(@flight_logs)
@stats = FlightStats.new(@aircraft)
end