chellow 1716981874.0.0__py3-none-any.whl → 1717079706.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.

@@ -72,7 +72,7 @@ CHARGE_UNITS_LOOKUP = {
72
72
 
73
73
  ELEMENT_LOOKUP = {
74
74
  "10ANNUAL": "standing",
75
- "20RS0108": "unrestricted",
75
+ "20RS0108": "single",
76
76
  "9WANNUAL": "site-fee",
77
77
  "20RS0123": "day",
78
78
  "30RS0123": "night",
chellow/e/views.py CHANGED
@@ -3277,9 +3277,12 @@ def mop_contract_get(contract_id):
3277
3277
  .order_by(RateScript.start_date.desc())
3278
3278
  .all()
3279
3279
  )
3280
- now = utc_datetime_now()
3281
- last_month_start = utc_datetime(now.year, now.month) - relativedelta(months=1)
3282
- last_month_finish = last_month_start + relativedelta(months=1) - HH
3280
+ now_ct = ct_datetime_now()
3281
+ last_month_start_ct = ct_datetime(now_ct.year, now_ct.month) - relativedelta(
3282
+ months=1
3283
+ )
3284
+ last_month_start = to_utc(last_month_start_ct)
3285
+ last_month_finish = to_utc(last_month_start_ct + relativedelta(months=1) - HH)
3283
3286
  party = contract.party
3284
3287
  return render_template(
3285
3288
  "mop_contract.html",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: chellow
3
- Version: 1716981874.0.0
3
+ Version: 1717079706.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)
@@ -38,7 +38,7 @@ chellow/e/system_price.py,sha256=6w5J7bzwFAZubE2zdOFRiS8IIrVP8hkoIOaG2yCt-Ic,623
38
38
  chellow/e/tlms.py,sha256=M33D6YpMixu2KkwSCzDRM3kThLgShg8exp63Obo75l8,8905
39
39
  chellow/e/tnuos.py,sha256=XseYztPUsQXNKuBmystO2kzzwAG9ehCZgpGBTdgSk-A,4313
40
40
  chellow/e/triad.py,sha256=lIQj7EdUrcFwEqleuHZXYU_bfzIwNOqUVVxB3NPQt4A,13710
41
- chellow/e/views.py,sha256=RQLiAzzWm5RUumvhR1rub1yFTMZ9uksqJIc1IShnXsQ,215256
41
+ chellow/e/views.py,sha256=AiafJQsK5pY7_bTiPq3zfJT1wEmcx5hhqkhIdX7fl8U,215342
42
42
  chellow/e/bill_parsers/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
43
  chellow/e/bill_parsers/activity_mop_stark_xlsx.py,sha256=UgWXDPzQkQghyj_lfgBqoSJpHB-t-qOdSaB8qY6GLog,4071
44
44
  chellow/e/bill_parsers/annual_mop_stark_xlsx.py,sha256=-HMoIfa_utXYKA44RuC0Xqv3vd2HLeQU_4P0iBUd3WA,4219
@@ -51,7 +51,7 @@ chellow/e/bill_parsers/gdf_csv.py,sha256=ZfK3Oc6oP28p_P9DIevLNB_zW2WLcEJ3Lvb1gL3
51
51
  chellow/e/bill_parsers/haven_csv.py,sha256=0uENq8IgVNqdxfBQMBxLTSZWCOuDHXZC0xzk52SbfyE,13652
52
52
  chellow/e/bill_parsers/haven_edi.py,sha256=YGPHRxPOhje9s32jqPHHELni2tooOYj3cMC_qaZVPq4,16107
53
53
  chellow/e/bill_parsers/haven_edi_tprs.py,sha256=ZVX9CCqUybsot_Z0BEOJPvl9x5kSr7fEWyuJXvZDcz4,11841
54
- chellow/e/bill_parsers/mm.py,sha256=5ChR3uVImZ6pJe_wZFeDkA06uxcVlyWWizwKJnMR_gg,8528
54
+ chellow/e/bill_parsers/mm.py,sha256=ShhaVc0IpShpy4Q2pfj3EfjhpjbffQutKsAq6ivNiys,8522
55
55
  chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py,sha256=yogXTuQHGRL7IiqvRWr2C9V24ez1j9Yx0128UygPE_k,4723
56
56
  chellow/e/bill_parsers/settlement_dc_stark_xlsx.py,sha256=gKeYMdUO4bVycV8n1lWs5AIfF3bHZLkM6tkasD4rhHs,6239
57
57
  chellow/e/bill_parsers/sse_edi.py,sha256=L85DOfNkqexeEIEr8pCBn_2sHJI-zEaw6cogpE3YyYM,15204
@@ -364,6 +364,6 @@ chellow/templates/g/supply_note_edit.html,sha256=6UQf_qbhFDys3cVsTp-c7ABWZpggW9R
364
364
  chellow/templates/g/supply_notes.html,sha256=WR3YwGh_qqTklSJ7JqWX6BKBc9rk_jMff4RiWZiF2CM,936
365
365
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
366
366
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
367
- chellow-1716981874.0.0.dist-info/METADATA,sha256=fmNvL5WsuPfJpjPhbO-_ngbiDXSrDJInuOu_a_TRM4Y,12205
368
- chellow-1716981874.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
- chellow-1716981874.0.0.dist-info/RECORD,,
367
+ chellow-1717079706.0.0.dist-info/METADATA,sha256=5kVS_Aht24beW5qemfU3ZruFDKewF95HjO-uBZBhkuo,12205
368
+ chellow-1717079706.0.0.dist-info/WHEEL,sha256=zEMcRr9Kr03x1ozGwg5v9NQBKn3kndp6LSoSlVg-jhU,87
369
+ chellow-1717079706.0.0.dist-info/RECORD,,