% content_for :title, @component.to_s %> <%= render "shared/aircraft_header", aircraft: @aircraft %>
Resets hours since overhaul to 0 and sets the service date to today.
<%= f.submit "Record Service", class: "btn-primary" %> <% end %>| Inspection | Interval | Last done | Next due | Status |
|---|---|---|---|---|
| <%= row.type.name %><%= tag.span(" advisory", class: "text-xs text-slate-500") if row.type.advisory? %> | <%= row.type.interval_description %> | <%= row.latest ? "#{fmt_date(row.latest.date)} @ #{hours(row.latest.hours_at_inspection)} h" : "—" %> | <%= [row.next_due_date&.to_s, row.next_due_hours && "#{hours(row.next_due_hours)} h"].compact.join(" / ").presence || "—" %> | <%= compliance_badge(row.status) %> |
None. Add one for a recurring inspection of this part (e.g. a 500-hour magneto inspection); it's tracked on the Inspections tab and can be completed from a logbook entry.
<% end %>