1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-02 20:15:22 +02:00

Add post-sync UI stream updates (#1482)
Some checks failed
Publish Docker image / ci (push) Has been cancelled
Publish Docker image / Build docker image (push) Has been cancelled

* Add post-sync UI stream updates

* Fix stream channel id
This commit is contained in:
Zach Gollwitzer 2024-11-20 16:46:06 -05:00 committed by GitHub
parent e641cfccd4
commit 6996a225ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 35 additions and 8 deletions

View file

@ -99,6 +99,10 @@ class Account < ApplicationRecord
Holding::Syncer.new(self, start_date: start_date).run
end
def post_sync
accountable.post_sync
end
def original_balance
balance_amount = balances.chronological.first&.balance || balance
Money.new(balance_amount, currency)