{% extends "base.html" %} {% block title %} » Supplier Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} » {{importer_id}} {% endblock %} {% block nav %} » Supplier Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} » {{importer_id}} {% endblock %} {% block content %}

Bill Import

{% if is_alive %}

Still running. Refresh the page to see latest progress.

{% endif %} {% if status %}

{{status}}

{% endif %}
    {% for msg in log %}
  • {{msg}}
  • {% endfor %}
{% if failed_bills|length > 0 %} {% for bill in failed_bills %} {% endif %} {% endfor %}
Failed Bills
Error MPAN Core Account Reference Bill Type Code Issue Date Start Date Finish Date kWh Net VAT Gross Breakdown Reads
{{bill.error}} {{bill.mpan_core}} {{bill.account}} {{bill.reference}} {{bill.bill_type_code}} {% if 'issue_date' in bill %} {{bill.issue_date|hh_format}} {% endif %} {% if 'start_date' in bill %} {{bill.start_date|hh_format}} {% endif %} {% if 'finish_date' in bill %} {{bill.finish_date|hh_format}}{{bill.kwh}} {{bill.net}} {{bill.vat}} {{bill.gross}} {% if 'breakdown' in bill %}
{{bill.breakdown|dumps}}
{% endif %}
{{bill.reads}}
{% endif %} {% if successful_bills|length > 0 %} {% for i in range(successful_max_registers) %} {% endfor %} {% for bill in successful_bills %} {% for read in bill.reads %} {% endfor %} {% endfor %}
Successful Bills
Reference Account Bill Type MPAN Core Issue Date Start Date Finish Date kWh Net VAT GrossR{{loop.index}} MPAN R{{loop.index}} Meter Serial Number R{{loop.index}} Coefficient R{{loop.index}} Units R{{loop.index}} TPR R{{loop.index}} Previous Read Date R{{loop.index}} Previous Read Value R{{loop.index}} Previous Read Type R{{loop.index}} Present Read Date R{{loop.index}} Present Read Value R{{loop.index}} Present Read TypeBreakdown
{{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}}{{read.mpan}} {{read.msn}} {{read.coefficient}} {{read.units}} {{read.tpr_code}} {{read.prev_date|hh_format}} {{read.prev_value}} {{read.prev_type_code}} {{read.pres_date|hh_format}} {{read.pres_value}} {{read.pres_type_code}}
{{bill.breakdown|dumps}}
{% endif %}
{% endblock %}