Record keeping: 43.9/43.11 sign-off fields, AD method, status report

- 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>
This commit is contained in:
rickyandClaude Opus 5.5 committed 2026-11-07 10:14:21 -05:00
1 parent a4b72cf2c1
commit a4ec7a691e
30 files changed
+515 -26

No files matched your search

+9
View File
@@ -5,6 +5,15 @@ class SharedController < ApplicationController
skip_before_action :redirect_to_setup
layout "public"
# The maintenance status report, for "Maintenance Detail" links (mechanics,
# inspectors, buyers).
def report
@share = ShareToken.find_active(params[:token]) or raise ActiveRecord::RecordNotFound
raise ActiveRecord::RecordNotFound unless @share.maintenance?
@report = MaintenanceReport.new(@share.aircraft)
render "maintenance_reports/show", layout: "report"
end
def show
@share = ShareToken.find_active(params[:token]) or raise ActiveRecord::RecordNotFound
@aircraft = @share.aircraft