{% extends "base.html" %} {% block title %} » Supplies » {{supply.name}} {% endblock %} {% block nav %} Supplies » {{supply.id}} » {% if is_import %} Import {% else %} Export {% endif %} data by month {% endblock %} {% block content %}
{% if is_import %} Import {% else %} Export {% endif %} data by month {{input_text('years', '1', 2, 2)}} {{input_text('year', now.year, 4, 4)}}
{% for month in months %} {% set month_str = month.start_date|date_format %} {% if month.md_date %} {% else %} {% endif %} {% endfor %}
Months
Month MPAN Core At MD kVA Agreed Supply Capacity (kVA) kWh
Date kW kVAr Power Factor kVA
{{month_str[:7]}} {{month.mpan_core}}{{month.md_date|date_format}} {{month.md_kw|round(1)}} {{month.md_kvar|round(1)}} {{month.md_pf|round(2)}} {{month.md_kva|round(1)}} {{month.sc}} {% if month.total_kwh %} {{month.total_kwh|round|int}} {% endif %}
{% endblock %}