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

Still running. Refresh the page to see latest progress.

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

{{status}}

{% endif %} {% 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 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 MPANs 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.mpans}} {{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}}
{% endif %} {% endblock %}