mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
- Admin → Recordkeeping Procedures: generated procedures document (2.2.11 / 3.2.8) from the system setup plus owner-entered details; adopted as numbered, immutable revisions; included in the records package - Admin → Records Audits: periodic QC checklist (3.2.8.5) combining app checks with a restore test, sampled entries vs. source documents and a user review; next due date on About and in admins' weekly reminder - User instructions at /help/records, linked from the logbook and signing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
25 lines
1.0 KiB
ERB
25 lines
1.0 KiB
ERB
Here's what needs attention<%= " on your aircraft" if @items.any? %>.
|
|
<% @items.each do |aircraft, issues, alerts| %>
|
|
|
|
<%= aircraft.tail_number %> (<%= aircraft.airworthiness.label %>): <%= aircraft_url(aircraft) %>
|
|
<% issues.each do |issue| %>
|
|
- <%= { "RED" => "Overdue", "LIMITED" => "Overdue", "ORANGE" => "Due soon", "INFO" => "Deferred" }[issue.severity] %>: <%= issue.title %>. <%= issue.description %>
|
|
<% end %>
|
|
<% if alerts.any? %>
|
|
- New ADs that may apply: <%= alerts.map { _1.ad_number || _1.fr_document_number }.to_sentence %>. Review: <%= aircraft_airworthiness_directives_url(aircraft, anchor: "new-ads") %>
|
|
<% end %>
|
|
<% end %>
|
|
<% if @certificates.any? %>
|
|
|
|
Your certificates:
|
|
<% @certificates.each do |c| %>
|
|
- <%= c.expired? ? "Expired" : "Expires" %> <%= c.expires_on %>: <%= c.kind_label %> <%= c.number %>
|
|
<% end %>
|
|
<% end %>
|
|
<% if @audit_due %>
|
|
|
|
Records audit due <%= @audit_due %>: <%= new_admin_audit_url %>
|
|
<% end %>
|
|
|
|
Based on the records in Simple Aircraft Manager. Turn these emails off on your profile: <%= edit_profile_url %>
|