mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Recordkeeping procedures, QC audits and user instructions (AC 120-78B)
- 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>
This commit is contained in:
1 parent
68a1719db2
commit
761f381679
27 files changed
+668
-10
No files matched your search
@@ -0,0 +1,20 @@
|
||||
<% content_for :title, "Records audits" %>
|
||||
<div class="mb-4 flex flex-wrap items-center justify-between gap-2">
|
||||
<div>
|
||||
<h1 class="text-2xl font-bold">Records audits</h1>
|
||||
<p class="text-sm text-slate-600">Quality-control audits of the electronic records (AC 120-78B 3.2.8.5), every <%= RecordkeepingPolicy.current.audit_interval_months %> months. Next due <strong class="<%= AuditRun.due_soon? ? 'text-amber-700' : '' %>"><%= AuditRun.next_due %></strong>.</p>
|
||||
</div>
|
||||
<%= link_to "Start an audit", new_admin_audit_path, class: "btn-primary" %>
|
||||
</div>
|
||||
<section class="card">
|
||||
<% if @audits.any? %>
|
||||
<ul class="divide-y divide-slate-100 text-sm">
|
||||
<% @audits.each do |a| %>
|
||||
<li class="flex items-center justify-between px-4 py-2">
|
||||
<span><%= link_to a.performed_at.to_date, admin_audit_path(a), class: "link" %> · <%= a.performed_by&.display_name %></span>
|
||||
<span class="<%= a.passed ? 'badge-green' : 'badge-orange' %>"><%= a.passed ? "Passed" : "Items not passed" %></span>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% else %><%= empty_state "No audits yet." %><% end %>
|
||||
</section>
|
||||
Reference in new issue
Block a user