{% extends "base.html" %} {% block title %}{{ inv.name }}{% endblock %} {% block body %}

{{ inv.name }}

{{ inv.code }}   {{ inv.status|title }}

Edit profile
Invested
{{ inv.principal|inr }}
Profit per month ({{ inv|pct }})
{{ monthly|inr }}
Profit received
{{ paid|inr }}
Scheduled, not yet paid
{{ pend|inr }}

Profile

Phone
{{ inv.phone or '-' }}
Email
{{ inv.email or '-' }}
PAN
{{ inv.pan or '-' }}
Address
{{ inv.address or '-' }}
Nominee
{{ inv.nominee or '-' }}
Profit starts
{{ inv.start_date|dfmt }}
Plan
{{ inv.plan_name }}
Bank
{{ inv.bank_name or '-' }}{% if inv.bank_account %}, A/c {{ inv.bank_account }}{% endif %}{% if inv.bank_ifsc %}, {{ inv.bank_ifsc }}{% endif %}
{% if inv.notes %}
Notes
{{ inv.notes }}
{% endif %}

Agreement and documents

{% if docs %} {% for d in docs %} {% endfor %}
{{ d.label }}
{{ d.original_name }}, added {{ d.uploaded_at[:10]|dfmt }}
{% else %}

No agreement attached yet.

{% endif %}

Investor login

{% if user %}

Username: {{ user.username }}{% if user.must_change %} (has not yet set own password){% endif %}

{% endif %}

Create profit schedule

New rows start from {{ next_from|dfmt }}, the first day not yet covered. Amount = invested amount x rate x months in the period (part months count days/30).

Profit schedule and history

{% if pays %}
{% for p in pays %} {% endfor %}
PeriodDueMonthsAmountStatusPaid
{{ p.period_from|dfmt }} to {{ p.period_to|dfmt }}{{ p.due_date|dfmt }}{{ '%.2f'|format(p.months|float) }} {{ p.amount|inr }} {% if p.status=='paid' %}{% elif p.due_date < today() %}Overdue{% else %}Pending{% endif %} {% if p.status=='paid' %}{{ p.paid_date|dfmt }}, {{ p.paid_amount|inr }}
{{ p.mode }}{% if p.reference %}, {{ p.reference }}{% endif %}
{% endif %}
{{ 'View' if p.status=='paid' else 'Mark paid' }}
{% else %}

No schedule yet. Use the form above to create one.

{% endif %}
{% endblock %}