Status report readable in dark mode and Back no longer breaks the theme; drop the Overview's Coming due card

The report layout now always loads as a full page (turbo-visit-control
reload) and without Turbo (an inline Print handler), so the app's dark theme
isn't carried onto the white report and the report's styles aren't left
behind on Back. Coming due repeated the Airworthiness card, so it's gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-11 21:45:54 -05:00
1 parent 31ac991bab
commit 7552e4a8a3
8 files changed
+21 -46

No files matched your search

-1
View File
@@ -14,7 +14,6 @@ class AircraftController < ApplicationController
@notes = @aircraft.notes.recent_first.includes(:user).limit(5)
@oil = ConsumptionStats.new(@aircraft, "oil")
@fuel = ConsumptionStats.new(@aircraft, "fuel")
@coming_due = DueList.new(@aircraft).soon
last = @aircraft.flight_logs.recent_first.first
@last_day = last && @aircraft.flight_logs.where(date: last.date).order(:created_at).to_a
end