mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
- Logbook entries record the signer's kind of certificate and number and an inspection's result; maintenance and inspection entries list what 43.9 / 43.11 needs that's missing (flagged, not enforced). Transcription reads the certificate details too - AD compliance records the method (inspection, terminating action, AMOC, not applicable) and the AD revision complied with, filled in from the AD when blank; the method sets the permanent / N/A flags - Maintenance status report (91.417(a)(2)): total times, life-limited parts, time since overhaul, inspection and AD status, major alterations, open discrepancies; print or save as PDF; on maintenance share links too - Archives carry the new fields Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
337 B
Ruby
11 lines
337 B
Ruby
# Printable maintenance status report (Print / Save as PDF in the browser).
|
|
class MaintenanceReportsController < ApplicationController
|
|
include AircraftScoped
|
|
|
|
def show
|
|
@report = MaintenanceReport.new(@aircraft)
|
|
log_event("aircraft", "Maintenance status report viewed") if params[:print]
|
|
render layout: "report"
|
|
end
|
|
end
|