chellow 1761318293.0.0__py3-none-any.whl → 1761337766.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_111.py +7 -2
- chellow/templates/report_run_bill_check.html +3 -1
- {chellow-1761318293.0.0.dist-info → chellow-1761337766.0.0.dist-info}/METADATA +1 -1
- {chellow-1761318293.0.0.dist-info → chellow-1761337766.0.0.dist-info}/RECORD +5 -5
- {chellow-1761318293.0.0.dist-info → chellow-1761337766.0.0.dist-info}/WHEEL +0 -0
chellow/reports/report_111.py
CHANGED
|
@@ -688,8 +688,13 @@ def _process_period(
|
|
|
688
688
|
|
|
689
689
|
for elname, val_elem in val_elems.items():
|
|
690
690
|
for part_name, part in val_elem["parts"].items():
|
|
691
|
-
|
|
692
|
-
|
|
691
|
+
if part_name == "gbp":
|
|
692
|
+
default = 0
|
|
693
|
+
else:
|
|
694
|
+
default = None
|
|
695
|
+
virtual_part = part.get("virtual", default)
|
|
696
|
+
actual_part = part.get("actual", default)
|
|
697
|
+
|
|
693
698
|
if isinstance(virtual_part, set) and len(virtual_part) == 1:
|
|
694
699
|
virtual_part = next(iter(virtual_part))
|
|
695
700
|
if isinstance(actual_part, set) and len(actual_part) == 1:
|
|
@@ -146,7 +146,9 @@
|
|
|
146
146
|
{% for elem, diff in elements %}
|
|
147
147
|
<td style="text-align: right;">
|
|
148
148
|
{% if elem in data.elements %}
|
|
149
|
-
|
|
149
|
+
{% if val is not none %}
|
|
150
|
+
{{"{:0,.2f}".format(data.elements[elem]['parts']['gbp']['difference'])}}
|
|
151
|
+
{% endif %}
|
|
150
152
|
{% endif %}
|
|
151
153
|
</td>
|
|
152
154
|
{% endfor %}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1761337766.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/gas/transportation.py,sha256=uWFh0v-ViA02nH9Vof9JG3PiyAPXwhYZ1SvPxuzsQ0I
|
|
|
78
78
|
chellow/gas/views.py,sha256=GeCvi6BGTUN7bu7sVkypNckwG3Crl6AbUcRob9qMi0E,59733
|
|
79
79
|
chellow/reports/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
80
80
|
chellow/reports/report_109.py,sha256=Exb-FQ5f70-ier_h15CgHGysQ7vJ7k3gFZ1001zM3iM,11171
|
|
81
|
-
chellow/reports/report_111.py,sha256=
|
|
81
|
+
chellow/reports/report_111.py,sha256=I1a6ajORfxDJNdijHGm728Xx5MfSHLSRgWtA_ohxax4,26445
|
|
82
82
|
chellow/reports/report_169.py,sha256=wortJyvgXTrnjjXhLzqwaksKKu63K5IgdzU5f4SkHMI,9246
|
|
83
83
|
chellow/reports/report_181.py,sha256=ypfYWYVNC1X2fMlJyDzwNiNTTRrpPW49DirXE_xDKa0,4958
|
|
84
84
|
chellow/reports/report_183.py,sha256=fGONpKEIXTqIT_3dE5jZKBIesWPgLq-chHO6X22dIv0,8768
|
|
@@ -146,7 +146,7 @@ chellow/templates/object_summary.html,sha256=VGCAAYcWTzgNfL0mxEef2Fa8dP3FcBhzj0f
|
|
|
146
146
|
chellow/templates/rate_server.html,sha256=SezuwdKhHRZ00-R_S6ttKiZ-nvRpwozV9QcIMf9StG8,5360
|
|
147
147
|
chellow/templates/report_run.html,sha256=O_wjIu43S-mKVyZyku3dJJdvyck3rAgEdhw59TsCcK0,4040
|
|
148
148
|
chellow/templates/report_run_asset_comparison.html,sha256=VYCCUmIC7Mfe7uuaAHb6ihiK6zsqeTlQbzgtzLqR3zg,2305
|
|
149
|
-
chellow/templates/report_run_bill_check.html,sha256=
|
|
149
|
+
chellow/templates/report_run_bill_check.html,sha256=c7lHmq0l9GMBVXdgWVbLibS1vudCh8znLnD8COdZO3I,4558
|
|
150
150
|
chellow/templates/report_run_ecoes_comparison.html,sha256=EYjmdiQ14lt_CW7e6mdyQYec1t-rg8g85wFb1757YpI,4812
|
|
151
151
|
chellow/templates/report_run_g_bill_check.html,sha256=tOXl_mjR__foYKiOYflJbK-459actAtjzv8rfuL3TwM,4851
|
|
152
152
|
chellow/templates/report_run_missing_e_bills.html,sha256=l5idQhfaNhMvvzIRv-iqCpeDnYl_wgs6-mZMBOmuyR8,2447
|
|
@@ -400,6 +400,6 @@ chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBe
|
|
|
400
400
|
chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
|
|
401
401
|
chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
|
|
402
402
|
chellow/templates/reports/channel_snags.html,sha256=_aAgFgMlTkK2HuKFU8YisAIcUYfg6Hqhgyf5MZpdK8c,2629
|
|
403
|
-
chellow-
|
|
404
|
-
chellow-
|
|
405
|
-
chellow-
|
|
403
|
+
chellow-1761337766.0.0.dist-info/METADATA,sha256=gxe3nF8vfIn055xQA0khi23I-qlyx89p_CeqKbHvhXM,12428
|
|
404
|
+
chellow-1761337766.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
405
|
+
chellow-1761337766.0.0.dist-info/RECORD,,
|
|
File without changes
|