mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 20:14:08 +00:00
loan: Set the first valuation as the original principal. (#2088)
Fix: #1645.
This commit is contained in:
@@ -5,6 +5,13 @@
|
||||
|
||||
<div class="space-y-2">
|
||||
<%= form.fields_for :accountable do |loan_form| %>
|
||||
<div class="flex items-center gap-2">
|
||||
<%= loan_form.money_field :initial_balance,
|
||||
label: t("loans.form.initial_balance"),
|
||||
default_currency: Current.family.currency,
|
||||
required: true %>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
<%= loan_form.number_field :interest_rate,
|
||||
label: t("loans.form.interest_rate"),
|
||||
|
||||
Reference in New Issue
Block a user