{% extends "base.html" %} {% block title %} » DC Contracts » {{bill.batch.contract.name}} » Batches » {{bill.batch.reference}} » Bills » {{bill.id}} {% endblock %} {% block nav %} DC Contracts » {{bill.batch.contract.name}} » Batches » {{bill.batch.reference}} » Bill {{bill.id}} » Edit {% endblock %} {% block content %} {% if 'confirm_delete' in request.values %}
Are you sure you want to delete this bill? Cancel
{% else %}

Supply

Update This Bill {{input_text('reference', bill.reference)}} {{input_text('account', bill.account)}}
Issue Date {{input_date('issue', bill.issue_date)}}
Start Date {{input_date('start', bill.start_date)}}
Finish Date {{input_date('finish', bill.finish_date)}}
{{input_text('kwh', '' ~ bill.kwh)}} {{input_text('net', '' ~ bill.net)}} {{input_text('vat', '' ~ bill.vat)}} {{input_text('gross', '' ~ bill.gross)}} {{input_textarea('breakdown', bill.breakdown, 10, 80)}}
{
"raw_lines": [
"'net-gbp', 'unrestricted-kwh', 'unrestricted-rate', 'unrestricted-gbp'",
"'100', '1000', '0.1', '100'"],
"unrestricted-kwh": 1000,
"unrestricted-rate": 0.1,
"unrestricted-gbp": 100}
				
Delete This Bill
{% endif %} {% endblock %}