mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 23:15:24 +02:00
First sketch of budgeting module
This commit is contained in:
parent
5d1a2937bb
commit
9a2a7b31d4
45 changed files with 342 additions and 84 deletions
|
@ -124,7 +124,7 @@ class FamilyTest < ActiveSupport::TestCase
|
|||
create_transaction(account: account, date: 2.days.ago.to_date, amount: -500)
|
||||
create_transaction(account: account, date: 1.day.ago.to_date, amount: 100)
|
||||
create_transaction(account: account, date: Date.current, amount: 20)
|
||||
create_transaction(account: liability_account, date: 2.days.ago.to_date, amount: -333)
|
||||
create_transaction(account: liability_account, date: 2.days.ago.to_date, amount: -333, category: categories(:payment))
|
||||
|
||||
snapshot = @family.snapshot_transactions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue