{% extends "base.html" %} {% block title %} Gas Contracts » {{g_batch.g_contract.name}} » Batches » {{g_batch.reference}} » Bill Imports » {{importer_id}} {% endblock %} {% block nav %} Gas Contracts » {{g_batch.g_contract.name}} » Batches » {{g_batch.reference}} » Bill Imports » {{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 bill in failed_bills %} {% for read in bill.reads %} {% endfor %} {% endfor %}
Failed Bills
Error Bill Type Code MPRN Account Reference Issue Date Start Date Finish Date kWh Net GBP VAT Gross GBP Breakdown R1 calorific_value R1 correction_factor R1 msn R1 unit R1 prev_date R1 prev_value R1 prev_type_code R1 pres_date R1 pres_value R1 pres_type_code
{{bill.error}} {{bill.bill_type_code}} {{bill.mprn}} {{bill.account}} {{bill.reference}} {{bill.issue_date|hh_format}} {{bill.start_date|hh_format}} {{bill.finish_date|hh_format}} {{bill.kwh}} {{bill.net_gbp}} {{bill.vat_gbp}} {{bill.gross_gbp}}
{{bill.breakdown|dumps}}
{{read.calorific_value}} {{read.correction_factor}} {{read.msn}} {{read. unit}} {{read.prev_date|hh_format}} {{read.prev_value}} {{read.prev_type_code}} {{read.pres_date|hh_format}} {{read.pres_value}} {{read.pres_type_code}}
{% endif %} {% if successful_bills|length > 0 %} {% for i in range(successful_max_registers) %} {% endfor %} {% for bill in successful_bills %} {% for g_read in bill.reads %} {% endfor %} {% endfor %}
Successful Bills
Bill Type MPRN Reference Account Issue Date Start Date Finish Date kWh Net GBP VAT GBP Gross GBP BreakdownR{{loop.index}} MSN 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 Type R{{loop.index}} Units R{{loop.index}} Correction Factor R{{loop.index}} Calorific Value
{{bill.bill_type_code}} {{bill.mprn}} {{bill.reference}} {{bill.account}} {{bill.issue_date|hh_format}} {{bill.start_date|hh_format}} {{bill.finish_date|hh_format}} {{bill.kwh}} {{bill.net_gbp}} {{bill.vat_gbp}} {{bill.gross_gbp}}
{{bill.breakdown|dumps}}
{{g_read.msn}} {{g_read.prev_date|hh_format}} {{g_read.prev_value}} {{g_read.prev_type_code}} {{g_read.pres_date|hh_format}} {{g_read.pres_value}} {{g_read.pres_type_code}} {{g_read.unit}} {{g_read.correction_factor}} {{g_read.calorific_value}}
{% endif %} {% endblock %}