mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-05 05:25:24 +02:00
Added Decimal Support in min transaction (#1681)
* Added Decimal Support in min transaction * fix: Using inbuilt money field * Updated Test
This commit is contained in:
parent
2a1b5fab1a
commit
eabfb7aae1
3 changed files with 6 additions and 5 deletions
|
@ -13,10 +13,11 @@
|
|||
</div>
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
<%= credit_card_form.number_field :minimum_payment,
|
||||
<%= credit_card_form.money_field :minimum_payment,
|
||||
label: t("credit_cards.form.minimum_payment"),
|
||||
placeholder: t("credit_cards.form.minimum_payment_placeholder"),
|
||||
min: 0 %>
|
||||
default_currency: Current.family.currency %>
|
||||
|
||||
<%= credit_card_form.number_field :apr,
|
||||
label: t("credit_cards.form.apr"),
|
||||
placeholder: t("credit_cards.form.apr_placeholder"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue