chellow 1759155233.0.0__tar.gz → 1759823276.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 (515) hide show
  1. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/PKG-INFO +4 -5
  2. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/README.md +2 -3
  3. chellow-1759823276.0.0/VERSION +1 -0
  4. chellow-1759823276.0.0/bin/chellow_upgrader.sh +36 -0
  5. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/general_import.py +64 -41
  6. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_111.py +37 -1
  7. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/general_imports.html +7 -0
  8. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_bill_check.html +1 -1
  9. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_row_bill_check.html +6 -1
  10. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/views.py +9 -6
  11. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/pyproject.toml +1 -1
  12. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_111.py +274 -2
  13. chellow-1759155233.0.0/VERSION +0 -1
  14. chellow-1759155233.0.0/bin/chellow_service_monitor.sh +0 -16
  15. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/.ebextensions/chellow.config +0 -0
  16. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/.github/workflows/chellow.yml +0 -0
  17. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/.gitignore +0 -0
  18. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/application.py +0 -0
  19. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/bin/chellow_start.sh +0 -0
  20. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/__init__.py +0 -0
  21. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/api.py +0 -0
  22. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/bank_holidays.py +0 -0
  23. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/commands.py +0 -0
  24. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/dloads.py +0 -0
  25. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/__init__.py +0 -0
  26. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/aahedc.py +0 -0
  27. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_importer.py +0 -0
  28. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
  29. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -0
  30. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -0
  31. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
  32. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/csv.py +0 -0
  33. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/drax_edi.py +0 -0
  34. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/edf_export_xlsx.py +0 -0
  35. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/engie_edi.py +0 -0
  36. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/engie_export_xlsx.py +0 -0
  37. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/engie_xls.py +0 -0
  38. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
  39. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
  40. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
  41. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/haven_edi.py +0 -0
  42. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +0 -0
  43. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/mm.py +0 -0
  44. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -0
  45. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -0
  46. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/sse_edi.py +0 -0
  47. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bill_parsers/sww_xls.py +0 -0
  48. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bmarketidx.py +0 -0
  49. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/bsuos.py +0 -0
  50. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/ccl.py +0 -0
  51. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/cfd.py +0 -0
  52. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/computer.py +0 -0
  53. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/dno_rate_parser.py +0 -0
  54. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/duos.py +0 -0
  55. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/elexon.py +0 -0
  56. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/energy_management.py +0 -0
  57. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_importer.py +0 -0
  58. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
  59. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_df2.py +0 -0
  60. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_edf_csv.py +0 -0
  61. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_schneider_csv.py +0 -0
  62. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_schneider_xlsx.py +0 -0
  63. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
  64. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/hh_parser_vital_xlsx.py +0 -0
  65. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/lafs.py +0 -0
  66. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/lcc.py +0 -0
  67. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/mdd_importer.py +0 -0
  68. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/rcrc.py +0 -0
  69. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/ro.py +0 -0
  70. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/scenario.py +0 -0
  71. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/system_price.py +0 -0
  72. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/tlms.py +0 -0
  73. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/tnuos.py +0 -0
  74. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/triad.py +0 -0
  75. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/e/views.py +0 -0
  76. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/edi_lib.py +0 -0
  77. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/fake_batch_updater.py +0 -0
  78. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/bill_import.py +0 -0
  79. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/bill_parser_bgs_xlsx.py +0 -0
  80. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/bill_parser_csv.py +0 -0
  81. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
  82. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/bill_parser_total_edi.py +0 -0
  83. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/ccl.py +0 -0
  84. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/cv.py +0 -0
  85. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/dn_rate_parser.py +0 -0
  86. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/engine.py +0 -0
  87. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/transportation.py +0 -0
  88. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/gas/views.py +0 -0
  89. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/models.py +0 -0
  90. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/national_grid.py +0 -0
  91. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/proxy.py +0 -0
  92. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/rate_server.py +0 -0
  93. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/__init__.py +0 -0
  94. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_109.py +0 -0
  95. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_169.py +0 -0
  96. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_181.py +0 -0
  97. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_183.py +0 -0
  98. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_187.py +0 -0
  99. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_219.py +0 -0
  100. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_231.py +0 -0
  101. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_233.py +0 -0
  102. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_241.py +0 -0
  103. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_247.py +0 -0
  104. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_29.py +0 -0
  105. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_291.py +0 -0
  106. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_33.py +0 -0
  107. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_387.py +0 -0
  108. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_41.py +0 -0
  109. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_429.py +0 -0
  110. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_59.py +0 -0
  111. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_81.py +0 -0
  112. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_87.py +0 -0
  113. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_asset_comparison.py +0 -0
  114. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_batches.py +0 -0
  115. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_bills.py +0 -0
  116. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
  117. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_csv_site_hh_data.py +0 -0
  118. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
  119. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_ecoes_comparison.py +0 -0
  120. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_g_monthly_duration.py +0 -0
  121. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_g_supplies_snapshot.py +0 -0
  122. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
  123. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
  124. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
  125. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_missing_bills.py +0 -0
  126. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_sscs.py +0 -0
  127. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/reports/report_supply_contacts.py +0 -0
  128. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/rrun.py +0 -0
  129. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/static/css/chellow.css +0 -0
  130. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/static/images/favicon.svg +0 -0
  131. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/static/images/favicon_test.svg +0 -0
  132. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/static/images/logo.png +0 -0
  133. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/static/js/htmx.min.js +0 -0
  134. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/403.html +0 -0
  135. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/base.html +0 -0
  136. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/bill_type.html +0 -0
  137. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/bill_types.html +0 -0
  138. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/chain.html +0 -0
  139. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
  140. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/dashboard.html +0 -0
  141. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/downloads.html +0 -0
  142. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/asset_comparison.html +0 -0
  143. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/channel.html +0 -0
  144. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/channel_add.html +0 -0
  145. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/channel_edit.html +0 -0
  146. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/channel_snag.html +0 -0
  147. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
  148. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/channel_snags.html +0 -0
  149. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/comm.html +0 -0
  150. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/comms.html +0 -0
  151. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/cop.html +0 -0
  152. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/cops.html +0 -0
  153. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_bills.html +0 -0
  154. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
  155. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_sites_hh_data.html +0 -0
  156. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
  157. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
  158. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
  159. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
  160. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_auto_importer.html +0 -0
  161. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batch.html +0 -0
  162. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batch_add.html +0 -0
  163. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batch_edit.html +0 -0
  164. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batch_file.html +0 -0
  165. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batch_file_edit.html +0 -0
  166. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batch_upload_file.html +0 -0
  167. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batches.html +0 -0
  168. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_batches_edit.html +0 -0
  169. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_bill.html +0 -0
  170. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_bill_add.html +0 -0
  171. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_bill_edit.html +0 -0
  172. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_bill_import.html +0 -0
  173. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_bill_import_contract.html +0 -0
  174. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
  175. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contract.html +0 -0
  176. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contract_edit.html +0 -0
  177. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
  178. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
  179. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contract_properties.html +0 -0
  180. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contract_properties_edit.html +0 -0
  181. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contracts.html +0 -0
  182. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
  183. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_element.html +0 -0
  184. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_element_add.html +0 -0
  185. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_element_edit.html +0 -0
  186. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
  187. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
  188. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dc_rate_script_edit.html +0 -0
  189. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dno.html +0 -0
  190. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
  191. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
  192. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
  193. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dnos.html +0 -0
  194. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
  195. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
  196. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/duration_report.html +0 -0
  197. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/elexon.html +0 -0
  198. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/em_hh_data.html +0 -0
  199. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/em_months.html +0 -0
  200. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/em_site.html +0 -0
  201. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/em_totals.html +0 -0
  202. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/energisation_status.html +0 -0
  203. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
  204. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/era_edit.html +0 -0
  205. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/era_edit_form.html +0 -0
  206. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
  207. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/generator_type.html +0 -0
  208. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/generator_types.html +0 -0
  209. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/gsp_group.html +0 -0
  210. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/gsp_groups.html +0 -0
  211. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
  212. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/lafs.html +0 -0
  213. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/lcc.html +0 -0
  214. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/llfc.html +0 -0
  215. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/llfc_edit.html +0 -0
  216. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/llfcs.html +0 -0
  217. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/market_role.html +0 -0
  218. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/market_roles.html +0 -0
  219. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
  220. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
  221. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/meter_type.html +0 -0
  222. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/meter_types.html +0 -0
  223. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batch.html +0 -0
  224. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batch_add.html +0 -0
  225. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batch_edit.html +0 -0
  226. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batch_file.html +0 -0
  227. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
  228. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batch_upload_file.html +0 -0
  229. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batches.html +0 -0
  230. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_batches_edit.html +0 -0
  231. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_bill.html +0 -0
  232. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_bill_add.html +0 -0
  233. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
  234. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_bill_import.html +0 -0
  235. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_bill_import_contract.html +0 -0
  236. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
  237. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_contract.html +0 -0
  238. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
  239. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
  240. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_contracts.html +0 -0
  241. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_element.html +0 -0
  242. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_element_add.html +0 -0
  243. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_element_edit.html +0 -0
  244. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
  245. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
  246. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
  247. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc.html +0 -0
  248. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
  249. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
  250. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
  251. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
  252. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
  253. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
  254. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_participant.html +0 -0
  255. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_participants.html +0 -0
  256. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
  257. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
  258. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/mtcs.html +0 -0
  259. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
  260. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/participant.html +0 -0
  261. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/participants.html +0 -0
  262. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/parties.html +0 -0
  263. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/party.html +0 -0
  264. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/pc.html +0 -0
  265. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/pcs.html +0 -0
  266. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/read_add.html +0 -0
  267. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/read_edit.html +0 -0
  268. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/read_type.html +0 -0
  269. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/read_types.html +0 -0
  270. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/scenario.html +0 -0
  271. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/scenario_add.html +0 -0
  272. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/scenario_docs.html +0 -0
  273. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/scenario_edit.html +0 -0
  274. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/scenarios.html +0 -0
  275. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_add_e_supply.html +0 -0
  276. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -0
  277. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_hh_data.html +0 -0
  278. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_site_snags.html +0 -0
  279. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_snag.html +0 -0
  280. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
  281. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_snags.html +0 -0
  282. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
  283. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/source.html +0 -0
  284. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/sources.html +0 -0
  285. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/ssc.html +0 -0
  286. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/sscs.html +0 -0
  287. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch.html +0 -0
  288. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch_add.html +0 -0
  289. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch_edit.html +0 -0
  290. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch_file.html +0 -0
  291. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch_file_add.html +0 -0
  292. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
  293. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batch_upload_file.html +0 -0
  294. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batches.html +0 -0
  295. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_batches_edit.html +0 -0
  296. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_bill.html +0 -0
  297. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_bill_add.html +0 -0
  298. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
  299. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_bill_import.html +0 -0
  300. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_bill_import_contract.html +0 -0
  301. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_contract.html +0 -0
  302. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
  303. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_contract_edit.html +0 -0
  304. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
  305. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_element.html +0 -0
  306. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_element_add.html +0 -0
  307. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_element_edit.html +0 -0
  308. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
  309. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
  310. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supplier_rate_script_edit.html +0 -0
  311. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply.html +0 -0
  312. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_edit.html +0 -0
  313. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_eras.html +0 -0
  314. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
  315. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_months.html +0 -0
  316. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_note_add.html +0 -0
  317. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
  318. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_notes.html +0 -0
  319. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_post.html +0 -0
  320. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
  321. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/tpr.html +0 -0
  322. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/e/tprs.html +0 -0
  323. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/edi_viewer.html +0 -0
  324. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/fake_batch_updater.html +0 -0
  325. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/batch.html +0 -0
  326. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/batch_add.html +0 -0
  327. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/batch_edit.html +0 -0
  328. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/batches.html +0 -0
  329. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/bill.html +0 -0
  330. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/bill_add.html +0 -0
  331. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/bill_edit.html +0 -0
  332. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/bill_import.html +0 -0
  333. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/bill_imports.html +0 -0
  334. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/dn.html +0 -0
  335. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/dns.html +0 -0
  336. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/era_edit.html +0 -0
  337. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/exit_zone.html +0 -0
  338. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
  339. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_contract.html +0 -0
  340. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
  341. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
  342. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_contracts.html +0 -0
  343. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
  344. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
  345. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
  346. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/ldz.html +0 -0
  347. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/read_add.html +0 -0
  348. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/read_edit.html +0 -0
  349. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/read_type.html +0 -0
  350. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/read_types.html +0 -0
  351. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
  352. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/reading_frequency.html +0 -0
  353. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/reports.html +0 -0
  354. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_contract.html +0 -0
  355. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
  356. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
  357. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_contracts.html +0 -0
  358. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
  359. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
  360. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
  361. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supplies.html +0 -0
  362. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supply.html +0 -0
  363. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supply_edit.html +0 -0
  364. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supply_note_add.html +0 -0
  365. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
  366. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/supply_notes.html +0 -0
  367. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/unit.html +0 -0
  368. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/g/units.html +0 -0
  369. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/general_import.html +0 -0
  370. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/home.html +0 -0
  371. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/input_date.html +0 -0
  372. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/local_report.html +0 -0
  373. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/local_reports.html +0 -0
  374. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/macros.html +0 -0
  375. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/national_grid.html +0 -0
  376. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
  377. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_contract.html +0 -0
  378. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
  379. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_contracts.html +0 -0
  380. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_rate_script.html +0 -0
  381. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
  382. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
  383. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/object_summary.html +0 -0
  384. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/rate_server.html +0 -0
  385. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run.html +0 -0
  386. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
  387. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_ecoes_comparison.html +0 -0
  388. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_g_bill_check.html +0 -0
  389. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_missing_e_bills.html +0 -0
  390. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_monthly_duration_org.html +0 -0
  391. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_row.html +0 -0
  392. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_row_g_bill_check.html +0 -0
  393. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
  394. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/report_runs.html +0 -0
  395. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/scenario.html +0 -0
  396. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/scenario_add.html +0 -0
  397. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/scenario_docs.html +0 -0
  398. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/scenario_edit.html +0 -0
  399. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/scenarios.html +0 -0
  400. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/site.html +0 -0
  401. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/site_add.html +0 -0
  402. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/site_edit.html +0 -0
  403. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/site_gen_graph.html +0 -0
  404. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/site_months.html +0 -0
  405. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/site_used_graph.html +0 -0
  406. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/sites.html +0 -0
  407. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/supplies.html +0 -0
  408. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/system.html +0 -0
  409. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/tester.html +0 -0
  410. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/user.html +0 -0
  411. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/user_roles.html +0 -0
  412. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/templates/users.html +0 -0
  413. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/testing.py +0 -0
  414. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/chellow/utils.py +0 -0
  415. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/gpl.txt +0 -0
  416. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/requirements.txt +0 -0
  417. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/systemd/chellow.service +0 -0
  418. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/systemd/chellow_upgrader.service +0 -0
  419. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/systemd/chellow_upgrader.timer +0 -0
  420. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/conftest.py +0 -0
  421. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/__init__.py +0 -0
  422. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +0 -0
  423. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +0 -0
  424. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_csv.py +0 -0
  425. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_drax_edi.py +0 -0
  426. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_edf_export_xlsx.py +0 -0
  427. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +0 -0
  428. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -0
  429. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
  430. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
  431. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -0
  432. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +0 -0
  433. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_mm.py +0 -0
  434. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -0
  435. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx.py +0 -0
  436. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -0
  437. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -0
  438. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/system_price/prices.xls +0 -0
  439. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/system_price/test_system_price.py +0 -0
  440. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_aahedc.py +0 -0
  441. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_bill_importer.py +0 -0
  442. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_bsuos.py +0 -0
  443. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_ccl.py +0 -0
  444. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_cfd.py +0 -0
  445. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_computer.py +0 -0
  446. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_dno_rate_parser.py +0 -0
  447. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_duos.py +0 -0
  448. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_energy_management.py +0 -0
  449. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_hh_importer.py +0 -0
  450. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_hh_parser_df2.py +0 -0
  451. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_hh_parser_vital_xlsx.py +0 -0
  452. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_lafs.py +0 -0
  453. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_mdd_importer.py +0 -0
  454. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_rcrc_importer.py +0 -0
  455. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_ro.py +0 -0
  456. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_scenario.py +0 -0
  457. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_tlms.py +0 -0
  458. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_tnuos.py +0 -0
  459. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_triad.py +0 -0
  460. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/e/test_views.py +0 -0
  461. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/bill_parsers/test_bill_parser_bgs_xlsx.py +0 -0
  462. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
  463. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/bill_parsers/test_g_bill_parser_total_edi.py +0 -0
  464. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/test_dn_rate_parser.py +0 -0
  465. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/test_engine.py +0 -0
  466. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/test_g_cv.py +0 -0
  467. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/test_gas_views.py +0 -0
  468. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/gas/test_transportation.py +0 -0
  469. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_g_monthly_duration.py +0 -0
  470. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_g_supplies_snapshot.py +0 -0
  471. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
  472. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_g_virtual_bills.py +0 -0
  473. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
  474. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_109.py +0 -0
  475. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_169.py +0 -0
  476. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_181.py +0 -0
  477. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_183.py +0 -0
  478. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_187.py +0 -0
  479. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_219.py +0 -0
  480. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_231.py +0 -0
  481. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_233.py +0 -0
  482. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_241.py +0 -0
  483. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_247.py +0 -0
  484. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_29.py +0 -0
  485. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_291.py +0 -0
  486. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_33.py +0 -0
  487. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_387.py +0 -0
  488. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_41.py +0 -0
  489. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_429.py +0 -0
  490. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_59.py +0 -0
  491. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_81.py +0 -0
  492. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_87.py +0 -0
  493. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_asset_comparison.py +0 -0
  494. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_batches.py +0 -0
  495. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_bills.py +0 -0
  496. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_csv_llfcs.py +0 -0
  497. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_csv_site_hh_data.py +0 -0
  498. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_csv_site_snags.py +0 -0
  499. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_dno_vl_parser.py +0 -0
  500. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_ecoes_comparison.py +0 -0
  501. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_missing_e_bills.py +0 -0
  502. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_sscs.py +0 -0
  503. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/reports/test_report_supply_contacts.py +0 -0
  504. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_chellow.py +0 -0
  505. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_dloads.py +0 -0
  506. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_edi_lib.py +0 -0
  507. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_edi_viewer.py +0 -0
  508. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_fake_batch_updater.py +0 -0
  509. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_general_import.py +0 -0
  510. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_models.py +0 -0
  511. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_rate_server.py +0 -0
  512. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_testing.py +0 -0
  513. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_utils.py +0 -0
  514. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/test_views.py +0 -0
  515. {chellow-1759155233.0.0 → chellow-1759823276.0.0}/test/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1759155233.0.0
3
+ Version: 1759823276.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)
@@ -14,7 +14,7 @@ Requires-Dist: odio==0.0.23
14
14
  Requires-Dist: openpyxl==3.1.5
15
15
  Requires-Dist: paramiko==3.4.1
16
16
  Requires-Dist: pep3143daemon==0.1.0
17
- Requires-Dist: pg8000==1.31.1
17
+ Requires-Dist: pg8000==1.31.5
18
18
  Requires-Dist: pip>=9.0.1
19
19
  Requires-Dist: psutil==5.9.5
20
20
  Requires-Dist: pympler==1.0.1
@@ -47,7 +47,7 @@ Chellow is a web application for checking UK electricity and gas bills. It's des
47
47
  for organizations with high electricity consumption. The software is hosted at
48
48
  https://github.com/WessexWater/chellow.
49
49
 
50
- [![Build Status](https://github.com/WessexWater/chellow/workflows/chellow/badge.svg)](https://github.com/WessexWater/chellow/workflows/chellow)
50
+ [![Build Status](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml/badge.svg)](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml)
51
51
 
52
52
 
53
53
  ## Installation
@@ -55,8 +55,7 @@ https://github.com/WessexWater/chellow.
55
55
  Chellow is a Python web application that uses the PostgreSQL database. To install
56
56
  Chellow, follow these steps:
57
57
 
58
- * Install [PostgreSQL](http://www.postgresql.org/) 12
59
- * Set the PostgreSQL time zone to 'UTC'.
58
+ * Install [PostgreSQL](http://www.postgresql.org/) 15
60
59
  * Create a PostgreSQL database: `createdb --encoding=UTF8 chellow`
61
60
  * Set up the following environment variables to configure Chellow:
62
61
 
@@ -17,7 +17,7 @@ Chellow is a web application for checking UK electricity and gas bills. It's des
17
17
  for organizations with high electricity consumption. The software is hosted at
18
18
  https://github.com/WessexWater/chellow.
19
19
 
20
- [![Build Status](https://github.com/WessexWater/chellow/workflows/chellow/badge.svg)](https://github.com/WessexWater/chellow/workflows/chellow)
20
+ [![Build Status](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml/badge.svg)](https://github.com/WessexWater/chellow/actions/workflows/chellow.yml)
21
21
 
22
22
 
23
23
  ## Installation
@@ -25,8 +25,7 @@ https://github.com/WessexWater/chellow.
25
25
  Chellow is a Python web application that uses the PostgreSQL database. To install
26
26
  Chellow, follow these steps:
27
27
 
28
- * Install [PostgreSQL](http://www.postgresql.org/) 12
29
- * Set the PostgreSQL time zone to 'UTC'.
28
+ * Install [PostgreSQL](http://www.postgresql.org/) 15
30
29
  * Create a PostgreSQL database: `createdb --encoding=UTF8 chellow`
31
30
  * Set up the following environment variables to configure Chellow:
32
31
 
@@ -0,0 +1 @@
1
+ __version__ = "1759823276.0.0"
@@ -0,0 +1,36 @@
1
+ #!/usr/bin/env bash
2
+
3
+ cd /var/www/chellow
4
+ source venv/bin/activate
5
+
6
+ if [[ $* == *--test* ]] ; then
7
+ if pip list --outdated --extra-index-url https://test.pypi.org/simple/ | grep chellow ; then
8
+ echo "Found a new Chellow version."
9
+
10
+ echo "Stopping Chellow"
11
+ /usr/bin/systemctl stop chellow
12
+
13
+ echo "Doing a pip upgrade of Chellow."
14
+ pip install chellow --upgrade --extra-index-url https://test.pypi.org/simple/
15
+
16
+ echo "Starting Chellow"
17
+ /usr/bin/systemctl start chellow
18
+ else
19
+ echo "No new version found."
20
+ fi
21
+ else
22
+ if pip list --outdated | grep chellow ; then
23
+ echo "Found a new Chellow version."
24
+
25
+ echo "Stopping Chellow"
26
+ /usr/bin/systemctl stop chellow
27
+
28
+ echo "Doing a pip upgrade of Chellow."
29
+ pip install chellow --upgrade
30
+
31
+ echo "Starting Chellow"
32
+ /usr/bin/systemctl start chellow
33
+ else
34
+ echo "No new version found."
35
+ fi
36
+ fi
@@ -942,47 +942,70 @@ def general_import_bill(sess, action, vals, args):
942
942
  supply,
943
943
  )
944
944
 
945
- for i in range(15, len(vals), 11):
946
- msn = add_arg(args, "Meter Serial Number", vals, i)
947
- mpan_str = add_arg(args, "MPAN", vals, i + 1)
948
- coefficient_str = add_arg(args, "Coefficient", vals, i + 2)
949
- coefficient = Decimal(coefficient_str)
950
- units = add_arg(args, "Units", vals, i + 3)
951
- tpr_code = add_arg(args, "TPR", vals, i + 4)
952
- if len(tpr_code) > 0:
953
- tpr = Tpr.get_by_code(sess, tpr_code)
954
- else:
955
- tpr = None
956
-
957
- prev_date_str = add_arg(args, "Previous Date", vals, i + 5)
958
- prev_date = parse_hh_start(prev_date_str)
959
- prev_value_str = add_arg(args, "Previous Value", vals, i + 6)
960
- prev_value = Decimal(prev_value_str)
961
-
962
- prev_type_str = add_arg(args, "Previous Type", vals, i + 7)
963
- prev_type = ReadType.get_by_code(sess, prev_type_str)
964
-
965
- pres_date_str = add_arg(args, "Present Date", vals, i + 8)
966
- pres_date = parse_hh_start(pres_date_str)
967
- pres_value_str = add_arg(args, "Present Value", vals, i + 9)
968
- pres_value = Decimal(pres_value_str)
969
-
970
- pres_type_str = add_arg(args, "Present Type", vals, i + 10)
971
- pres_type = ReadType.get_by_code(sess, pres_type_str)
972
- bill.insert_read(
973
- sess,
974
- tpr,
975
- coefficient,
976
- units,
977
- msn,
978
- mpan_str,
979
- prev_date,
980
- prev_value,
981
- prev_type,
982
- pres_date,
983
- pres_value,
984
- pres_type,
985
- )
945
+ i = 15
946
+ while i < len(vals):
947
+ typ = add_arg(args, "read or element", vals, i)
948
+ if typ == "read":
949
+ msn = add_arg(args, "Meter Serial Number", vals, i + 1)
950
+ mpan_str = add_arg(args, "MPAN", vals, i + 2)
951
+ coefficient_str = add_arg(args, "Coefficient", vals, i + 3)
952
+ coefficient = Decimal(coefficient_str)
953
+ units = add_arg(args, "Units", vals, i + 4)
954
+ tpr_code = add_arg(args, "TPR", vals, i + 5)
955
+ if len(tpr_code) > 0:
956
+ tpr = Tpr.get_by_code(sess, tpr_code)
957
+ else:
958
+ tpr = None
959
+
960
+ prev_date_str = add_arg(args, "Previous Date", vals, i + 6)
961
+ prev_date = parse_hh_start(prev_date_str)
962
+ prev_value_str = add_arg(args, "Previous Value", vals, i + 7)
963
+ prev_value = Decimal(prev_value_str)
964
+
965
+ prev_type_str = add_arg(args, "Previous Type", vals, i + 8)
966
+ prev_type = ReadType.get_by_code(sess, prev_type_str)
967
+
968
+ pres_date_str = add_arg(args, "Present Date", vals, i + 9)
969
+ pres_date = parse_hh_start(pres_date_str)
970
+ pres_value_str = add_arg(args, "Present Value", vals, i + 10)
971
+ pres_value = Decimal(pres_value_str)
972
+
973
+ pres_type_str = add_arg(args, "Present Type", vals, i + 11)
974
+ pres_type = ReadType.get_by_code(sess, pres_type_str)
975
+ bill.insert_read(
976
+ sess,
977
+ tpr,
978
+ coefficient,
979
+ units,
980
+ msn,
981
+ mpan_str,
982
+ prev_date,
983
+ prev_value,
984
+ prev_type,
985
+ pres_date,
986
+ pres_value,
987
+ pres_type,
988
+ )
989
+ i += 12
990
+ elif typ == "element":
991
+ name = add_arg(args, "Name", vals, i + 1)
992
+ start_date_str = add_arg(args, "Start Date", vals, i + 2)
993
+ start_date = parse_hh_start(start_date_str)
994
+ finish_date_str = add_arg(args, "Finish Date", vals, i + 3)
995
+ finish_date = parse_hh_start(finish_date_str)
996
+ net_str = add_arg(args, "Net", vals, i + 4)
997
+ net = Decimal(net_str)
998
+ breakdown_str = add_arg(args, "Breakdown", vals, i + 5)
999
+ breakdown = _parse_breakdown(breakdown_str)
1000
+ bill.insert_element(
1001
+ sess,
1002
+ name,
1003
+ start_date,
1004
+ finish_date,
1005
+ net,
1006
+ breakdown,
1007
+ )
1008
+ i += 6
986
1009
 
987
1010
  elif action == "update":
988
1011
  bill_id_str = add_arg(args, "Bill Id", vals, 0)
@@ -4,7 +4,7 @@ import threading
4
4
  import traceback
5
5
  from collections import defaultdict
6
6
  from datetime import datetime as Datetime
7
- from decimal import Decimal
7
+ from decimal import Decimal, ROUND_HALF_UP
8
8
  from itertools import combinations
9
9
  from numbers import Number
10
10
 
@@ -18,6 +18,8 @@ from sqlalchemy.sql.expression import null
18
18
 
19
19
  from werkzeug.exceptions import BadRequest
20
20
 
21
+ from zish import ZishException
22
+
21
23
 
22
24
  from chellow.dloads import open_file
23
25
  from chellow.e.computer import SupplySource, contract_func
@@ -456,6 +458,40 @@ def _process_period(
456
458
  f"the Net GBP ({bill.net}) + VAT GBP ({bill.vat}) of the bill."
457
459
  )
458
460
 
461
+ vat_net = Decimal("0.00")
462
+ vat_vat = Decimal("0.00")
463
+
464
+ try:
465
+ bd = bill.bd
466
+
467
+ if "vat" in bd:
468
+ for vat_percentage, vat_vals in bd["vat"].items():
469
+ calc_vat = Decimal(
470
+ float(vat_percentage) / 100 * float(vat_vals["net"])
471
+ ).quantize(Decimal("0.01"), rounding=ROUND_HALF_UP)
472
+ if calc_vat != vat_vals["vat"]:
473
+ actual_bill["problem"] += (
474
+ f"The VAT at {vat_percentage}% on the net amount "
475
+ f"{vat_vals['net']} is calculated to be {calc_vat}, "
476
+ f"which is different from the value in the bill of "
477
+ f"{vat_vals['vat']}"
478
+ )
479
+ vat_net += vat_vals["net"]
480
+ vat_vat += vat_vals["vat"]
481
+ except ZishException as e:
482
+ actual_bill["problem"] += f"Problem parsing the breakdown: {e}"
483
+
484
+ if vat_net != bill.net:
485
+ actual_bill["problem"] += (
486
+ f"The total 'net' {vat_net} in the VAT breakdown doesn't "
487
+ f"match the 'net' {bill.net} of the bill."
488
+ )
489
+ if vat_vat != bill.vat:
490
+ actual_bill["problem"] += (
491
+ f"The total VAT {vat_vat} in the VAT breakdown doesn't "
492
+ f"match the VAT {bill.vat} of the bill."
493
+ )
494
+
459
495
  if len(actual_bill["problem"]) > 0:
460
496
  vals["problem"] += "Bills have problems. "
461
497
 
@@ -306,6 +306,7 @@
306
306
  <td>Type</td>
307
307
  <td>Breakdown</td>
308
308
  <td>Kwh</td>
309
+ <td>'read' or 'element'</td>
309
310
  <td>(Meter Serial Number</td>
310
311
  <td>Mpan</td>
311
312
  <td>Coefficient</td>
@@ -317,6 +318,12 @@
317
318
  <td>Present Date</td>
318
319
  <td>Present Value</td>
319
320
  <td>Present Type)*</td>
321
+ <td>'read' or 'element'</td>
322
+ <td>(Name</td>
323
+ <td>Start Date</td>
324
+ <td>Finish Date</td>
325
+ <td>Net</td>
326
+ <td>Breakdown)*</td>
320
327
  </tr>
321
328
  <tr>
322
329
  <td><em>update</em></td>
@@ -101,7 +101,7 @@
101
101
  {% for row in rows %}
102
102
  {% set data = row.data['data'] %}
103
103
  {% set properties = row.data.get('properties', {}) %}
104
- {% set market_ROLE_Code = data['market_role_code'] %}
104
+ {% set market_role_code = data['market_role_code'] %}
105
105
  <tr>
106
106
  <td><a href="/report_run_rows/{{row.id}}">View</a></td>
107
107
  <td style="white-space: nowrap">
@@ -108,7 +108,12 @@
108
108
  <td>
109
109
  <strong style="color: red">{{bill.problem}}</strong>
110
110
  </td>
111
- <td>{{bill.breakdown}}</td>
111
+ <td>
112
+ <details>
113
+ <summary>Breakdown</summary>
114
+ <pre>{{bill.breakdown}}</pre>
115
+ </details>
116
+ </td>
112
117
  </tr>
113
118
  {% endfor %}
114
119
  </tbody>
@@ -1389,14 +1389,17 @@ def report_run_get(run_id):
1389
1389
  )
1390
1390
  for n in element_names
1391
1391
  ]
1392
- sum_diffs = g.sess.execute(
1393
- select(*diff_selects).where(ReportRunRow.report_run == run)
1394
- ).one()
1392
+ if len(diff_selects) > 0:
1393
+ sum_diffs = g.sess.execute(
1394
+ select(*diff_selects).where(ReportRunRow.report_run == run)
1395
+ ).one()
1395
1396
 
1396
- for elem, sum_diff in zip(element_names, sum_diffs):
1397
- elements.append((elem, sum_diff))
1397
+ for elem, sum_diff in zip(element_names, sum_diffs):
1398
+ elements.append((elem, sum_diff))
1398
1399
 
1399
- elements.sort(key=lambda x: 0 if x[1] is None else abs(x[1]), reverse=True)
1400
+ elements.sort(
1401
+ key=lambda x: 0 if x[1] is None else abs(x[1]), reverse=True
1402
+ )
1400
1403
 
1401
1404
  if "element" in request.values:
1402
1405
  element = req_str("element")
@@ -16,7 +16,7 @@ classifiers = [
16
16
  dependencies = [
17
17
  "odio==0.0.23",
18
18
  "pypdf==6.0.0",
19
- "pg8000==1.31.1",
19
+ "pg8000==1.31.5",
20
20
  "Flask==3.1.1",
21
21
  "SQLAlchemy==2.0.41",
22
22
  "flask-restx==1.3.0",
@@ -35,7 +35,12 @@ from chellow.models import (
35
35
  insert_sources,
36
36
  insert_voltage_levels,
37
37
  )
38
- from chellow.reports.report_111 import _process_supply, content, find_gaps
38
+ from chellow.reports.report_111 import (
39
+ _process_period,
40
+ _process_supply,
41
+ content,
42
+ find_gaps,
43
+ )
39
44
  from chellow.utils import ct_datetime, to_utc, utc_datetime
40
45
 
41
46
 
@@ -119,6 +124,270 @@ def test_http_supplier_batch_with_mpan_cores(mocker, client, sess):
119
124
  # Worker level tests
120
125
 
121
126
 
127
+ def test_process_period(sess):
128
+ vf = to_utc(ct_datetime(1996, 1, 1))
129
+ site = Site.insert(sess, "CI017", "Water Works")
130
+
131
+ market_role_Z = MarketRole.insert(sess, "Z", "Non-core")
132
+ participant = Participant.insert(sess, "CALB", "AK Industries")
133
+ participant.insert_party(sess, market_role_Z, "None core", vf, None, None)
134
+ bank_holiday_rate_script = {"bank_holidays": []}
135
+ Contract.insert_non_core(
136
+ sess,
137
+ "bank_holidays",
138
+ "",
139
+ {},
140
+ utc_datetime(2000, 1, 1),
141
+ None,
142
+ bank_holiday_rate_script,
143
+ )
144
+ market_role_X = MarketRole.insert(sess, "X", "Supplier")
145
+ market_role_M = MarketRole.insert(sess, "M", "Mop")
146
+ market_role_C = MarketRole.insert(sess, "C", "HH Dc")
147
+ market_role_R = MarketRole.insert(sess, "R", "Distributor")
148
+ participant.insert_party(sess, market_role_M, "Fusion Mop Ltd", vf, None, None)
149
+ participant.insert_party(sess, market_role_X, "Fusion Ltc", vf, None, None)
150
+ participant.insert_party(sess, market_role_C, "Fusion DC", vf, None, None)
151
+ mop_contract = Contract.insert_mop(
152
+ sess, "Fusion", participant, "", {}, vf, None, {}
153
+ )
154
+ dc_contract = Contract.insert_dc(
155
+ sess, "Fusion DC 2000", participant, "", {}, vf, None, {}
156
+ )
157
+ pc = Pc.insert(sess, "00", "hh", vf, None)
158
+ insert_cops(sess)
159
+ cop = Cop.get_by_code(sess, "5")
160
+ insert_comms(sess)
161
+ comm = Comm.get_by_code(sess, "GSM")
162
+ supplier_charge_script = """
163
+ import chellow.e.ccl
164
+ from chellow.utils import HH, reduce_bill_hhs, utc_datetime
165
+
166
+ def virtual_bill(ds):
167
+ rate = 0.1
168
+ for hh in ds.hh_data:
169
+ hh_start = hh['start-date']
170
+ bill_hh = ds.supplier_bill_hhs[hh_start]
171
+ bill_hh['nrg-kwh'] = hh['msp-kwh']
172
+ bill_hh['nrg-rate'] = {rate}
173
+ bill_hh['off-rate'] = {0.1}
174
+ bill_hh['nrg-gbp'] = hh['msp-kwh'] * rate + 1
175
+ bill_hh['net-gbp'] = sum(
176
+ v for k, v in bill_hh.items() if k.endswith('gbp'))
177
+ bill_hh['vat-gbp'] = 0
178
+ bill_hh['gross-gbp'] = bill_hh['net-gbp'] + bill_hh['vat-gbp']
179
+ bill_hh['problem'] = 'hello '
180
+
181
+ ds.supplier_bill = reduce_bill_hhs(ds.supplier_bill_hhs)
182
+ """
183
+ supplier_contract = Contract.insert_supplier(
184
+ sess,
185
+ "Fusion Supplier 2000",
186
+ participant,
187
+ supplier_charge_script,
188
+ {},
189
+ utc_datetime(2000, 1, 1),
190
+ None,
191
+ {},
192
+ )
193
+ dno = participant.insert_party(sess, market_role_R, "WPD", vf, None, "22")
194
+ Contract.insert_dno(sess, dno.dno_code, participant, "", {}, vf, None, {})
195
+ meter_type = MeterType.insert(sess, "C5", "COP 1-5", utc_datetime(2000, 1, 1), None)
196
+ meter_payment_type = MeterPaymentType.insert(
197
+ sess, "CR", "Credit", utc_datetime(1996, 1, 1), None
198
+ )
199
+ mtc = Mtc.insert(sess, "845", False, True, vf, None)
200
+ mtc_participant = MtcParticipant.insert(
201
+ sess,
202
+ mtc,
203
+ participant,
204
+ "HH COP5 And Above With Comms",
205
+ False,
206
+ True,
207
+ meter_type,
208
+ meter_payment_type,
209
+ 0,
210
+ vf,
211
+ None,
212
+ )
213
+ insert_voltage_levels(sess)
214
+ voltage_level = VoltageLevel.get_by_code(sess, "HV")
215
+ llfc = dno.insert_llfc(
216
+ sess, "510", "PC 5-8 & HH HV", voltage_level, False, True, vf, None
217
+ )
218
+ MtcLlfc.insert(sess, mtc_participant, llfc, vf, None)
219
+ insert_sources(sess)
220
+ source = Source.get_by_code(sess, "grid")
221
+ insert_energisation_statuses(sess)
222
+ energisation_status = EnergisationStatus.get_by_code(sess, "E")
223
+ gsp_group = GspGroup.insert(sess, "_L", "South Western")
224
+ insert_dtc_meter_types(sess)
225
+ dtc_meter_type = DtcMeterType.get_by_code(sess, "H")
226
+ supply = site.insert_e_supply(
227
+ sess,
228
+ source,
229
+ None,
230
+ "Bob",
231
+ utc_datetime(2000, 1, 1),
232
+ None,
233
+ gsp_group,
234
+ mop_contract,
235
+ "773",
236
+ dc_contract,
237
+ "ghyy3",
238
+ "hgjeyhuw",
239
+ dno,
240
+ pc,
241
+ "845",
242
+ cop,
243
+ comm,
244
+ None,
245
+ energisation_status,
246
+ dtc_meter_type,
247
+ "22 7867 6232 781",
248
+ "510",
249
+ supplier_contract,
250
+ "7748",
251
+ 361,
252
+ None,
253
+ None,
254
+ None,
255
+ None,
256
+ None,
257
+ )
258
+ batch = supplier_contract.insert_batch(sess, "a b", "")
259
+ insert_bill_types(sess)
260
+ bill_type = BillType.get_by_code(sess, "N")
261
+ bill = batch.insert_bill(
262
+ sess,
263
+ "dd",
264
+ "hjk",
265
+ to_utc(ct_datetime(2009, 7, 10)),
266
+ to_utc(ct_datetime(2009, 7, 10)),
267
+ to_utc(ct_datetime(2009, 7, 10)),
268
+ Decimal("10.00"),
269
+ Decimal("10.00"),
270
+ Decimal("10.00"),
271
+ Decimal("10.00"),
272
+ bill_type,
273
+ {"vat": {Decimal("20"): {"net": Decimal("10.00"), "vat": Decimal("10.00")}}},
274
+ supply,
275
+ )
276
+ bill.insert_element(
277
+ sess,
278
+ "nrg",
279
+ to_utc(ct_datetime(2009, 7, 10)),
280
+ to_utc(ct_datetime(2009, 7, 10)),
281
+ Decimal("10.00"),
282
+ {"rate": {Decimal("0.1")}},
283
+ )
284
+ sess.commit()
285
+
286
+ report_context = {}
287
+ bill_ids = {bill.id: bill}
288
+ forecast_date = utc_datetime(2020, 7, 10)
289
+ vbf = contract_func(report_context, supplier_contract, "virtual_bill")
290
+ period_start = to_utc(ct_datetime(2009, 7, 10, 0, 0))
291
+ period_finish = to_utc(ct_datetime(2009, 7, 10, 0, 0))
292
+
293
+ data = _process_period(
294
+ sess,
295
+ report_context,
296
+ supply,
297
+ supplier_contract,
298
+ bill_ids,
299
+ forecast_date,
300
+ vbf,
301
+ period_start,
302
+ period_finish,
303
+ )
304
+ expected = {
305
+ "actual_bills": [
306
+ {
307
+ "batch_id": 1,
308
+ "batch_reference": "a b",
309
+ "breakdown": "{\n"
310
+ ' "vat": {\n'
311
+ " 20: {\n"
312
+ ' "net": 10.00,\n'
313
+ ' "vat": 10.00,\n'
314
+ " },\n"
315
+ " },\n"
316
+ "}",
317
+ "gross": Decimal("10.00"),
318
+ "id": 1,
319
+ "kwh": Decimal("10.00"),
320
+ "net": Decimal("10.00"),
321
+ "problem": "The Gross GBP (10.00) of the bill isn't equal "
322
+ "to the Net GBP "
323
+ "(10.00) + VAT GBP (10.00) of the bill.The VAT at 20% on the net "
324
+ "amount 10.00 is calculated to be 2.00, which is different from "
325
+ "the value in the bill of 10.00",
326
+ "start_date": to_utc(ct_datetime(2009, 7, 10, 0, 0)),
327
+ "finish_date": to_utc(ct_datetime(2009, 7, 10, 0, 0)),
328
+ "vat": Decimal("10.00"),
329
+ },
330
+ ],
331
+ "actual_net_gbp": 10.0,
332
+ "difference_net_gbp": 9.0,
333
+ "contract_id": 4,
334
+ "contract_name": "Fusion Supplier 2000",
335
+ "market_role_code": "X",
336
+ "elements": {
337
+ "nrg": {
338
+ "parts": {
339
+ "gbp": {
340
+ "actual": Decimal("10.00"),
341
+ "difference": 9.0,
342
+ "virtual": 1.0,
343
+ },
344
+ "kwh": {
345
+ "difference": 0.0,
346
+ "virtual": 0,
347
+ },
348
+ "rate": {
349
+ "actual": {
350
+ Decimal("0.1"),
351
+ },
352
+ "difference": 0.0,
353
+ "virtual": {
354
+ 0.1,
355
+ },
356
+ },
357
+ },
358
+ "actual_elements": [
359
+ {
360
+ "bill": {
361
+ "batch": {
362
+ "id": 1,
363
+ "reference": "a b",
364
+ },
365
+ "id": 1,
366
+ },
367
+ "breakdown": "{\n" ' "rate": [\n' " 0.1,\n" " ],\n" "}",
368
+ "finish_date": to_utc(ct_datetime(2009, 7, 10, 0, 0)),
369
+ "id": 1,
370
+ "net": Decimal("10.00"),
371
+ "start_date": to_utc(ct_datetime(2009, 7, 10, 0, 0)),
372
+ },
373
+ ],
374
+ },
375
+ },
376
+ "exp_mpan_core": None,
377
+ "imp_mpan_core": "22 7867 6232 781",
378
+ "period_start": to_utc(ct_datetime(2009, 7, 10, 0, 0)),
379
+ "period_finish": to_utc(ct_datetime(2009, 7, 10, 0, 0)),
380
+ "site_id": 1,
381
+ "site_code": "CI017",
382
+ "site_name": "Water Works",
383
+ "supply_id": 1,
384
+ "virtual_net_gbp": 1.0,
385
+ "problem": "Bills have problems. hello ",
386
+ }
387
+
388
+ assert data == expected
389
+
390
+
122
391
  def test_process_supply(sess):
123
392
  vf = to_utc(ct_datetime(1996, 1, 1))
124
393
  site = Site.insert(sess, "CI017", "Water Works")
@@ -308,7 +577,10 @@ def virtual_bill(ds):
308
577
  "net": Decimal("10.00"),
309
578
  "problem": "The Gross GBP (10.00) of the bill isn't equal "
310
579
  "to the Net GBP "
311
- "(10.00) + VAT GBP (10.00) of the bill.",
580
+ "(10.00) + VAT GBP (10.00) of the bill.The total 'net' 0.00 in "
581
+ "the VAT breakdown doesn't match the 'net' 10.00 of the "
582
+ "bill.The total VAT 0.00 in the VAT breakdown doesn't match the "
583
+ "VAT 10.00 of the bill.",
312
584
  "vat": Decimal("10.00"),
313
585
  "start_date": utc_datetime(2009, 7, 10, 0, 0),
314
586
  "finish_date": utc_datetime(2009, 7, 10, 0, 0),
@@ -1 +0,0 @@
1
- __version__ = "1759155233.0.0"
@@ -1,16 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- if pip list --outdated --format=columns | grep chellow ; then
4
- echo "Found a new Chellow version."
5
-
6
- echo "Stopping Chellow"
7
- /usr/sbin/systemctl stop chellow
8
-
9
- echo "Doing a pip upgrade of Chellow."
10
- pip install chellow --upgrade
11
-
12
- echo "Starting Chellow"
13
- /usr/sbin/systemctl start chellow
14
- else
15
- echo "No new version found."
16
- fi