1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-24 07:39:39 +02:00

Scaffold out the UI for individual account page (#461)

* Add `AccountBalance` table for account views

* Scaffold out account UI

* Add D3 line chart scaffolding

* Style fixes
This commit is contained in:
Zach Gollwitzer 2024-02-14 13:02:11 -05:00 committed by GitHub
parent 0490fda465
commit 3ec9c9b56b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
47 changed files with 724 additions and 12 deletions

View file

@ -1,5 +1,6 @@
class Account < ApplicationRecord
belongs_to :family
has_many :account_balances
delegated_type :accountable, types: Accountable::TYPES, dependent: :destroy

View file

@ -0,0 +1,3 @@
class AccountBalance < ApplicationRecord
belongs_to :account
end