1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-08-05 13:35:21 +02:00

Support multi-currency transfers (#1175)

This commit is contained in:
Zach Gollwitzer 2024-09-13 11:45:19 -04:00 committed by GitHub
parent c28dd8f940
commit 949d3d80fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 5 additions and 18 deletions

View file

@ -30,7 +30,6 @@
<%= f.collection_select :from_account_id, Current.family.accounts.alphabetically, :id, :name, { prompt: t(".select_account"), label: t(".from") }, required: true %>
<%= f.collection_select :to_account_id, Current.family.accounts.alphabetically, :id, :name, { prompt: t(".select_account"), label: t(".to") }, required: true %>
<%= money_field f, :amount_money, label: t(".amount"), required: true %>
<%= f.hidden_field :currency, value: Current.family.currency %>
<%= f.date_field :date, value: transfer.date, label: t(".date"), required: true, max: Date.current %>
</section>