{% 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 %}
Failed Bills
| Error |
Bill Type Code |
MPRN |
Account |
Reference |
Issue Date |
Start Date |
Finish Date |
Net GBP |
VAT 5% |
VAT 15% |
VAT 17.5% |
VAT 20% |
VAT |
Gross GBP |
{% for read in failed_bills[0]['reads'] %}
{% for k in read|sort %}
{{k}} |
{% endfor %}
{% endfor %}
{% for bill in failed_bills %}
| {{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.net_gbp}} |
{{bill.vat_5pc}} |
{{bill.vat_15pc}} |
{{bill.vat_17_5pc}} |
{{bill.vat_20pc}} |
{{bill.vat_gbp}} |
{{bill.gross_gbp}} |
{% for read in bill.reads %}
{% for k, v in read|dictsort %}
{{v}} |
{% endfor %}
{% endfor %}
{% endfor %}
{% endif %}
{% if successful_bills|length > 0 %}
Successful Bills
| Bill Type |
MPRN |
Reference |
Account |
Issue Date |
Start Date |
Finish Date |
kWh |
Net GBP |
VAT GBP |
Gross GBP |
Breakdown |
{% for i in range(successful_max_registers) %}
R{{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 |
{% endfor %}
{% for bill in successful_bills %}
| {{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}} |
{% for g_read in bill.reads %}
{{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.units}} |
{{g_read.correction_factor}} |
{{g_read.calorific_value}} |
{% endfor %}
{% endfor %}
{% endif %}