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

Auto naming of Transfer Transaction (#1393)

* Remove Description field

* Auto naming of tranfer transaction

* Fix transfer test

* Improve Transfer entries names
This commit is contained in:
Harshit Chaudhary 2024-11-01 18:28:19 +05:30 committed by GitHub
parent 2b61821336
commit 47288a1629
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 4 additions and 9 deletions

View file

@ -26,7 +26,6 @@
</section>
<section class="space-y-2">
<%= f.text_field :name, value: transfer.name, label: t(".description"), placeholder: t(".description_placeholder"), required: true %>
<%= 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 %>
<%= f.money_field :amount, label: t(".amount"), required: true, hide_currency: true %>