Skip to content

armgit / maybe

Public Imported from GitHub
0

The personal finance app for everyone

Merge branch 'main' of https://github.com/maybe-finance/maybe

Josh Pigforddbc76c76efe0
diff --cc app/models/account.rb
index f561d1b8,73a8b482..405377d1
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@@ -1,5 -1,5 +1,6 @@@
class Account < ApplicationRecord
belongs_to :family
+ scope :depository, -> { where(type: 'Depository') }
+ VALID_ACCOUNT_TYPES = %w[Investment Depository Credit Loan Property Vehicle OtherAsset OtherLiability].freeze
end