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,19 +1,18 @@
<%= render DialogComponent.new do |dialog| %>
<% dialog.with_header(title: "Update balance") %>
<% dialog.with_body do %>
<%= styled_form_with model: @entry, url: valuation_path(@entry), method: :patch, class: "space-y-4", data: { turbo: false } do |form| %>
<%= styled_form_with model: @entry, url: valuation_path(@entry), method: :patch, class: "space-y-4", data: { turbo_frame: :_top } do |form| %>
<%= 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: "update",
<%= render "confirmation_contents",
reconciliation_dry_run: @reconciliation_dry_run,
account: @account,
entry: @entry,
action_verb: "update",
is_update: true %>
<%= form.submit "Update" %>
<% end %>
<% end %>
<% end %>
<% end %>