mirror of
https://github.com/we-promise/sure.git
synced 2026-04-21 13:04:18 +00:00
Add reconciliation manager (#2459)
* Add reconciliation manager * Fix notes editing
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user