Add reconciliation manager (#2459)

* Add reconciliation manager

* Fix notes editing
This commit is contained in:
Zach Gollwitzer
2025-07-16 11:31:47 -04:00
committed by GitHub
parent 89cc64418e
commit 52333e3fa6
11 changed files with 273 additions and 64 deletions

View File

@@ -1,17 +1,16 @@
<%= render DialogComponent.new do |dialog| %>
<% dialog.with_header(title: "Confirm new balance") %>
<% dialog.with_body do %>
<%= styled_form_with model: @entry, url: valuations_path, class: "space-y-4", data: { turbo: false } do |form| %>
<%= styled_form_with model: @entry, url: valuations_path, class: "space-y-4" do |form| %>
<%= form.hidden_field :account_id %>
<%= form.hidden_field :date %>
<%= form.hidden_field :amount %>
<%= form.hidden_field :currency %>
<%= form.hidden_field :notes %>
<%= render "confirmation_contents",
account: @account,
entry: @entry,
action_verb: "set",
<%= render "confirmation_contents",
reconciliation_dry_run: @reconciliation_dry_run,
account: @account,
entry: @entry,
action_verb: "set",
is_update: false %>
<%= form.submit "Confirm" %>