{% extends "base.html" %} {% block title %} » DC Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} » Bill Imports » {{importer_id}} {% endblock %} {% block nav %} DC Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} » {{importer_id}} {% endblock %} {% block content %}
{% if is_alive %}

Still running. Refresh the page to see latest progress.

{% endif %}
{% if status is defined %}

{{status}}

{% endif %}
    {% for msg in log %}
  • {{msg}}
  • {% endfor %}
{% if failed_bills|length > 0 %}
{% for k, v in failed_bills[0]|dictsort %} {% endfor %} {% for bill in failed_bills %} {% for k, v in bill|dictsort %} {% endfor %} {% endfor %}
Failed Bills
{{k}}
{{bill[k]}}
{% endif %} {% if successful_bills|length > 0 %}
{% for bill in successful_bills %} {% endfor %}
Successful Bills
Reference Account Bill Type MPAN Core Issue Date Start Date Finish Date kWh Net VAT Gross Breakdown
{{bill.reference}} {{bill.account}} {{bill.bill_type_code}} {{bill.mpan_core}} {{bill.issue_date|hh_format}} {{bill.start_date|hh_format}} {{bill.finish_date|hh_format}} {{bill.kwh}} {{bill.net}} {{bill.vat}} {{bill.gross}} {{bill.breakdown|dumps}}
{% endif %}
{% endblock %}