<%# locals: (account:, entry:, reconciliation_dry_run:, is_update:, action_verb:) %>
<% if account.investment? %> <% brokerage_cash = reconciliation_dry_run.new_cash_balance || 0 %> <% holdings_value = reconciliation_dry_run.new_balance - brokerage_cash %>

This will <%= action_verb %> the account value on <%= entry.date.strftime("%B %d, %Y") %> to:

Total account value <%= Money.new(reconciliation_dry_run.new_balance, account.currency).format %>
Holdings value <%= Money.new(holdings_value, account.currency).format %>
Brokerage cash "><%= Money.new(brokerage_cash, account.currency).format %>
<% else %>

<%= action_verb.capitalize %> <% if account.depository? %> account balance <% elsif account.credit_card? %> credit card balance <% elsif account.loan? %> loan balance <% elsif account.property? %> property value <% elsif account.vehicle? %> vehicle value <% elsif account.crypto? %> crypto balance <% elsif account.other_asset? %> asset value <% elsif account.other_liability? %> liability balance <% else %> balance <% end %> on <%= entry.date.strftime("%B %d, %Y") %> to <%= entry.amount_money.format %>.

<% end %>

All future transactions and balances will be recalculated based on this <%= is_update ? "change" : "update" %>.