{% extends "comp/base.html" %} {% load comp_extras %} {% block title %}Statement {{ st.period.label }}{% endblock %} {% block content %}
{{ st.rep.name }} · {{ st.period.status }}
| Date | Type | Description | Amount |
|---|---|---|---|
| {{ l.event_date|default:"" }} | {{ l.kind }} | {{ l.description }}{% if l.disputes.all %} disputed{% endif %}{{ l.trace.formula }} {% if l.trace.inputs %}
Deal: {{ l.deal.external_id }} ({{ l.deal.customer }}, closed {{ l.deal.close_date }}) {% endif %} {% if l.ref_line %}Reverses line from {{ l.ref_line.statement.period.label }}: {{ l.ref_line.description }} ({{ l.ref_line.amount|money }}) {% endif %} |
{{ l.amount|money }} |
| Total earnings | {{ st.earnings|money }} | ||