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

← {{ p.name }}

Profit {{ p.period_from|dfmt }} to {{ p.period_to|dfmt }}

{{ p.name }} ({{ p.code }})   {% if p.status=='paid' %}{% elif p.due_date < today() %}Overdue{% else %}Pending{% endif %}

How this was calculated

Invested
{{ p.principal|inr }}
Rate
{{ p.rate|inr }} per {{ p.per_amount|inr }} per month
Months
{{ '%.2f'|format(p.months|float) }}
Profit
{{ p.amount|inr }}
Due date
{{ p.due_date|dfmt }}
Pay to
{{ p.bank_name or '-' }}{% if p.bank_account %}, A/c {{ p.bank_account }}{% endif %}{% if p.bank_ifsc %}, {{ p.bank_ifsc }}{% endif %}
{% if p.status == 'pending' %}

Mark as disbursed

{% else %}

Disbursement

Paid on
{{ p.paid_date|dfmt }}
Amount
{{ p.paid_amount|inr }}
Mode
{{ p.mode }}
Reference
{{ p.reference or '-' }}
Remarks
{{ p.remarks or '-' }}
Accounts
{{ 'Posted as a payment' if p.txn_id else 'Not posted' }}
{% endif %}
{% if p.status == 'pending' %}

Adjust or remove

{% endif %} {% endblock %}