mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-08 15:05:22 +02:00
Add reconciliation manager (#2459)
* Add reconciliation manager * Fix notes editing
This commit is contained in:
parent
89cc64418e
commit
52333e3fa6
11 changed files with 273 additions and 64 deletions
|
@ -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" %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue