{% extends "base.html" %} {% block title %}{{ (node.title if not not_found else "Not found") }} · Networth{% endblock %} {# --- Edit helpers: a row's "edit" link and the add-form's edit extras. ------ Editing works by reloading the page with ?edit={id}; the matching add-form pre-fills from that row and its Add button becomes Save. One #editform anchor is fine because only one leaf branch renders per page. #} {% macro edit_link(hid) %}edit{% endmacro %} {% macro id_field(ed) %}{% if ed %}{% endif %}{% endmacro %} {% macro form_actions(ed, add_label, hint) %}
That net-worth category doesn't exist.
Back to Net worth{{ node.note }}
{% endif %}| Ticker | Shares | Price ($) | Cost ($) | Change | Value | |
|---|---|---|---|---|---|---|
| {{ h.ticker }} | {{ "{:,.3f}".format(h.units).rstrip('0').rstrip('.') }} | {{ "${:,.2f}".format(h.price_usd) if h.price_usd is not none else "—" }} | {{ "${:,.2f}".format(h.cost_usd) if h.cost_usd is not none else "—" }} | {% if h.gain_pct is not none %} {{ '+' if h.gain_pct >= 0 else '' }}{{ "%.1f"|format(h.gain_pct) }}% {% else %}—{% endif %} | {{ "₹{:,.0f}".format(h.value) if h.value is not none else "—" }} | {{ edit_link(h.id) }} |
| Bank | {% endif %}{{ "Nickname" if leaf_data.is_bank else "Label" }} | {% if leaf_data.is_bank %}Type | {% endif %}Balance | |
|---|---|---|---|---|
| {{ h.bank_name or "—" }} | {% endif %}{{ h.label or "—" }} | {% if leaf_data.is_bank %}{{ h.account_type or "—" }} | {% endif %}₹{{ "{:,.0f}".format(h.balance) }} | {{ edit_link(h.id) }} |
| Currency | Amount | Held as | Rate (₹) | Value | |
|---|---|---|---|---|---|
| {{ h.currency }}{% if h.label %} {{ h.label }}{% endif %} | {{ "{:,.2f}".format(h.amount) }} | {{ h.kind or "—" }} | {{ "{:,.4f}".format(h.rate) if h.rate is not none else "—" }} | {{ "₹{:,.0f}".format(h.value) if h.value is not none else "—" }} | {{ edit_link(h.id) }} |
| Coin | Quantity | Price (₹) | Invested | Gain | Value | |
|---|---|---|---|---|---|---|
| {{ h.symbol }}{% if h.label %} {{ h.label }}{% endif %} | {{ "{:,.6f}".format(h.quantity).rstrip('0').rstrip('.') }} | {{ "₹{:,.0f}".format(h.price_inr) if h.price_inr is not none else "—" }} | {{ "₹{:,.0f}".format(h.invested_inr) if h.invested_inr is not none else "—" }} | {% if h.gain_pct is not none %} {{ '+' if h.gain_pct >= 0 else '' }}{{ "%.0f"|format(h.gain_pct) }}% {% else %}—{% endif %} | {{ "₹{:,.0f}".format(h.value) if h.value is not none else "—" }} | {{ edit_link(h.id) }} |
| Investment | Type | Invested | Current | Gain | Since | |
|---|---|---|---|---|---|---|
| {{ h.name }} | {{ h.category or "—" }} | {{ "₹{:,.0f}".format(h.cost) if h.cost is not none else "—" }} | ₹{{ "{:,.0f}".format(h.current_value) }} | {% if h.gain_pct is not none %} {{ '+' if h.gain_pct >= 0 else '' }}{{ "%.0f"|format(h.gain_pct) }}% {% else %}—{% endif %} | {{ h.invested_fmt or "—" }} | {{ edit_link(h.id) }} |
| Property | Bought for | {{ "Full value" if leaf_data.has_joint else "Current value" }} | {% if leaf_data.has_joint %}Share | Your value | {% endif %}Gain | Purchased | |
|---|---|---|---|---|---|---|---|
| {{ h.label }}{% if h.notes %} {{ h.notes }}{% endif %} | {{ "₹{:,.0f}".format(h.cost) if h.cost is not none else "—" }} | ₹{{ "{:,.0f}".format(h.current_value) }} | {% if leaf_data.has_joint %}{{ "{:g}%".format(h.share_pct) }} | ₹{{ "{:,.0f}".format(h.your_value) }} | {% endif %}{% if h.gain_pct is not none %} {{ '+' if h.gain_pct >= 0 else '' }}{{ "%.0f"|format(h.gain_pct) }}% {% else %}—{% endif %} | {{ h.invested_fmt or "—" }} | {{ edit_link(h.id) }} |
| Item | Weight | Karat | Rate (₹/g) | Value | |
|---|---|---|---|---|---|
| {{ h.description }}{% if h.basis == "flat" %} flat{% endif %} | {{ "{:g} g".format(h.weight_g) if h.weight_g is not none else "—" }} | {{ (h.karat ~ "k") if h.karat is not none else "—" }} | {{ "{:,.0f}".format(h.rate) if h.rate is not none else "—" }} | {{ "₹{:,.0f}".format(h.value) if h.value is not none else "—" }} | {{ edit_link(h.id) }} |
| Business | Stake | Invested | Current | Gain | Since | |
|---|---|---|---|---|---|---|
| {{ h.name }}{% if h.notes %} {{ h.notes }}{% endif %} | {{ "{:g}%".format(h.ownership_pct) if h.ownership_pct is not none else "—" }} | {{ "₹{:,.0f}".format(h.cost) if h.cost is not none else "—" }} | ₹{{ "{:,.0f}".format(h.current_value) }} | {% if h.gain_pct is not none %} {{ '+' if h.gain_pct >= 0 else '' }}{{ "%.0f"|format(h.gain_pct) }}% {% else %}—{% endif %} | {{ h.invested_fmt or "—" }} | {{ edit_link(h.id) }} |
| Lender | Outstanding | Rate | EMI | Paid off | Ends | |
|---|---|---|---|---|---|---|
| {{ h.lender }}{% if h.notes %} {{ h.notes }}{% endif %} | ₹{{ "{:,.0f}".format(h.outstanding) }} | {{ "{:g}%".format(h.rate) if h.rate is not none else "—" }} | {{ "₹{:,.0f}".format(h.emi) if h.emi is not none else "—" }} | {{ "{:.0f}%".format(h.paid_pct) if h.paid_pct is not none else "—" }} | {{ h.end_fmt or "—" }} {% if h.remaining %}{{ h.remaining }}{% endif %} | {{ edit_link(h.id) }} |
Add your holdings to fill in {{ node.title }} — name, units, price and current value.
{{ leaf_data.import_label }}| Scheme | Units | {% if leaf_data.has_live %}Cost NAV{% else %}NAV{% endif %} | {% if leaf_data.has_live %}Live | Change | {% endif %}Value |
|---|---|---|---|---|---|
| {{ h.name }} {% if h.isin %}{{ h.isin }}{% endif %} | {{ "{:,.3f}".format(h.units) if h.units is not none else "—" }} | {{ "{:,.4f}".format(h.price) if h.price is not none else "—" }} | {% if leaf_data.has_live %}{{ "{:,.2f}".format(h.live_price) if h.live_price is not none else "—" }} | {% if h.gain_pct is not none %} {{ '+' if h.gain_pct >= 0 else '' }}{{ "%.1f"|format(h.gain_pct) }}% {% else %}—{% endif %} | {% endif %}{% if leaf_data.has_live and h.live_value is not none %} ₹{{ "{:,.0f}".format(h.live_value) }} {% elif h.value is not none %} ₹{{ "{:,.0f}".format(h.value) }} {% else %}—{% endif %} |
{{ leaf_data.live_note }}
{% endif %} {% endif %} {% if leaf_data.manual_enabled %}| Scheme | Investment | Invested | Matures | Tenure | Maturity | Rate | |
|---|---|---|---|---|---|---|---|
| {{ m.scheme }} | ₹{{ "{:,.0f}".format(m.investment_amount) }} | {{ m.invested_fmt or "—" }} | {{ m.matures_fmt or "—" }} {% if m.matures_in %}{{ m.matures_in }}{% endif %} | {{ m.tenure or "—" }} | {{ "₹{:,.0f}".format(m.maturity_amount) if m.maturity_amount is not none else "—" }} | {{ "{:g}%".format(m.rate) if m.rate is not none else "—" }} | {{ edit_link(m.id) }} |
We'll build out {{ node.title }} soon.
Back to Net worth