{% extends "pos/base.html" %} {% block title %}Installment Profit Report{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
| # | Payment Date | Amount Received | Cost Recovered | Profit This Payment | Cumulative Received | Running Profit |
|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ p.payment.payment_date }} | {{ p.payment.amount_received|floatformat:0 }} | {{ p.cost_recovered|floatformat:0 }} | {% if p.profit_recognized < 0 %}({% endif %}{{ p.profit_recognized|floatformat:0 }}{% if p.profit_recognized < 0 %}){% endif %} | {{ p.cumulative_received|floatformat:0 }} | {{ p.running_profit|floatformat:0 }} |
| Totals: | {{ row.total_received|floatformat:0 }} | {{ row.total_cost_recovered|floatformat:0 }} | {{ row.total_profit_recognized|floatformat:0 }} | {{ row.total_profit_recognized|floatformat:0 }} | ||