% a = @report.aircraft %> <% clock = a.time_basis_label.downcase %> <% content_for :title, "#{a.tail_number} Maintenance Status" %> <% section = "mt-6 break-inside-avoid-page" %> <% th = "border-b border-slate-300 py-1 pr-3 text-left text-[11px] font-semibold uppercase tracking-wide text-slate-500" %> <% td = "border-b border-slate-100 py-1 pr-3 align-top" %>
Maintenance status · 14 CFR 91.417(a)(2)
Serial number <%= a.serial_number.presence || "—" %>
| Item | Make / model | Serial | Total time | Since overhaul | Overhauled |
|---|---|---|---|---|---|
| <%= c %> | <%= [ c.manufacturer, c.model ].compact_blank.join(" ") %> | <%= c.serial_number.presence || "—" %> | <%= hours(c.hours_in_service) %> | <%= hours(c.hours_since_overhaul) %> | <%= c.overhaul_date || "—" %> |
No engines or propellers recorded as components.
<% end %>| Part | Serial | Limit | Used | Remaining | Status |
|---|---|---|---|---|---|
| <%= c %> <%= c.model %> | <%= c.serial_number.presence || "—" %> | <%= [ (c.replacement_hours && "#{hours(c.replacement_hours)} hrs"), (c.replacement_days && "#{c.replacement_days} days") ].compact.join(" / ") %> | <%= hours(c.hours_since_overhaul) %> hrs | <%= [ (c.hours_to_replacement && "#{hours(c.hours_to_replacement)} hrs"), (c.next_replacement_date && "by #{c.next_replacement_date}") ].compact.join(", ") %> | <%= life_badge(c.life_status) %> |
None recorded.
<% end %>| Item | Serial | Overhaul interval | Since overhaul | Remaining | Tracked as |
|---|---|---|---|---|---|
| <%= c %> <%= c.model %> | <%= c.serial_number.presence || "—" %> | <%= [ (c.tbo_hours && "#{hours(c.tbo_hours)} hrs"), (c.tbo_days && "#{c.tbo_days} days") ].compact.join(" / ") %> | <%= hours(c.hours_since_overhaul) %> hrs | <%= c.on_condition? ? "On condition" : (c.hours_to_tbo ? "#{hours(c.hours_to_tbo)} hrs" : "—") %> | <%= c.tbo_critical? ? "Hard limit" : "Recommended" %> |
None recorded.
<% end %>| Inspection | Interval | Last done | Since | Next due | Status |
|---|---|---|---|---|---|
| <%= row.type.name %><% if row.type.satisfies %> Also counts as <%= row.type.satisfies.name %> <% end %> |
<%= row.type.interval_description %> | <%= last ? "#{last.date}#{" @ #{hours(last.hours_at_inspection)}" if last.hours_at_inspection}" : "Never" %><%= " (#{last.inspection_type.name})" if last && last.inspection_type != row.type %> | <%= last&.hours_at_inspection ? "#{hours(@report.time_in_service - last.hours_at_inspection)} hrs" : "—" %> | <%= [ row.next_due_date&.to_s, row.next_due_hours && "#{hours(row.next_due_hours)} hrs" ].compact.join(" / ").presence || "—" %> | <%= compliance_badge(row.status) %> |
No inspections tracked.
<% end %>| AD | Revision complied with | Method of compliance | Complied | Recurring / next due | Status |
|---|---|---|---|---|---|
| <%= row.ad.name %> <%= row.ad.short_description.to_s.truncate(70) %> |
<%= c&.ad_revision.presence || "—" %> | <%= c ? c.method_label : "—" %><% if c&.compliance_notes.present? %> <%= c.compliance_notes.truncate(90) %> <% end %> |
<%= c ? "#{c.date_complied}#{" @ #{hours(c.aircraft_hours_at_compliance)}" if c.aircraft_hours_at_compliance}" : "—" %> | <%= if c&.closed? then "No further action" elsif row.ad.recurring? then [ row.next_due_date&.to_s, row.next_due_hours && "#{hours(row.next_due_hours)} hrs" ].compact.join(" / ").presence || "Recurring" else "One-time" end %> | <%= compliance_badge(row.status) %> |
No ADs tracked.
<% end %>| Date | Type | Description | STC | Form 337 |
|---|---|---|---|---|
| <%= m.date_performed %> | <%= m.type_label %> | <%= m.title %><%= " · #{m.component}" if m.component %> | <%= [ m.stc_number, m.stc_holder ].compact_blank.join(", ").presence || "—" %> | <%= m.form_337_document ? "On file" : "—" %> |
None recorded.
<% end %>None open.
<% end %>