mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
Unverified transcriptions, PM templates, ICA inspections, W&B, AD watch
- Entries transcribed by Claude are unverified (with Claude's confidence) until an owner checks them against the scan: badge, filter, "mark verified" stepping through the rest - Preventive maintenance templates on new logbook entries, keyed to Part 43 Appendix A(c), setting the entry type and pilot certificate (43.3(g)) - An STC's ICA can become a tracked recurring inspection, linked from its major record - Weight & balance: history of empty weight/CG (linked to the 337 that changed them), loading stations and CG envelope from the POH, and a live calculator for takeoff and landing weight/CG; shown on the status report - New ADs: weekly Federal Register search per aircraft (aircraft, engine and propeller models, or custom terms); track or dismiss each; included in the weekly reminder - Archives carry the new records; brakeman: explicit params, reviewed About-page links Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
bed07386ef
commit
6cab81332e
49 files changed
+1197
-35
No files matched your search
@@ -25,6 +25,8 @@ class Aircraft < ApplicationRecord
|
||||
has_many :flight_logs, dependent: :destroy
|
||||
has_many :consumable_records, dependent: :destroy
|
||||
has_many :oil_analyses, dependent: :destroy
|
||||
has_many :weight_balance_records, dependent: :destroy
|
||||
has_many :ad_alerts, dependent: :destroy
|
||||
has_and_belongs_to_many :inspection_types
|
||||
has_and_belongs_to_many :airworthiness_directives
|
||||
|
||||
@@ -52,6 +54,9 @@ class Aircraft < ApplicationRecord
|
||||
end
|
||||
|
||||
def hobbs? = time_basis == "hobbs"
|
||||
|
||||
def current_weight_balance = weight_balance_records.recent_first.first
|
||||
def loading_setup = LoadingSetup.from_aircraft(self)
|
||||
def time_basis_label = TIME_BASES[time_basis]
|
||||
|
||||
def airworthiness
|
||||
|
||||
Reference in new issue
Block a user