mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
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:
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
|
||||
|
||||
|
||||
Reference in new issue
Block a user