mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
- AD compliance "next due at tach reading" is prefilled from the AD's hour recurrence (hours at compliance + interval), recalculates live as the AD/date/hours change, keeps a typed-in override, and is filled server-side when left blank. - Live "Next due" preview on AD compliance and inspection record forms (hours and/or end-of-month date, whichever comes first), mirroring Compliance.next_due so preview and status agree. - Reject an interval entered as the next-due reading (e.g. "100" for "every 100 hours"), which made a complied AD show as overdue. - ADs table shows hours remaining next to the due tach reading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
11 lines
378 B
Ruby
11 lines
378 B
Ruby
# Pin npm packages by running ./bin/importmap
|
|
|
|
pin "application"
|
|
pin "@hotwired/turbo-rails", to: "turbo.min.js"
|
|
pin "@hotwired/stimulus", to: "stimulus.min.js"
|
|
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js"
|
|
pin_all_from "app/javascript/controllers", under: "controllers"
|
|
pin "chartkick", to: "chartkick.js"
|
|
pin "Chart.bundle", to: "Chart.bundle.js"
|
|
pin "next_due"
|