mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Add confirmation dialog for balance reconciliation creates and updates (#2457)
This commit is contained in:
parent
c1d98fe73b
commit
89cc64418e
13 changed files with 180 additions and 49 deletions
|
@ -115,8 +115,8 @@ class Account < ApplicationRecord
|
|||
end
|
||||
|
||||
|
||||
def update_balance(balance:, date: Date.current, currency: nil, notes: nil)
|
||||
Account::BalanceUpdater.new(self, balance:, currency:, date:, notes:).update
|
||||
def update_balance(balance:, date: Date.current, currency: nil, notes: nil, existing_valuation_id: nil)
|
||||
Account::BalanceUpdater.new(self, balance:, currency:, date:, notes:, existing_valuation_id:).update
|
||||
end
|
||||
|
||||
def start_date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue