chellow 1754914129.0.0__tar.gz → 1755078653.0.0__tar.gz

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.

Files changed (503) hide show
  1. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/PKG-INFO +1 -1
  2. chellow-1755078653.0.0/VERSION +1 -0
  3. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/dno_rate_parser.py +232 -51
  4. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/duos.py +62 -13
  5. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/views.py +45 -0
  6. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_111.py +3 -4
  7. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_ecoes_comparison.py +23 -2
  8. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_ecoes_comparison.html +52 -30
  9. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_dno_rate_parser.py +98 -1
  10. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_duos.py +295 -9
  11. chellow-1754914129.0.0/VERSION +0 -1
  12. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/.ebextensions/chellow.config +0 -0
  13. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/.github/workflows/chellow.yml +0 -0
  14. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/.gitignore +0 -0
  15. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/README.md +0 -0
  16. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/application.py +0 -0
  17. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/bin/chellow_service_monitor.sh +0 -0
  18. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/bin/chellow_start.sh +0 -0
  19. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/__init__.py +0 -0
  20. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/api.py +0 -0
  21. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/bank_holidays.py +0 -0
  22. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/commands.py +0 -0
  23. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/dloads.py +0 -0
  24. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/__init__.py +0 -0
  25. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/aahedc.py +0 -0
  26. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_importer.py +0 -0
  27. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
  28. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -0
  29. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -0
  30. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
  31. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/csv.py +0 -0
  32. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/drax_edi.py +0 -0
  33. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/drax_element_edi.py +0 -0
  34. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/edf_export_xlsx.py +0 -0
  35. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/engie_edi.py +0 -0
  36. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/engie_export_xlsx.py +0 -0
  37. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/engie_xls.py +0 -0
  38. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
  39. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
  40. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
  41. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/haven_edi.py +0 -0
  42. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +0 -0
  43. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/mm.py +0 -0
  44. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -0
  45. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -0
  46. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/sse_edi.py +0 -0
  47. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bill_parsers/sww_xls.py +0 -0
  48. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bmarketidx.py +0 -0
  49. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/bsuos.py +0 -0
  50. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/ccl.py +0 -0
  51. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/cfd.py +0 -0
  52. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/computer.py +0 -0
  53. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/elexon.py +0 -0
  54. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/energy_management.py +0 -0
  55. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_importer.py +0 -0
  56. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
  57. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_df2.py +0 -0
  58. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_edf_csv.py +0 -0
  59. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_schneider_csv.py +0 -0
  60. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_schneider_xlsx.py +0 -0
  61. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
  62. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/hh_parser_vital_xlsx.py +0 -0
  63. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/lafs.py +0 -0
  64. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/lcc.py +0 -0
  65. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/mdd_importer.py +0 -0
  66. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/rcrc.py +0 -0
  67. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/ro.py +0 -0
  68. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/scenario.py +0 -0
  69. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/system_price.py +0 -0
  70. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/tlms.py +0 -0
  71. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/tnuos.py +0 -0
  72. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/e/triad.py +0 -0
  73. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/edi_lib.py +0 -0
  74. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/fake_batch_updater.py +0 -0
  75. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/bill_import.py +0 -0
  76. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/bill_parser_bgs_xlsx.py +0 -0
  77. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/bill_parser_csv.py +0 -0
  78. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
  79. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/bill_parser_total_edi.py +0 -0
  80. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/ccl.py +0 -0
  81. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/cv.py +0 -0
  82. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/dn_rate_parser.py +0 -0
  83. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/engine.py +0 -0
  84. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/transportation.py +0 -0
  85. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/gas/views.py +0 -0
  86. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/general_import.py +0 -0
  87. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/models.py +0 -0
  88. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/national_grid.py +0 -0
  89. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/proxy.py +0 -0
  90. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/rate_server.py +0 -0
  91. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/__init__.py +0 -0
  92. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_109.py +0 -0
  93. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_169.py +0 -0
  94. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_181.py +0 -0
  95. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_183.py +0 -0
  96. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_187.py +0 -0
  97. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_219.py +0 -0
  98. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_231.py +0 -0
  99. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_233.py +0 -0
  100. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_241.py +0 -0
  101. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_247.py +0 -0
  102. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_29.py +0 -0
  103. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_291.py +0 -0
  104. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_33.py +0 -0
  105. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_387.py +0 -0
  106. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_41.py +0 -0
  107. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_429.py +0 -0
  108. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_59.py +0 -0
  109. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_81.py +0 -0
  110. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_87.py +0 -0
  111. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_asset_comparison.py +0 -0
  112. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_batches.py +0 -0
  113. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_bills.py +0 -0
  114. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
  115. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_csv_site_hh_data.py +0 -0
  116. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
  117. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_g_monthly_duration.py +0 -0
  118. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_g_supplies_snapshot.py +0 -0
  119. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
  120. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
  121. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
  122. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_missing_bills.py +0 -0
  123. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_sscs.py +0 -0
  124. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/reports/report_supply_contacts.py +0 -0
  125. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/rrun.py +0 -0
  126. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/static/css/chellow.css +0 -0
  127. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/static/images/favicon.svg +0 -0
  128. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/static/images/favicon_test.svg +0 -0
  129. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/static/images/logo.png +0 -0
  130. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/static/js/htmx.min.js +0 -0
  131. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/403.html +0 -0
  132. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/base.html +0 -0
  133. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/bill_type.html +0 -0
  134. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/bill_types.html +0 -0
  135. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/chain.html +0 -0
  136. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
  137. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/dashboard.html +0 -0
  138. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/downloads.html +0 -0
  139. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/asset_comparison.html +0 -0
  140. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/channel.html +0 -0
  141. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/channel_add.html +0 -0
  142. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/channel_edit.html +0 -0
  143. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/channel_snag.html +0 -0
  144. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
  145. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/channel_snags.html +0 -0
  146. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/comm.html +0 -0
  147. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/comms.html +0 -0
  148. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/cop.html +0 -0
  149. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/cops.html +0 -0
  150. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_bills.html +0 -0
  151. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
  152. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_sites_hh_data.html +0 -0
  153. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
  154. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
  155. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
  156. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
  157. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_auto_importer.html +0 -0
  158. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batch.html +0 -0
  159. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batch_add.html +0 -0
  160. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batch_edit.html +0 -0
  161. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batch_file.html +0 -0
  162. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batch_file_edit.html +0 -0
  163. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batch_upload_file.html +0 -0
  164. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_batches.html +0 -0
  165. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_bill.html +0 -0
  166. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_bill_add.html +0 -0
  167. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_bill_edit.html +0 -0
  168. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_bill_import.html +0 -0
  169. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
  170. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contract.html +0 -0
  171. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contract_edit.html +0 -0
  172. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
  173. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
  174. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contract_properties.html +0 -0
  175. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contract_properties_edit.html +0 -0
  176. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contracts.html +0 -0
  177. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
  178. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
  179. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
  180. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dc_rate_script_edit.html +0 -0
  181. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dno.html +0 -0
  182. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
  183. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
  184. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
  185. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dnos.html +0 -0
  186. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
  187. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
  188. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/duration_report.html +0 -0
  189. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/elexon.html +0 -0
  190. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/em_hh_data.html +0 -0
  191. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/em_months.html +0 -0
  192. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/em_site.html +0 -0
  193. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/em_totals.html +0 -0
  194. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/energisation_status.html +0 -0
  195. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
  196. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/era_edit.html +0 -0
  197. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/era_edit_form.html +0 -0
  198. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
  199. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/generator_type.html +0 -0
  200. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/generator_types.html +0 -0
  201. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/gsp_group.html +0 -0
  202. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/gsp_groups.html +0 -0
  203. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
  204. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/lafs.html +0 -0
  205. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/lcc.html +0 -0
  206. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/llfc.html +0 -0
  207. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/llfc_edit.html +0 -0
  208. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/llfcs.html +0 -0
  209. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/market_role.html +0 -0
  210. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/market_roles.html +0 -0
  211. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
  212. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
  213. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/meter_type.html +0 -0
  214. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/meter_types.html +0 -0
  215. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batch.html +0 -0
  216. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batch_add.html +0 -0
  217. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batch_edit.html +0 -0
  218. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batch_file.html +0 -0
  219. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
  220. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batch_upload_file.html +0 -0
  221. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_batches.html +0 -0
  222. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_bill.html +0 -0
  223. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_bill_add.html +0 -0
  224. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
  225. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_bill_import.html +0 -0
  226. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
  227. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_contract.html +0 -0
  228. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
  229. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
  230. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_contracts.html +0 -0
  231. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
  232. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
  233. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
  234. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc.html +0 -0
  235. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
  236. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
  237. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
  238. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
  239. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
  240. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
  241. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_participant.html +0 -0
  242. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_participants.html +0 -0
  243. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
  244. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
  245. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/mtcs.html +0 -0
  246. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
  247. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/participant.html +0 -0
  248. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/participants.html +0 -0
  249. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/parties.html +0 -0
  250. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/party.html +0 -0
  251. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/pc.html +0 -0
  252. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/pcs.html +0 -0
  253. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/read_add.html +0 -0
  254. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/read_edit.html +0 -0
  255. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/read_type.html +0 -0
  256. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/read_types.html +0 -0
  257. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/scenario.html +0 -0
  258. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/scenario_add.html +0 -0
  259. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/scenario_docs.html +0 -0
  260. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/scenario_edit.html +0 -0
  261. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/scenarios.html +0 -0
  262. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_add_e_supply.html +0 -0
  263. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -0
  264. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_hh_data.html +0 -0
  265. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_site_snags.html +0 -0
  266. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_snag.html +0 -0
  267. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
  268. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_snags.html +0 -0
  269. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
  270. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/source.html +0 -0
  271. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/sources.html +0 -0
  272. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/ssc.html +0 -0
  273. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/sscs.html +0 -0
  274. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch.html +0 -0
  275. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch_add.html +0 -0
  276. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch_edit.html +0 -0
  277. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch_file.html +0 -0
  278. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch_file_add.html +0 -0
  279. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
  280. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batch_upload_file.html +0 -0
  281. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_batches.html +0 -0
  282. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_bill.html +0 -0
  283. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_bill_add.html +0 -0
  284. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
  285. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_bill_import.html +0 -0
  286. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_bill_imports.html +0 -0
  287. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_contract.html +0 -0
  288. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
  289. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_contract_edit.html +0 -0
  290. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
  291. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
  292. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
  293. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supplier_rate_script_edit.html +0 -0
  294. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply.html +0 -0
  295. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_edit.html +0 -0
  296. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_eras.html +0 -0
  297. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
  298. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_months.html +0 -0
  299. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_note_add.html +0 -0
  300. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
  301. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_notes.html +0 -0
  302. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_post.html +0 -0
  303. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
  304. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/tpr.html +0 -0
  305. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/e/tprs.html +0 -0
  306. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/edi_viewer.html +0 -0
  307. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/fake_batch_updater.html +0 -0
  308. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/batch.html +0 -0
  309. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/batch_add.html +0 -0
  310. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/batch_edit.html +0 -0
  311. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/batches.html +0 -0
  312. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/bill.html +0 -0
  313. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/bill_add.html +0 -0
  314. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/bill_edit.html +0 -0
  315. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/bill_import.html +0 -0
  316. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/bill_imports.html +0 -0
  317. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/dn.html +0 -0
  318. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/dns.html +0 -0
  319. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/era_edit.html +0 -0
  320. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/exit_zone.html +0 -0
  321. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
  322. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_contract.html +0 -0
  323. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
  324. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
  325. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_contracts.html +0 -0
  326. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
  327. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
  328. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
  329. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/ldz.html +0 -0
  330. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/read_add.html +0 -0
  331. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/read_edit.html +0 -0
  332. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/read_type.html +0 -0
  333. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/read_types.html +0 -0
  334. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
  335. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/reading_frequency.html +0 -0
  336. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/reports.html +0 -0
  337. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_contract.html +0 -0
  338. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
  339. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
  340. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_contracts.html +0 -0
  341. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
  342. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
  343. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
  344. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supplies.html +0 -0
  345. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supply.html +0 -0
  346. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supply_edit.html +0 -0
  347. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supply_note_add.html +0 -0
  348. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
  349. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/supply_notes.html +0 -0
  350. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/unit.html +0 -0
  351. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/g/units.html +0 -0
  352. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/general_import.html +0 -0
  353. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/general_imports.html +0 -0
  354. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/home.html +0 -0
  355. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/input_date.html +0 -0
  356. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/local_report.html +0 -0
  357. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/local_reports.html +0 -0
  358. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/macros.html +0 -0
  359. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/national_grid.html +0 -0
  360. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
  361. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_contract.html +0 -0
  362. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
  363. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_contracts.html +0 -0
  364. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_rate_script.html +0 -0
  365. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
  366. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
  367. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/object_summary.html +0 -0
  368. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/rate_server.html +0 -0
  369. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run.html +0 -0
  370. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
  371. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_bill_check.html +0 -0
  372. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_g_bill_check.html +0 -0
  373. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_missing_e_bills.html +0 -0
  374. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_monthly_duration_org.html +0 -0
  375. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_row.html +0 -0
  376. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_row_bill_check.html +0 -0
  377. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_row_g_bill_check.html +0 -0
  378. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
  379. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/report_runs.html +0 -0
  380. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/scenario.html +0 -0
  381. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/scenario_add.html +0 -0
  382. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/scenario_docs.html +0 -0
  383. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/scenario_edit.html +0 -0
  384. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/scenarios.html +0 -0
  385. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/site.html +0 -0
  386. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/site_add.html +0 -0
  387. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/site_edit.html +0 -0
  388. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/site_gen_graph.html +0 -0
  389. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/site_months.html +0 -0
  390. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/site_used_graph.html +0 -0
  391. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/sites.html +0 -0
  392. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/supplies.html +0 -0
  393. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/system.html +0 -0
  394. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/tester.html +0 -0
  395. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/user.html +0 -0
  396. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/user_roles.html +0 -0
  397. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/templates/users.html +0 -0
  398. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/testing.py +0 -0
  399. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/utils.py +0 -0
  400. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/chellow/views.py +0 -0
  401. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/gpl.txt +0 -0
  402. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/pyproject.toml +0 -0
  403. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/requirements.txt +0 -0
  404. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/setup.cfg +0 -0
  405. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/systemd/chellow.service +0 -0
  406. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/systemd/chellow_upgrader.service +0 -0
  407. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/systemd/chellow_upgrader.timer +0 -0
  408. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/conftest.py +0 -0
  409. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +0 -0
  410. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +0 -0
  411. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_csv.py +0 -0
  412. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_drax_edi.py +0 -0
  413. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_edf_export_xlsx.py +0 -0
  414. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +0 -0
  415. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -0
  416. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
  417. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
  418. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -0
  419. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +0 -0
  420. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_mm.py +0 -0
  421. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills.nonsettlement.dc.stark.xlsx +0 -0
  422. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills_old.nonsettlement.dc.stark.xlsx +0 -0
  423. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -0
  424. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx.py +0 -0
  425. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -0
  426. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -0
  427. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/bill_parsers/test_parser_drax_elements_edit.py +0 -0
  428. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/system_price/prices.xls +0 -0
  429. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/system_price/test_system_price.py +0 -0
  430. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_aahedc.py +0 -0
  431. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_bill_importer.py +0 -0
  432. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_bsuos.py +0 -0
  433. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_ccl.py +0 -0
  434. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_cfd.py +0 -0
  435. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_computer.py +0 -0
  436. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_e_views.py +0 -0
  437. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_energy_management.py +0 -0
  438. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_hh_importer.py +0 -0
  439. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_hh_parser_df2.py +0 -0
  440. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_hh_parser_vital_xlsx.py +0 -0
  441. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_lafs.py +0 -0
  442. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_mdd_importer.py +0 -0
  443. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_rcrc_importer.py +0 -0
  444. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_ro.py +0 -0
  445. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_scenario.py +0 -0
  446. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_tlms.py +0 -0
  447. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_tnuos.py +0 -0
  448. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/e/test_triad.py +0 -0
  449. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/bill_parsers/test_bill_parser_bgs_xlsx.py +0 -0
  450. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
  451. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/bill_parsers/test_g_bill_parser_total_edi.py +0 -0
  452. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/test_dn_rate_parser.py +0 -0
  453. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/test_engine.py +0 -0
  454. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/test_g_cv.py +0 -0
  455. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/test_gas_views.py +0 -0
  456. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/gas/test_transportation.py +0 -0
  457. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_g_monthly_duration.py +0 -0
  458. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_g_supplies_snapshot.py +0 -0
  459. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
  460. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_g_virtual_bills.py +0 -0
  461. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
  462. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_109.py +0 -0
  463. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_111.py +0 -0
  464. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_169.py +0 -0
  465. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_181.py +0 -0
  466. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_183.py +0 -0
  467. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_187.py +0 -0
  468. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_219.py +0 -0
  469. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_231.py +0 -0
  470. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_233.py +0 -0
  471. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_241.py +0 -0
  472. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_247.py +0 -0
  473. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_29.py +0 -0
  474. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_291.py +0 -0
  475. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_33.py +0 -0
  476. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_387.py +0 -0
  477. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_41.py +0 -0
  478. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_429.py +0 -0
  479. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_59.py +0 -0
  480. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_81.py +0 -0
  481. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_87.py +0 -0
  482. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_asset_comparison.py +0 -0
  483. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_batches.py +0 -0
  484. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_bills.py +0 -0
  485. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_csv_llfcs.py +0 -0
  486. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_csv_site_hh_data.py +0 -0
  487. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_csv_site_snags.py +0 -0
  488. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_dno_vl_parser.py +0 -0
  489. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_ecoes_comparison.py +0 -0
  490. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_missing_e_bills.py +0 -0
  491. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_sscs.py +0 -0
  492. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/reports/test_report_supply_contacts.py +0 -0
  493. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_chellow.py +0 -0
  494. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_dloads.py +0 -0
  495. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_edi_viewer.py +0 -0
  496. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_fake_batch_updater.py +0 -0
  497. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_general_import.py +0 -0
  498. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_models.py +0 -0
  499. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_rate_server.py +0 -0
  500. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_testing.py +0 -0
  501. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_utils.py +0 -0
  502. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/test_views.py +0 -0
  503. {chellow-1754914129.0.0 → chellow-1755078653.0.0}/test/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1754914129.0.0
3
+ Version: 1755078653.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)
@@ -0,0 +1 @@
1
+ __version__ = "1755078653.0.0"
@@ -145,6 +145,204 @@ BAND_WEEKEND = {
145
145
  "notes": None,
146
146
  }
147
147
 
148
+ PERIODS = {
149
+ "monday to friday (including bank holidays) april to march inclusive": [
150
+ {
151
+ "weekend": False,
152
+ "start-month": 4,
153
+ "start-day": 1,
154
+ "finish-month": 12,
155
+ "finish-day": 31,
156
+ },
157
+ {
158
+ "weekend": False,
159
+ "start-month": 1,
160
+ "start-day": 1,
161
+ "finish-month": 3,
162
+ "finish-day": 31,
163
+ },
164
+ ],
165
+ "monday to friday (including bank holidays) april to october inclusive and march": [
166
+ {
167
+ "weekend": False,
168
+ "start-month": 4,
169
+ "start-day": 1,
170
+ "finish-month": 10,
171
+ "finish-day": 31,
172
+ },
173
+ {
174
+ "weekend": False,
175
+ "start-month": 3,
176
+ "start-day": 1,
177
+ "finish-month": 3,
178
+ "finish-day": 31,
179
+ },
180
+ ],
181
+ "monday to friday (including bank holidays) june to august inclusive": [
182
+ {
183
+ "weekend": False,
184
+ "start-month": 6,
185
+ "start-day": 1,
186
+ "finish-month": 8,
187
+ "finish-day": 31,
188
+ },
189
+ ],
190
+ "monday to friday (including bank holidays) november to february inclusive": [
191
+ {
192
+ "weekend": False,
193
+ "start-month": 11,
194
+ "start-day": 1,
195
+ "finish-month": 12,
196
+ "finish-day": 31,
197
+ },
198
+ {
199
+ "weekend": False,
200
+ "start-month": 1,
201
+ "start-day": 1,
202
+ "finish-month": 2,
203
+ "finish-day": "last",
204
+ },
205
+ ],
206
+ "monday to friday (including bank holidays) november to february inclusive "
207
+ "(excluding 22nd dec to 4th jan inclusive)": [
208
+ {
209
+ "weekend": False,
210
+ "start-month": 11,
211
+ "start-day": 1,
212
+ "finish-month": 12,
213
+ "finish-day": 21,
214
+ },
215
+ {
216
+ "weekend": False,
217
+ "start-month": 1,
218
+ "start-day": 5,
219
+ "finish-month": 2,
220
+ "finish-day": "last",
221
+ },
222
+ ],
223
+ "monday to friday (including bank holidays) march to october inclusive": [
224
+ {
225
+ "weekend": False,
226
+ "start-month": 3,
227
+ "start-day": 1,
228
+ "finish-month": 10,
229
+ "finish-day": 31,
230
+ },
231
+ ],
232
+ "monday to friday (including bank holidays) mar to oct inclusive": [
233
+ {
234
+ "weekend": False,
235
+ "start-month": 3,
236
+ "start-day": 1,
237
+ "finish-month": 10,
238
+ "finish-day": 31,
239
+ },
240
+ ],
241
+ "monday to friday (including bank holidays) nov to feb inclusive": [
242
+ {
243
+ "weekend": False,
244
+ "start-month": 11,
245
+ "start-day": 1,
246
+ "finish-month": 12,
247
+ "finish-day": 31,
248
+ },
249
+ {
250
+ "weekend": False,
251
+ "start-month": 1,
252
+ "start-day": 1,
253
+ "finish-month": 2,
254
+ "finish-day": "last",
255
+ },
256
+ ],
257
+ (
258
+ "monday to friday nov to feb (excluding 22nd dec to 4th jan inclusive)"
259
+ "monday to friday (including bank holidays) nov to feb inclusive "
260
+ "(excluding 22nd dec to 4th jan inclusive)"
261
+ ): [
262
+ {
263
+ "weekend": False,
264
+ "start-month": 11,
265
+ "start-day": 1,
266
+ "finish-month": 12,
267
+ "finish-day": 21,
268
+ },
269
+ {
270
+ "weekend": False,
271
+ "start-month": 1,
272
+ "start-day": 5,
273
+ "finish-month": 2,
274
+ "finish-day": "last",
275
+ },
276
+ ],
277
+ (
278
+ "monday to friday (including bank holidays) "
279
+ "mar to oct inclusive (plus 22nd dec to 4th jan inclusive)"
280
+ ): [
281
+ {
282
+ "weekend": False,
283
+ "start-month": 3,
284
+ "start-day": 1,
285
+ "finish-month": 10,
286
+ "finish-day": 31,
287
+ },
288
+ {
289
+ "weekend": False,
290
+ "start-month": 12,
291
+ "start-day": 22,
292
+ "finish-month": 12,
293
+ "finish-day": 31,
294
+ },
295
+ {
296
+ "weekend": False,
297
+ "start-month": 1,
298
+ "start-day": 1,
299
+ "finish-month": 1,
300
+ "finish-day": 4,
301
+ },
302
+ ],
303
+ (
304
+ "monday to friday "
305
+ "(including bank holidays) "
306
+ "nov to feb inclusive (excluding 22nd dec to 4th jan inclusive)"
307
+ ): [
308
+ {
309
+ "weekend": False,
310
+ "start-month": 11,
311
+ "start-day": 1,
312
+ "finish-month": 12,
313
+ "finish-day": 21,
314
+ },
315
+ {
316
+ "weekend": False,
317
+ "start-month": 1,
318
+ "start-day": 4,
319
+ "finish-month": 2,
320
+ "finish-day": "last",
321
+ },
322
+ ],
323
+ "saturday and sunday all year": [
324
+ {
325
+ "weekend": True,
326
+ "start-month": 1,
327
+ "start-day": 1,
328
+ "finish-month": 12,
329
+ "finish-day": 31,
330
+ }
331
+ ],
332
+ (
333
+ "monday to friday (including bank holidays) november to february "
334
+ "monday to friday nov to feb"
335
+ ): [
336
+ {
337
+ "weekend": False,
338
+ "start-month": 11,
339
+ "start-day": 1,
340
+ "finish-month": 2,
341
+ "finish-day": "last",
342
+ }
343
+ ],
344
+ }
345
+
148
346
 
149
347
  def str_to_hr(hr_str):
150
348
  for sep in (":", "."):
@@ -209,6 +407,7 @@ def tab_lv_hv(sheet, gsp_rates):
209
407
  tariffs = gsp_rates["tariffs"] = {}
210
408
 
211
409
  bands = gsp_rates["bands"] = []
410
+ ums_bands = gsp_rates["ums_bands"] = []
212
411
 
213
412
  class State(Enum):
214
413
  OUTSIDE = auto()
@@ -236,15 +435,31 @@ def tab_lv_hv(sheet, gsp_rates):
236
435
 
237
436
  if is_weekend is None:
238
437
  state = State.OUTSIDE
239
- else:
240
- for i, band_name in enumerate(("red", "amber")):
241
- for slot in val_to_slots(get_value(row, i + 1)):
242
- bands.append(
438
+ continue
439
+
440
+ for i, band_name in enumerate(("red", "amber")):
441
+ for slot in val_to_slots(get_value(row, i + 1)):
442
+ bands.append(
443
+ {
444
+ "weekend": is_weekend,
445
+ "start": slot["start"],
446
+ "finish": slot["finish"],
447
+ "band": band_name,
448
+ }
449
+ )
450
+
451
+ val_6 = " ".join(get_value(row, 6).split()).lower()
452
+ periods = PERIODS[val_6]
453
+
454
+ for i, band_name in enumerate(("black", "yellow")):
455
+ for slot in val_to_slots(get_value(row, i + 8)):
456
+ for period in periods:
457
+ ums_bands.append(
243
458
  {
244
- "weekend": is_weekend,
245
- "start": slot["start"],
246
- "finish": slot["finish"],
247
459
  "band": band_name,
460
+ **period,
461
+ "start-decimal-hour": slot["start"],
462
+ "finish-decimal-hour": slot["finish"],
248
463
  }
249
464
  )
250
465
 
@@ -255,6 +470,9 @@ def tab_lv_hv(sheet, gsp_rates):
255
470
  llfcs_str = ",".join(
256
471
  chain(to_llfcs(get_value(row, 1)), to_llfcs(get_value(row, 10)))
257
472
  )
473
+ is_ums = "unmetered supplies" in val_0.lower()
474
+ high_band = "black" if is_ums else "red"
475
+ medium_band = "yellow" if is_ums else "amber"
258
476
  pcs_str = ",".join(to_pcs(row, 2))
259
477
  tariffs[llfcs_str + "_" + pcs_str] = {
260
478
  "description": val_0,
@@ -267,8 +485,10 @@ def tab_lv_hv(sheet, gsp_rates):
267
485
  "excess-gbp-per-kva-per-day": get_zero_rate(
268
486
  row, col_match(title_row, "exce")
269
487
  ),
270
- "red-gbp-per-kwh": get_rag_rate(row, col_match(title_row, "red")),
271
- "amber-gbp-per-kwh": get_rag_rate(
488
+ f"{high_band}-gbp-per-kwh": get_rag_rate(
489
+ row, col_match(title_row, "red")
490
+ ),
491
+ f"{medium_band}-gbp-per-kwh": get_rag_rate(
272
492
  row, col_match(title_row, "amber")
273
493
  ),
274
494
  "green-gbp-per-kwh": get_rag_rate(
@@ -344,54 +564,15 @@ def tab_ehv(sheet, gsp_rates):
344
564
  state = EHV_BLANK
345
565
  else:
346
566
  period_str = " ".join(get_value(row, 0).split()).lower()
347
- periods = []
348
-
349
- if period_str in (
350
- "monday to friday nov to feb (excluding "
351
- "22nd dec to 4th jan inclusive)",
352
- "monday to friday (including bank holidays) nov to feb inclusive "
353
- "(excluding 22nd dec to 4th jan inclusive)",
354
- ):
355
- periods.append(
356
- {
357
- "weekend": False,
358
- "start-month": 11,
359
- "start-day": 1,
360
- "finish-month": 12,
361
- "finish-day": 21,
362
- }
363
- )
364
- periods.append(
365
- {
366
- "weekend": False,
367
- "start-month": 1,
368
- "start-day": 5,
369
- "finish-month": 2,
370
- "finish-day": "last",
371
- }
372
- )
373
-
374
- elif period_str in (
375
- "monday to friday (including bank holidays) november to february",
376
- "monday to friday nov to feb",
377
- ):
378
- periods.append(
379
- {
380
- "weekend": False,
381
- "start-month": 11,
382
- "start-day": 1,
383
- "finish-month": 2,
384
- "finish-day": "last",
385
- }
386
- )
567
+ periods = PERIODS[period_str]
387
568
 
388
569
  for slot in val_to_slots(get_value(row, 3)):
389
570
  for period in periods:
390
571
  bands.append(
391
572
  {
392
573
  **period,
393
- "start-hour": slot["start"],
394
- "finish-hour": slot["finish"],
574
+ "start-decimal-hour": slot["start"],
575
+ "finish-decimal-hour": slot["finish"],
395
576
  }
396
577
  )
397
578
 
@@ -16,20 +16,17 @@ from chellow.utils import (
16
16
  )
17
17
 
18
18
 
19
- BANDS = ("super-red", "red", "amber", "green")
20
-
21
- KEYS = dict(
22
- (
23
- band,
24
- {
25
- "kwh": f"duos-{band}-kwh",
26
- "tariff-rate": f"{band}-gbp-per-kwh",
27
- "bill-rate": f"duos-{band}-rate",
28
- "gbp": f"duos-{band}-gbp",
29
- },
30
- )
19
+ BANDS = ("black", "super-red", "red", "amber", "yellow", "green")
20
+
21
+ KEYS = {
22
+ band: {
23
+ "kwh": f"duos-{band}-kwh",
24
+ "tariff-rate": f"{band}-gbp-per-kwh",
25
+ "bill-rate": f"duos-{band}-rate",
26
+ "gbp": f"duos-{band}-gbp",
27
+ }
31
28
  for band in BANDS
32
- )
29
+ }
33
30
 
34
31
  VL_LOOKUP = {
35
32
  "LV": {True: "lv-sub", False: "lv-net"},
@@ -706,6 +703,58 @@ def datum_2012_02_23(ds, hh):
706
703
  band = "super-red"
707
704
  break
708
705
 
706
+ bands_cache[start_date] = band
707
+ elif ds.dtc_meter_type_code is None: # unmetered
708
+ try:
709
+ band = gsp_group_cache["ums-bands"][start_date]
710
+ except KeyError:
711
+ try:
712
+ bands_cache = gsp_group_cache["ums-bands"]
713
+ except KeyError:
714
+ bands_cache = gsp_group_cache["ums-bands"] = {}
715
+
716
+ try:
717
+ band = bands_cache[start_date]
718
+ except KeyError:
719
+ band = "green"
720
+ ct_hr = hh["ct-decimal-hour"]
721
+ ct_day = hh["ct-day"]
722
+ ct_month = hh["ct-month"]
723
+ weekend = hh["ct-day-of-week"] > 4
724
+ try:
725
+ slots = ds.hh_rate(ds.dno_contract.id, start_date)[
726
+ ds.gsp_group_code
727
+ ]["ums_bands"]
728
+ except KeyError as e:
729
+ raise BadRequest(str(e))
730
+
731
+ for slot in slots:
732
+ if (
733
+ slot["weekend"] == weekend
734
+ and slot["start-decimal-hour"]
735
+ <= ct_hr
736
+ < slot["finish-decimal-hour"]
737
+ and (
738
+ ct_month > slot["start-month"]
739
+ or (
740
+ ct_month == slot["start-month"]
741
+ and ct_day >= slot["start-day"]
742
+ )
743
+ )
744
+ and (
745
+ ct_month < slot["finish-month"]
746
+ or (
747
+ ct_month == slot["finish-month"]
748
+ and (
749
+ slot["finish-day"] == "last"
750
+ or ct_day <= slot["finish-day"]
751
+ )
752
+ )
753
+ )
754
+ ):
755
+ band = slot["band"]
756
+ break
757
+
709
758
  bands_cache[start_date] = band
710
759
  else:
711
760
 
@@ -5730,6 +5730,51 @@ def supply_post(supply_id):
5730
5730
  f"successfully updated with the MSN {msn}. "
5731
5731
  )
5732
5732
  flash(msg)
5733
+
5734
+ if "new_llfc" in request.form:
5735
+ start_date_str = req_str("start_date")
5736
+ start_date = parse_hh_start(start_date_str)
5737
+ if start_date is None:
5738
+ raise BadRequest("The date of the MSN change is blank.")
5739
+
5740
+ llfc_code = req_str("llfc_code")
5741
+ llfc = supply.dno.get_llfc_by_code(g.sess, llfc_code)
5742
+ mpan_core = req_str("mpan_core")
5743
+ msg = ""
5744
+ era = supply.find_era_at(g.sess, start_date)
5745
+ if era is not None and era.start_date != start_date:
5746
+ era = supply.insert_era_at(g.sess, start_date)
5747
+ g.sess.commit()
5748
+ for era in supply.find_eras(g.sess, start_date, None):
5749
+ if era.imp_mpan_core == mpan_core:
5750
+ if era.imp_llfc.code == llfc.code:
5751
+ msg += (
5752
+ f"The era at {hh_format(era.start_date)} already has the "
5753
+ f"import LLFC {llfc.code}. "
5754
+ )
5755
+ else:
5756
+ era.imp_llfc = llfc
5757
+
5758
+ g.sess.commit()
5759
+ msg += (
5760
+ f"The era at {hh_format(era.start_date)} has been "
5761
+ f"successfully updated with the import LLFC {llfc.code}. "
5762
+ )
5763
+ elif era.exp_mpan_core == mpan_core:
5764
+ if era.exp_llfc.code == llfc.code:
5765
+ msg += (
5766
+ f"The era at {hh_format(era.start_date)} already has the "
5767
+ f"export LLFC {llfc.code}. "
5768
+ )
5769
+ else:
5770
+ era.exp_llfc = llfc
5771
+
5772
+ g.sess.commit()
5773
+ msg += (
5774
+ f"The era at {hh_format(era.start_date)} has been "
5775
+ f"successfully updated with the export LLFC {llfc.code}. "
5776
+ )
5777
+ flash(msg)
5733
5778
  return render_template("supply_post.html")
5734
5779
 
5735
5780
  except BadRequest as e:
@@ -321,9 +321,9 @@ def _process_supply(
321
321
  while len(bill_ids) > 0:
322
322
  bill_id = list(sorted(bill_ids))[0]
323
323
  bill_ids.remove(bill_id)
324
- bill = (
325
- sess.query(Bill)
326
- .filter(Bill.id == bill_id)
324
+ bill = sess.scalar(
325
+ select(Bill)
326
+ .where(Bill.id == bill_id)
327
327
  .options(
328
328
  joinedload(Bill.batch),
329
329
  joinedload(Bill.bill_type),
@@ -332,7 +332,6 @@ def _process_supply(
332
332
  joinedload(Bill.reads).joinedload(RegisterRead.present_type),
333
333
  joinedload(Bill.reads).joinedload(RegisterRead.previous_type),
334
334
  )
335
- .one()
336
335
  )
337
336
  virtual_bill = {"problem": ""}
338
337
  supply = bill.supply
@@ -25,7 +25,7 @@ from chellow.models import (
25
25
  Supply,
26
26
  User,
27
27
  )
28
- from chellow.utils import csv_make_val, req_bool
28
+ from chellow.utils import csv_make_val, req_bool, utc_datetime_now
29
29
 
30
30
 
31
31
  FNAME = "ecoes_comparison"
@@ -146,6 +146,7 @@ def _process(
146
146
  report_run,
147
147
  ):
148
148
  writer = csv.writer(f, lineterminator="\n")
149
+ now = utc_datetime_now()
149
150
 
150
151
  mpans = []
151
152
 
@@ -274,6 +275,7 @@ def _process(
274
275
  chellow_pc = ""
275
276
  chellow_mtc = ""
276
277
  chellow_llfc = ""
278
+ chellow_llfc_desc = ""
277
279
  chellow_ssc = ""
278
280
  chellow_es = ""
279
281
  chellow_supplier = ""
@@ -287,6 +289,11 @@ def _process(
287
289
  chellow_supply_id = None
288
290
  chellow_era_id = None
289
291
  ignore = True
292
+ ecoes_dno_code = ecoes["mpan-core"][:2]
293
+ ecoes_dno = Party.get_dno_by_code(sess, ecoes_dno_code, now)
294
+ ecoes_llfc_desc = ""
295
+ chellow_site_code = ""
296
+ chellow_site_name = ""
290
297
  diffs = []
291
298
 
292
299
  try:
@@ -404,11 +411,17 @@ def _process(
404
411
  ignore = False
405
412
 
406
413
  chellow_llfc = llfc.code
407
- if ecoes["llfc"].zfill(3) != chellow_llfc:
414
+ chellow_llfc_desc = llfc.description
415
+ ecoes_llfc_code = ecoes["llfc"].zfill(3)
416
+ if ecoes_llfc_code != chellow_llfc:
408
417
  problem += "The LLFCs don't match. "
409
418
  ignore = False
410
419
  diffs.append("llfc")
411
420
 
421
+ ecoes_llfc = ecoes_dno.find_llfc_by_code(sess, ecoes_llfc_code, now)
422
+ if ecoes_llfc is not None:
423
+ ecoes_llfc_desc = ecoes_llfc.description
424
+
412
425
  chellow_ssc = era.ssc
413
426
  if chellow_ssc is None:
414
427
  chellow_ssc = ""
@@ -466,6 +479,10 @@ def _process(
466
479
  ignore = False
467
480
  diffs.append("gsp_group")
468
481
 
482
+ chellow_site = era.get_physical_site(sess)
483
+ chellow_site_code = chellow_site.code
484
+ chellow_site_name = chellow_site.name
485
+
469
486
  chellow_msn = era.msn
470
487
 
471
488
  if set([m.strip() for m in chellow_msn.split(",")]) != set(
@@ -503,8 +520,10 @@ def _process(
503
520
  "ecoes_mtc_date": _parse_date(ecoes["mtc-date"]),
504
521
  "chellow_mtc": chellow_mtc,
505
522
  "ecoes_llfc": ecoes["llfc"],
523
+ "ecoes_llfc_desc": ecoes_llfc_desc,
506
524
  "ecoes_llfc_from": _parse_date(ecoes["llfc-from"]),
507
525
  "chellow_llfc": chellow_llfc,
526
+ "chellow_llfc_desc": chellow_llfc_desc,
508
527
  "ecoes_ssc": ecoes["ssc"],
509
528
  "chellow_ssc": chellow_ssc,
510
529
  "ecoes_es": ecoes["energisation-status"],
@@ -533,6 +552,8 @@ def _process(
533
552
  "address": ", ".join(
534
553
  [a for a in address_lines if len(a) > 0 and a != "NULL"]
535
554
  ),
555
+ "chellow_site_code": chellow_site_code,
556
+ "chellow_site_name": chellow_site_name,
536
557
  }
537
558
  writer.writerow(csv_make_val(values[t]) for t in titles)
538
559
  values["chellow_supplier_contract_id"] = chellow_supplier_contract_id