chellow 1723459091.0.0__py3-none-any.whl → 1723630623.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of chellow might be problematic. Click here for more details.
chellow/reports/report_247.py
CHANGED
|
@@ -259,12 +259,13 @@ def _process_site(
|
|
|
259
259
|
):
|
|
260
260
|
for sname in ("kwh", "net-gbp"):
|
|
261
261
|
month_data[f"{name}-{sname}"] = 0
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
262
|
+
for polarity in ("import", "export"):
|
|
263
|
+
month_data[f"billed-{polarity}-kwh"] = 0
|
|
264
|
+
for suf in ("net-gbp", "vat-gbp", "gross-gbp"):
|
|
265
|
+
month_data[f"billed-{polarity}-{suf}"] = 0
|
|
266
|
+
month_data[f"billed-supplier-{polarity}-{suf}"] = 0
|
|
267
|
+
month_data[f"billed-dc-{polarity}-{suf}"] = 0
|
|
268
|
+
month_data[f"billed-mop-{polarity}-{suf}"] = 0
|
|
268
269
|
|
|
269
270
|
if imp_ss is not None:
|
|
270
271
|
imp_supplier_contract = imp_ss.supplier_contract
|
|
@@ -286,7 +287,7 @@ def _process_site(
|
|
|
286
287
|
month_data["import-3rd-party-kwh"] += kwh
|
|
287
288
|
month_data["used-3rd-party-net-gbp"] += gbp
|
|
288
289
|
month_data["used-3rd-party-kwh"] += kwh
|
|
289
|
-
month_data["used-gbp"] += gbp
|
|
290
|
+
month_data["used-net-gbp"] += gbp
|
|
290
291
|
month_data["used-kwh"] += kwh
|
|
291
292
|
elif source_code == "3rd-party-reverse":
|
|
292
293
|
month_data["export-3rd-party-net-gbp"] += gbp
|
|
@@ -1032,7 +1033,6 @@ def content(
|
|
|
1032
1033
|
data_source_bill = Object()
|
|
1033
1034
|
data_source_bill.start_date = month_start
|
|
1034
1035
|
data_source_bill.finish_date = month_finish
|
|
1035
|
-
|
|
1036
1036
|
for site in sites:
|
|
1037
1037
|
if by_hh:
|
|
1038
1038
|
sf = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1723630623.0.0
|
|
4
4
|
Summary: Web Application for checking UK energy bills.
|
|
5
5
|
Project-URL: Homepage, https://github.com/WessexWater/chellow
|
|
6
6
|
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
@@ -78,7 +78,7 @@ chellow/reports/report_219.py,sha256=cA0lfJKnJg41Zc4_gZB1KUXZ9JeJo0TiTlu5jm1bdDM
|
|
|
78
78
|
chellow/reports/report_231.py,sha256=uhO1algP7sibpZVaniqGs56HOCPCQeDO-Y-UfvFQwnI,5311
|
|
79
79
|
chellow/reports/report_233.py,sha256=cIatj-HHYW_GNIRsji-DlsmYjt8rUdm_5xujPLOYL8U,4537
|
|
80
80
|
chellow/reports/report_241.py,sha256=AlFmSHnfG2HWv_ICmWX7fNpPwLHjq7mo1QtOTjSKO3k,5384
|
|
81
|
-
chellow/reports/report_247.py,sha256=
|
|
81
|
+
chellow/reports/report_247.py,sha256=LMq3QQ5h1ipTYRxiE79kbkDEMEZuNDjAHnXwWbECT6Y,46223
|
|
82
82
|
chellow/reports/report_29.py,sha256=KDFjgrLBv4WbG9efCdu_geMR7gT_QV9N97Wfdt7aDc4,2736
|
|
83
83
|
chellow/reports/report_291.py,sha256=rqBXy6s7hMeYWw-yNX6w_L5t2yz6rNEeos_4xO7wf90,7519
|
|
84
84
|
chellow/reports/report_33.py,sha256=laVz-itDbJTdvC6LxLEeuY0eKpYx43Un4adiExPTEEE,16730
|
|
@@ -365,6 +365,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
|
|
|
365
365
|
chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
|
|
366
366
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
367
367
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
368
|
-
chellow-
|
|
369
|
-
chellow-
|
|
370
|
-
chellow-
|
|
368
|
+
chellow-1723630623.0.0.dist-info/METADATA,sha256=uO1r5mgkkgQ1MMmvsArp3l4hFOLWwvrTKbMx64XWh0U,12241
|
|
369
|
+
chellow-1723630623.0.0.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
|
|
370
|
+
chellow-1723630623.0.0.dist-info/RECORD,,
|
|
File without changes
|