%# Everything a signature covers, as the signer reviews it (AC 120-78B 2.2.4). %>
- Aircraft
- <%= entry.aircraft.tail_number %> <%= [ entry.aircraft.make, entry.aircraft.model ].compact_blank.join(" ") %><%= " · S/N #{entry.aircraft.serial_number}" if entry.aircraft.serial_number.present? %>
- Date
- <%= fmt_date(entry.date) %>
- Logbook
- <%= LogbookEntry::LOG_TYPES[entry.log_type] %> · <%= LogbookEntry::ENTRY_TYPES[entry.entry_type] %>
- Airframe total time
- <%= hours(entry.aircraft_hours_at_entry) %> (<%= entry.aircraft.time_basis %>)
<% if (c = entry.component) %>
- <%= c.component_type&.name %>
- <%= c.manufacturer %> <%= c.model %><%= " · S/N #{c.serial_number}" if c.serial_number.present? %> · <%= hours(entry.component_hours_at_entry) %> total, <%= hours(entry.component_since_overhaul_at_entry) %> <%= c.since_overhaul_abbreviation %>
<% end %>
<% entry.parts.each do |part| %>
- <%= part.component.component_type&.name %>
- <%= part.component.manufacturer %> <%= part.component.model %><%= " · S/N #{part.component.serial_number}" if part.component.serial_number.present? %> · <%= hours(part.hours_at_entry) %> total, <%= hours(part.since_overhaul_at_entry) %> <%= part.component.since_overhaul_abbreviation.downcase %>
<% end %>
<% if entry.inspection_result %>- Result
- <%= entry.inspection_result_label %>
<% end %>
<% if entry.signoff_location.present? %>- Location
- <%= entry.signoff_location %>
<% end %>
<% if entry.supersedes %>- Corrects
- The <%= entry.supersedes.date %> entry
<% end %>
<%= entry.text %>