mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
AD baseline: record DRS imports and the models they covered; weekly search starts from the last import; reminders and audit check
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
ba0455b149
commit
8bea2abf75
13 files changed
+169
-4
No files matched your search
@@ -16,6 +16,13 @@ Your certificates:
|
||||
- <%= c.expired? ? "Expired" : "Expires" %> <%= c.expires_on %>: <%= c.kind_label %> <%= c.number %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @drs_due.any? %>
|
||||
|
||||
AD list from FAA DRS needs a refresh:
|
||||
<% @drs_due.each do |a| %>
|
||||
- <%= a.tail_number %>: <%= (m = DrsImport.missing_models(a)).any? ? "never imported for #{m.to_sentence}" : "last import #{a.drs_imports.latest_first.first&.created_at&.to_date || 'never'}" %> (<%= aircraft_airworthiness_directives_url(a) %>)
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% if @audit_due %>
|
||||
|
||||
Records audit due <%= @audit_due %>: <%= new_admin_audit_url %>
|
||||
|
||||
Reference in new issue
Block a user