{% extends "base.html" %} {% block title %} » Supplier Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} {% endblock %} {% block nav %} » Supplier Contracts » {{batch.contract.name}} » Batches » {{batch.reference}} [edit] {% endblock %} {% block content %} {% if request.method == 'GET' and request.values.confirm_delete_bills %}

Are you sure you want to delete all the bills in this batch?

{% elif request.method == 'GET' and request.values.confirm_delete_import_bills %}

Are you sure you want to delete all the bills in this batch and then re-import bills from the files?

{% elif request.method == 'GET' and request.values.confirm_import_bills %}

Are you sure you want to import the bills from the files into this batch?

{% else %}
Reference Description Number Of Bills Sum net GBP Sum VAT GBP Sum gross GBP Sum kWh CSV Of Bills Custom Reports
{{batch.reference}} {{batch.description}} {{ "{:,}".format(num_bills) }} {{ "£{:,}".format(sum_net_gbp) }} {{ "£{:,}".format(sum_vat_gbp) }} {{ "£{:,}".format(sum_gross_gbp) }} {{ "{:,}".format(sum_kwh) }} Download {% if batch_reports %} {% endif %}

{% for file in batch.files %} {% endfor %}
Billing Files [upload]
View Filename Upload Timestamp Parser Name
View {{file.filename}} {{file.upload_timestamp|hh_format}} {{file.parser_name}}

{% for id in importer_ids %} {% endfor %}
Imports
View Id
View {{id}}

Actions


Download Bill Check

{{input_textarea('mpan_cores', '', 5, 40, placeholder='One on each line, includes all if left blank')}}

Bills [add]

{% if bills != None %} {% for bill in bills %} {% endfor %}
View Reference Account Issued From To kWh Net VAT Gross Type
View {{bill.reference}} {{bill.account}} {{bill.issue_date|hh_format}} {{bill.start_date|hh_format}} {{bill.finish_date|hh_format}} {{bill.kwh}} {{bill.net}} {{bill.vat}} {{bill.gross}} {{bill.bill_type.code}}
{% else %}

Bills

{% endif %}
{% endif %} {% endblock %}