06/02 Update add new balance option
This commit is contained in:
@@ -53,6 +53,20 @@
|
||||
{{ form.notes(class="form-control", rows=2, placeholder="Optional notes") }}
|
||||
</div>
|
||||
|
||||
{% if not account %}
|
||||
<div class="mb-4">
|
||||
{{ form.opening_balance.label(class="form-label fw-medium", style="font-size:13px;") }}
|
||||
<div class="input-group">
|
||||
<span class="input-group-text" style="font-size:13px;">{{ current_user.currency_symbol }}</span>
|
||||
{{ form.opening_balance(class="form-control", placeholder="0.00", id="openingBalance") }}
|
||||
</div>
|
||||
<div style="font-size:11px;color:var(--muted);margin-top:4px;">
|
||||
Current real-world balance. Leave at 0 if you'll enter all transactions from scratch.
|
||||
For credit cards, enter a negative value if you currently owe money (e.g. -500).
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="d-flex gap-2">
|
||||
{{ form.submit(class="btn btn-primary") }}
|
||||
<a href="{{ url_for('accounts.index') }}" class="btn btn-outline-secondary">Cancel</a>
|
||||
|
||||
Reference in New Issue
Block a user