{% extends "wagtailadmin/base.html" %} {% load wagtailadmin_tags %} {% block titletag %}Доходы{% endblock %} {% block extra_css %} {{ block.super }} {% endblock %} {% block content %} {% include "wagtailadmin/shared/header.html" with title="Доходы" icon="money-check-dollar-pen" %}
Доходы и расходы
{% for x in totals %}
{{ x.ym }}
{% endfor %}
Выручка
{% for x in totals %}
{{ x.sales }}
{% endfor %}
Закупочная цена
{% for x in totals %}
-{{ x.cogs }}
{% endfor %}
Маржа
{% for x in totals %}
{{ x.gross_margin }}
{% endfor %}
Принятый лом
{% for x in totals %}
+{{ x.scrap }}
{% endfor %}
Маржа с ломом
{% for x in totals %}
{{ x.gross_margin_with_scrap }}
{% endfor %}
Расходы
{% for x in totals %}
-{{ x.costs }}
{% endfor %}
Чистый доход (с ломом)
{% for x in totals %}
{{ x.net_income }}
{% endfor %}
{% endblock %}