chellow 1738661883.0.0__tar.gz → 1739889885.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.
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/PKG-INFO +1 -1
- chellow-1739889885.0.0/VERSION +1 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/views.py +5 -1
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/views.py +7 -7
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/models.py +7 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_429.py +82 -18
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/static/css/chellow.css +1 -1
- chellow-1739889885.0.0/chellow/templates/report_run_g_bill_check.html +182 -0
- chellow-1739889885.0.0/chellow/templates/report_run_row_g_bill_check.html +191 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/views.py +113 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_e_views.py +7 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/test_gas_views.py +63 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_429.py +120 -26
- chellow-1738661883.0.0/VERSION +0 -1
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/.ebextensions/chellow.config +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/.github/workflows/chellow.yml +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/.gitignore +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/README.md +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/application.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/bin/chellow_service_monitor.sh +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/bin/chellow_start.sh +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/__init__.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/api.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/bank_holidays.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/commands.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/dloads.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/__init__.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/aahedc.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/__init__.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/activity_mop_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/annual_mop_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/bgb_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/edf_export_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/engie_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/engie_export_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/engie_xls.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/engie_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/gdf_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/haven_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/haven_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/haven_edi_tprs.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/mm.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/nonsettlement_dc_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/settlement_dc_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/sse_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bill_parsers/sww_xls.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bmarketidx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/bsuos.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/ccl.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/cfd.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/computer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/dno_rate_parser.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/duos.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/elexon.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/energy_management.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_bg_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_df2.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_edf_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_schneider_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_schneider_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_simple_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/hh_parser_vital_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/laf_import.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/lcc.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/mdd_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/rcrc.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/ro.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/scenario.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/system_price.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/tlms.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/tnuos.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/e/triad.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/edi_lib.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/bill_import.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/bill_parser_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/bill_parser_engie_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/bill_parser_total_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/ccl.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/cv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/dn_rate_parser.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/engine.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/gas/transportation.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/general_import.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/national_grid.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/proxy.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/rate_server.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/__init__.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_109.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_111.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_169.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_181.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_183.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_187.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_219.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_231.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_233.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_241.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_247.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_29.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_291.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_33.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_387.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_41.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_59.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_81.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_87.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_asset_comparison.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_batches.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_bills.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_csv_llfcs.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_csv_site_hh_data.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_csv_site_snags.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_ecoes_comparison.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_g_monthly_duration.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_g_supplies_snapshot.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_g_supply_virtual_bill.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_g_virtual_bills.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_g_virtual_bills_hh.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_sscs.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/reports/report_supply_contacts.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/rrun.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/static/images/favicon.svg +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/static/images/favicon_test.svg +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/static/images/logo.png +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/static/js/htmx.min.js +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/403.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/base.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/bill_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/bill_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/chain.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/csv_sites_monthly_duration.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/downloads.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/asset_comparison.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/channel.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/channel_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/channel_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/channel_snag.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/channel_snag_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/channel_snags.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/comm.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/comms.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/cop.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/cops.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_bills.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_register_reads.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_sites_hh_data.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_sites_triad.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_supplies_hh_data.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_supplies_snapshot.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/csv_supplies_triad.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_auto_importer.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batch.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batch_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batch_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batch_file.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batch_file_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batch_upload_file.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_batches.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_bill.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_bill_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_bill_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_bill_import.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_bill_imports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contract.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contract_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contract_hh_import.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contract_hh_imports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contract_properties.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contract_properties_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contracts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_contracts_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dc_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dno.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dno_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dno_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dno_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dnos.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dtc_meter_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/dtc_meter_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/duration_report.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/elexon.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/em_hh_data.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/em_months.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/em_site.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/em_totals.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/energisation_status.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/energisation_statuses.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/era_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/era_edit_form.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/era_supplier_bill_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/generator_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/generator_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/gsp_group.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/gsp_groups.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/hh_datum_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/lafs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/lcc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/llfc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/llfc_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/llfcs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/market_role.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/market_roles.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/meter_payment_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/meter_payment_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/meter_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/meter_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batch.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batch_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batch_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batch_file.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batch_file_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batch_upload_file.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_batches.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_bill.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_bill_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_bill_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_bill_import.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_bill_imports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_contract.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_contract_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_contract_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_contracts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mop_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_llfc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_llfc_ssc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_llfc_ssc_pc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_llfc_ssc_pcs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_llfc_sscs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_llfcs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_participant.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_participants.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_ssc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtc_sscs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/mtcs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/ods_monthly_duration.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/participant.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/participants.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/parties.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/party.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/pc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/pcs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/read_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/read_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/read_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/read_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/scenario.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/scenario_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/scenario_docs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/scenario_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/scenarios.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_add_e_supply.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_add_e_supply_form.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_hh_data.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_site_snags.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_snag.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_snag_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_snags.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/site_snags_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/source.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/sources.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/ssc.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/sscs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch_file.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch_file_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch_file_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batch_upload_file.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_batches.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_bill.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_bill_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_bill_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_bill_import.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_bill_imports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_contract.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_contract_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_contract_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_contracts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supplier_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_eras.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_hh_data.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_months.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_note_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_note_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_notes.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_post.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/supply_virtual_bill.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/tpr.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/e/tprs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/edi_viewer.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/batch.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/batch_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/batch_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/batches.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/bill.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/bill_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/bill_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/bill_import.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/bill_imports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/dn.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/dns.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/era_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/exit_zone.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_auto_importer.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_contract.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_contract_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_contract_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_contracts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/industry_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/ldz.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/read_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/read_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/read_type.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/read_types.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/reading_frequencies.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/reading_frequency.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/reports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_contract.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_contract_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_contract_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_contracts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplier_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supplies.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supply.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supply_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supply_note_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supply_note_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/supply_notes.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/unit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/g/units.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/general_import.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/general_imports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/home.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/input_date.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/local_report.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/local_reports.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/macros.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/national_grid.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_auto_importer.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_contract.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_contract_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_contracts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_rate_script.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_rate_script_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/non_core_rate_script_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/object_summary.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/rate_server.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_asset_comparison.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_bill_check.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_ecoes_comparison.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_monthly_duration_org.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_row.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_row_bill_check.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_run_supply_contacts.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/report_runs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/scenario.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/scenario_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/scenario_docs.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/scenario_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/scenarios.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/site.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/site_add.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/site_edit.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/site_gen_graph.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/site_months.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/site_used_graph.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/sites.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/supplies.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/system.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/tester.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/user.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/user_roles.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/templates/users.html +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/testing.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/chellow/utils.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/gpl.txt +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/pyproject.toml +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/requirements.txt +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/setup.cfg +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/systemd/chellow.service +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/systemd/chellow_upgrader.service +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/systemd/chellow_upgrader.timer +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/conftest.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_activity_mop_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_annual_mop_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_edf_export_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_engie_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_engie_xls.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_engie_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_haven_csv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_haven_edi_tprs.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_mm.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills.nonsettlement.dc.stark.xlsx +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/bills_old.nonsettlement.dc.stark.xlsx +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_nonsettlement_dc_stark_xlsx/test_bill_parser_nonsettlement_dc_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/bills.settlement.dc.stark.xlsx +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_settlement_dc_stark_xlsx/test_bill_parser_settlement_dc_stark_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_sse_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/bill_parsers/test_bill_parser_sww_xls.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/system_price/prices.xls +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/system_price/test_system_price.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_aahedc.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_bill_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_bsuos.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_ccl.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_cfd.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_computer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_dno_rate_parser.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_duos.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_hh_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_hh_parser_df2.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_hh_parser_vital_xlsx.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_laf_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_mdd_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_rcrc_importer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_ro.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_scenario.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_tlms.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_tnuos.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/e/test_triad.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/bill_parsers/test_g_bill_parser_engie_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/bill_parsers/test_g_bill_parser_total_edi.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/test_dn_rate_parser.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/test_engine.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/test_g_cv.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/gas/test_transportation.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_g_monthly_duration.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_g_supplies_snapshot.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_g_supply_virtual_bill.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_g_virtual_bills.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_g_virtual_bills_hh.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_109.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_111.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_169.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_181.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_183.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_187.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_219.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_231.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_233.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_241.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_247.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_29.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_291.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_33.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_387.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_41.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_59.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_81.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_87.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_asset_comparison.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_batches.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_bills.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_csv_llfcs.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_csv_site_hh_data.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_csv_site_snags.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_dno_vl_parser.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_ecoes_comparison.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_sscs.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/reports/test_report_supply_contacts.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_chellow.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_dloads.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_edi_viewer.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_general_import.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_models.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_rate_server.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_testing.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_utils.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/test_views.py +0 -0
- {chellow-1738661883.0.0 → chellow-1739889885.0.0}/test/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chellow
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1739889885.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__ = "1739889885.0.0"
|
|
@@ -4251,7 +4251,10 @@ def site_add_e_supply_form_get(site_id):
|
|
|
4251
4251
|
try:
|
|
4252
4252
|
ct_now = ct_datetime_now()
|
|
4253
4253
|
cops = g.sess.query(Cop).order_by(Cop.code)
|
|
4254
|
-
comms = g.sess.
|
|
4254
|
+
comms = g.sess.scalars(select(Comm).order_by(Comm.code))
|
|
4255
|
+
dtc_meter_types = g.sess.scalars(
|
|
4256
|
+
select(DtcMeterType).order_by(DtcMeterType.code)
|
|
4257
|
+
)
|
|
4255
4258
|
energisation_statuses = g.sess.query(EnergisationStatus).order_by(
|
|
4256
4259
|
EnergisationStatus.code
|
|
4257
4260
|
)
|
|
@@ -4515,6 +4518,7 @@ def site_add_e_supply_form_get(site_id):
|
|
|
4515
4518
|
start_date=start_date,
|
|
4516
4519
|
imp_llfcs=imp_llfcs,
|
|
4517
4520
|
exp_llfcs=exp_llfcs,
|
|
4521
|
+
dtc_meter_types=dtc_meter_types,
|
|
4518
4522
|
)
|
|
4519
4523
|
except BadRequest as e:
|
|
4520
4524
|
g.sess.rollback()
|
|
@@ -170,20 +170,20 @@ def supply_get(g_supply_id):
|
|
|
170
170
|
)
|
|
171
171
|
|
|
172
172
|
g_bills = (
|
|
173
|
-
|
|
174
|
-
.
|
|
173
|
+
select(GBill)
|
|
174
|
+
.where(GBill.g_supply == g_supply)
|
|
175
175
|
.order_by(
|
|
176
176
|
GBill.start_date.desc(),
|
|
177
177
|
GBill.issue_date.desc(),
|
|
178
178
|
GBill.reference.desc(),
|
|
179
179
|
)
|
|
180
180
|
)
|
|
181
|
-
if g_era
|
|
182
|
-
g_bills = g_bills.
|
|
181
|
+
if g_era != g_eras[0]:
|
|
182
|
+
g_bills = g_bills.where(GBill.start_date < g_era.finish_date)
|
|
183
183
|
if g_era != g_eras[-1]:
|
|
184
|
-
g_bills = g_bills.
|
|
184
|
+
g_bills = g_bills.where(GBill.start_date >= g_era.start_date)
|
|
185
185
|
|
|
186
|
-
for g_bill in g_bills:
|
|
186
|
+
for g_bill in g.sess.scalars(g_bills):
|
|
187
187
|
g_reads = (
|
|
188
188
|
g.sess.query(GRegisterRead)
|
|
189
189
|
.filter(GRegisterRead.g_bill == g_bill)
|
|
@@ -220,7 +220,7 @@ def supply_get(g_supply_id):
|
|
|
220
220
|
|
|
221
221
|
RELATIVE_YEAR = relativedelta(years=1)
|
|
222
222
|
|
|
223
|
-
now =
|
|
223
|
+
now = utc_datetime_now()
|
|
224
224
|
triad_year = (now - RELATIVE_YEAR).year if now.month < 3 else now.year
|
|
225
225
|
this_month_start = Datetime(now.year, now.month, 1)
|
|
226
226
|
last_month_start = this_month_start - relativedelta(months=1)
|
|
@@ -6416,6 +6416,13 @@ class ReportRun(Base, PersistentClass):
|
|
|
6416
6416
|
report_run.update(state)
|
|
6417
6417
|
wsess.commit()
|
|
6418
6418
|
|
|
6419
|
+
@staticmethod
|
|
6420
|
+
def w_update_data(report_run_id, data):
|
|
6421
|
+
with Session() as wsess:
|
|
6422
|
+
report_run = ReportRun.get_by_id(wsess, report_run_id)
|
|
6423
|
+
report_run.update_data(data)
|
|
6424
|
+
wsess.commit()
|
|
6425
|
+
|
|
6419
6426
|
@staticmethod
|
|
6420
6427
|
def w_insert_row(report_run_id, tab, titles, values, properties):
|
|
6421
6428
|
with Session() as wsess:
|
|
@@ -16,16 +16,34 @@ from werkzeug.exceptions import BadRequest
|
|
|
16
16
|
|
|
17
17
|
import chellow.gas.engine
|
|
18
18
|
from chellow.dloads import open_file
|
|
19
|
-
from chellow.models import
|
|
19
|
+
from chellow.models import (
|
|
20
|
+
GBatch,
|
|
21
|
+
GBill,
|
|
22
|
+
GContract,
|
|
23
|
+
GEra,
|
|
24
|
+
RSession,
|
|
25
|
+
ReportRun,
|
|
26
|
+
Site,
|
|
27
|
+
SiteGEra,
|
|
28
|
+
User,
|
|
29
|
+
)
|
|
20
30
|
from chellow.utils import csv_make_val, hh_max, hh_min, req_date, req_int, to_utc
|
|
21
31
|
|
|
22
32
|
|
|
23
|
-
def content(
|
|
33
|
+
def content(
|
|
34
|
+
g_batch_id,
|
|
35
|
+
g_bill_id,
|
|
36
|
+
g_contract_id,
|
|
37
|
+
start_date,
|
|
38
|
+
finish_date,
|
|
39
|
+
user_id,
|
|
40
|
+
report_run_id,
|
|
41
|
+
):
|
|
24
42
|
forecast_date = to_utc(Datetime.max)
|
|
25
43
|
report_context = {}
|
|
26
44
|
sess = tmp_file = None
|
|
27
45
|
try:
|
|
28
|
-
with
|
|
46
|
+
with RSession() as sess:
|
|
29
47
|
user = User.get_by_id(sess, user_id)
|
|
30
48
|
|
|
31
49
|
tmp_file = open_file("g_bill_check.csv", user, mode="w")
|
|
@@ -108,13 +126,17 @@ def content(g_batch_id, g_bill_id, g_contract_id, start_date, finish_date, user_
|
|
|
108
126
|
vbf,
|
|
109
127
|
titles,
|
|
110
128
|
csv_writer,
|
|
129
|
+
report_run_id,
|
|
111
130
|
)
|
|
131
|
+
ReportRun.w_update(report_run_id, "finished")
|
|
112
132
|
except BadRequest as e:
|
|
113
133
|
tmp_file.write(f"Problem: {e.description}")
|
|
134
|
+
ReportRun.w_update(report_run_id, "problem")
|
|
114
135
|
except BaseException:
|
|
115
136
|
msg = traceback.format_exc()
|
|
116
137
|
sys.stderr.write(msg + "\n")
|
|
117
138
|
tmp_file.write(f"Problem {msg}")
|
|
139
|
+
ReportRun.w_update(report_run_id, "interrupted")
|
|
118
140
|
finally:
|
|
119
141
|
tmp_file.close()
|
|
120
142
|
|
|
@@ -129,6 +151,7 @@ def _process_g_bill_ids(
|
|
|
129
151
|
vbf,
|
|
130
152
|
titles,
|
|
131
153
|
csv_writer,
|
|
154
|
+
report_run_id,
|
|
132
155
|
):
|
|
133
156
|
g_bill_id = list(sorted(g_bill_ids))[0]
|
|
134
157
|
g_bill_ids.remove(g_bill_id)
|
|
@@ -144,6 +167,7 @@ def _process_g_bill_ids(
|
|
|
144
167
|
"covered_bill_ids": [],
|
|
145
168
|
"virtual_problem": "",
|
|
146
169
|
}
|
|
170
|
+
site_id = None
|
|
147
171
|
read_dict = defaultdict(set)
|
|
148
172
|
for g_read in g_bill.g_reads:
|
|
149
173
|
if not all(
|
|
@@ -264,7 +288,7 @@ def _process_g_bill_ids(
|
|
|
264
288
|
else:
|
|
265
289
|
v = getattr(g_read, title)
|
|
266
290
|
vals[k].add(v)
|
|
267
|
-
|
|
291
|
+
elements = set()
|
|
268
292
|
for g_era in sess.execute(
|
|
269
293
|
select(GEra).where(
|
|
270
294
|
GEra.g_supply == g_supply,
|
|
@@ -283,6 +307,7 @@ def _process_g_bill_ids(
|
|
|
283
307
|
.filter(SiteGEra.is_physical == true(), SiteGEra.g_era == g_era)
|
|
284
308
|
.one()
|
|
285
309
|
)
|
|
310
|
+
site_id = site.id
|
|
286
311
|
vals["site_code"] = site.code
|
|
287
312
|
vals["site_name"] = site.name
|
|
288
313
|
|
|
@@ -313,6 +338,9 @@ def _process_g_bill_ids(
|
|
|
313
338
|
except TypeError as detail:
|
|
314
339
|
raise BadRequest(f"For key {vk} and value {v}. {detail}")
|
|
315
340
|
|
|
341
|
+
if k.endswith("_gbp"):
|
|
342
|
+
elements.add(k[:-4])
|
|
343
|
+
|
|
316
344
|
if g_bill.id not in covered_bills.keys():
|
|
317
345
|
g_bill = covered_bills[sorted(covered_bills.keys())[0]]
|
|
318
346
|
|
|
@@ -324,22 +352,36 @@ def _process_g_bill_ids(
|
|
|
324
352
|
vals["mprn"] = g_supply.mprn
|
|
325
353
|
vals["supply_name"] = g_supply.name
|
|
326
354
|
|
|
327
|
-
for k, v in vals.items():
|
|
328
|
-
if k == "covered_bill_ids":
|
|
329
|
-
vals[k] = " | ".join(str(b) for b in v)
|
|
330
|
-
else:
|
|
331
|
-
vals[k] = csv_make_val(v)
|
|
332
|
-
|
|
333
355
|
for i, title in enumerate(titles):
|
|
334
356
|
if title.startswith("difference_"):
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
vals[title] = covered_val - virtual_val
|
|
339
|
-
except KeyError:
|
|
340
|
-
vals[title] = None
|
|
357
|
+
covered_val = float(vals.get(titles[i - 2], 0))
|
|
358
|
+
virtual_val = float(vals.get(titles[i - 1], 0))
|
|
359
|
+
vals[title] = covered_val - virtual_val
|
|
341
360
|
|
|
342
361
|
csv_writer.writerow([csv_make_val(vals.get(k)) for k in titles])
|
|
362
|
+
vals["g_bill_id"] = g_bill.id
|
|
363
|
+
vals["g_batch_id"] = g_bill.g_batch.id
|
|
364
|
+
vals["g_supply_id"] = g_supply.id
|
|
365
|
+
vals["site_id"] = site_id
|
|
366
|
+
for element in sorted(elements):
|
|
367
|
+
rate_name = f"difference_{element}_rate"
|
|
368
|
+
covered_rates = vals.get(f"covered_{element}_rate", [0])
|
|
369
|
+
virtual_rates = vals.get(f"virtual_{element}_rate", [0])
|
|
370
|
+
if len(covered_rates) == 1 and len(virtual_rates) == 1:
|
|
371
|
+
vals[rate_name] = (
|
|
372
|
+
float(covered_rates.pop()) * 100 - float(virtual_rates.pop()) * 100
|
|
373
|
+
)
|
|
374
|
+
else:
|
|
375
|
+
vals[rate_name] = 0
|
|
376
|
+
|
|
377
|
+
try:
|
|
378
|
+
covered_kwh = float(vals["covered_kwh"])
|
|
379
|
+
virtual_kwh = float(vals["virtual_kwh"])
|
|
380
|
+
vals["difference_kwh"] = covered_kwh - virtual_kwh
|
|
381
|
+
except KeyError:
|
|
382
|
+
vals["difference_kwh"] = None
|
|
383
|
+
|
|
384
|
+
ReportRun.w_insert_row(report_run_id, "", titles, vals, {"is_checked": False})
|
|
343
385
|
|
|
344
386
|
|
|
345
387
|
def do_get(sess):
|
|
@@ -347,17 +389,39 @@ def do_get(sess):
|
|
|
347
389
|
|
|
348
390
|
if "g_batch_id" in request.values:
|
|
349
391
|
g_batch_id = req_int("g_batch_id")
|
|
392
|
+
g_batch = GBatch.get_by_id(g.sess, g_batch_id)
|
|
393
|
+
run_g_contract_id = g_batch.g_contract.id
|
|
350
394
|
elif "g_bill_id" in request.values:
|
|
351
395
|
g_bill_id = req_int("g_bill_id")
|
|
396
|
+
g_bill = GBill.get_by_id(g.sess, g_bill_id)
|
|
397
|
+
run_g_contract_id = g_bill.g_batch.g_contract.id
|
|
352
398
|
elif "g_contract_id" in request.values:
|
|
353
399
|
g_contract_id = req_int("g_contract_id")
|
|
354
400
|
start_date = req_date("start_date")
|
|
355
401
|
finish_date = req_date("finish_date")
|
|
402
|
+
run_g_contract_id = g_contract_id
|
|
356
403
|
else:
|
|
357
404
|
raise BadRequest(
|
|
358
405
|
"The bill check needs a g_batch_id, g_bill_id or g_contract_id."
|
|
359
406
|
)
|
|
360
407
|
|
|
361
|
-
|
|
408
|
+
report_run = ReportRun.insert(
|
|
409
|
+
sess,
|
|
410
|
+
"g_bill_check",
|
|
411
|
+
g.user,
|
|
412
|
+
"g_bill_check",
|
|
413
|
+
{"g_contract_id": run_g_contract_id},
|
|
414
|
+
)
|
|
415
|
+
sess.commit()
|
|
416
|
+
|
|
417
|
+
args = (
|
|
418
|
+
g_batch_id,
|
|
419
|
+
g_bill_id,
|
|
420
|
+
g_contract_id,
|
|
421
|
+
start_date,
|
|
422
|
+
finish_date,
|
|
423
|
+
g.user.id,
|
|
424
|
+
report_run.id,
|
|
425
|
+
)
|
|
362
426
|
threading.Thread(target=content, args=args).start()
|
|
363
|
-
return redirect("/
|
|
427
|
+
return redirect(f"/report_runs/{report_run.id}", 303)
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block title %}
|
|
4
|
+
» Report Runs » {{run.id}}
|
|
5
|
+
{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block nav %}
|
|
8
|
+
<a href="/report_runs">Report Runs</a> » {{run.id}}
|
|
9
|
+
{% endblock %}
|
|
10
|
+
|
|
11
|
+
{% block content %}
|
|
12
|
+
{% if request.method == "GET" and request.values.delete %}
|
|
13
|
+
<form method="post" action="/report_runs/{{run.id}}">
|
|
14
|
+
<fieldset>
|
|
15
|
+
<legend>Are you sure you want to delete this report run?</legend>
|
|
16
|
+
<input type="submit" name="delete" value="delete">
|
|
17
|
+
<a href="/report_runs/{{run.id}}">Cancel</a>
|
|
18
|
+
</fieldset>
|
|
19
|
+
</form>
|
|
20
|
+
{% else %}
|
|
21
|
+
<table>
|
|
22
|
+
<caption>Bill Check</caption>
|
|
23
|
+
<thead>
|
|
24
|
+
<tr>
|
|
25
|
+
<th>Date Created</th>
|
|
26
|
+
<th>Created By</th>
|
|
27
|
+
<th>Title</th>
|
|
28
|
+
<th>State</th>
|
|
29
|
+
<th>Number Of Rows</th>
|
|
30
|
+
<th>Sum Of Difference GBP</th>
|
|
31
|
+
<th>Delete</th>
|
|
32
|
+
<th>Download Spreadsheet</th>
|
|
33
|
+
</tr>
|
|
34
|
+
</thead>
|
|
35
|
+
<tbody>
|
|
36
|
+
<tr>
|
|
37
|
+
<td>{{run.date_created|hh_format}}</td>
|
|
38
|
+
<td>{{run.creator}}</td>
|
|
39
|
+
<td>{{run.title}}</td>
|
|
40
|
+
<td>{{run.state}}</td>
|
|
41
|
+
<td>{{rows|length}} (truncated at {{ROW_LIMIT}})</td>
|
|
42
|
+
<td>
|
|
43
|
+
{% if 'sum_difference' in summary and summary.sum_difference is not none %}
|
|
44
|
+
{{"%.2f"|format(summary.sum_difference)}}</td>
|
|
45
|
+
{% endif %}
|
|
46
|
+
<td>
|
|
47
|
+
<form action="/report_runs/{{run.id}}">
|
|
48
|
+
<fieldset style="border: none;">
|
|
49
|
+
<input type="submit" name="delete" value="Delete">
|
|
50
|
+
</fieldset>
|
|
51
|
+
</form>
|
|
52
|
+
</td>
|
|
53
|
+
<td><a href="/report_runs/{{run.id}}/spreadsheet">Download</a></td>
|
|
54
|
+
</tr>
|
|
55
|
+
</tbody>
|
|
56
|
+
</table>
|
|
57
|
+
|
|
58
|
+
{% if summary.missing_bills|length > 0 %}
|
|
59
|
+
<table class="sticky">
|
|
60
|
+
<caption>
|
|
61
|
+
Some Missing Bills (<a href="/report_runs/{{report_run}}">x</a>)
|
|
62
|
+
</caption>
|
|
63
|
+
<thead>
|
|
64
|
+
<tr>
|
|
65
|
+
<th>View</th>
|
|
66
|
+
<th>Import MPAN Core</th>
|
|
67
|
+
<th>Export MPAN Core</th>
|
|
68
|
+
<th>Start</th>
|
|
69
|
+
<th>Finish</th>
|
|
70
|
+
<th>Problem</th>
|
|
71
|
+
<th>Estimated Difference GBP</th>
|
|
72
|
+
</tr>
|
|
73
|
+
</thead>
|
|
74
|
+
<tbody>
|
|
75
|
+
{% for row in rows %}
|
|
76
|
+
<tr>
|
|
77
|
+
<td><a href="/report_run_rows/{{row.id}}">View</a></td>
|
|
78
|
+
{% for title in row.data.titles %}
|
|
79
|
+
<td>{{row.data['values'][title]}}</td>
|
|
80
|
+
{% endfor %}
|
|
81
|
+
</tr>
|
|
82
|
+
{% endfor %}
|
|
83
|
+
</tbody>
|
|
84
|
+
</table>
|
|
85
|
+
{% endif %}
|
|
86
|
+
|
|
87
|
+
{% if show_elements %}
|
|
88
|
+
<table class="sticky">
|
|
89
|
+
<caption>Elements</caption>
|
|
90
|
+
<thead>
|
|
91
|
+
<tr>
|
|
92
|
+
<th>Element</th>
|
|
93
|
+
{% for elname, diff in elements %}
|
|
94
|
+
<th>{{elname}}</th>
|
|
95
|
+
{% endfor %}
|
|
96
|
+
</tr>
|
|
97
|
+
</thead>
|
|
98
|
+
<tbody>
|
|
99
|
+
<tr>
|
|
100
|
+
<td>Sum of differences (GBP)</td>
|
|
101
|
+
{% for elname, diff in elements %}
|
|
102
|
+
{% if diff is not none %}
|
|
103
|
+
<td>{{"%.2f"|format(diff)}}</td>
|
|
104
|
+
{% endif %}
|
|
105
|
+
{% endfor %}
|
|
106
|
+
</tr>
|
|
107
|
+
</tbody>
|
|
108
|
+
</table>
|
|
109
|
+
{% endif %}
|
|
110
|
+
|
|
111
|
+
<table class="sticky">
|
|
112
|
+
<caption>
|
|
113
|
+
Rows - Ordered By
|
|
114
|
+
{% if sort_absolute %}
|
|
115
|
+
Absolute
|
|
116
|
+
{% endif %}
|
|
117
|
+
{{order_by}}
|
|
118
|
+
</caption>
|
|
119
|
+
<thead>
|
|
120
|
+
<tr>
|
|
121
|
+
<th rowspan="2">View</th>
|
|
122
|
+
<th rowspan="2">Batch</th>
|
|
123
|
+
<th rowspan="2">Site</th>
|
|
124
|
+
<th rowspan="2">MPRN</th>
|
|
125
|
+
<th rowspan="2">Covered Bills</th>
|
|
126
|
+
<th rowspan="2">Covered Start</th>
|
|
127
|
+
<th rowspan="2">Covered Finish</th>
|
|
128
|
+
<th colspan="{{columns|length}}">Difference</th>
|
|
129
|
+
<th rowspan="2">Problem</th>
|
|
130
|
+
</tr>
|
|
131
|
+
<tr>
|
|
132
|
+
{% for column in columns %}
|
|
133
|
+
<th>
|
|
134
|
+
{{' '.join(column.split('_')[1:])}}
|
|
135
|
+
{% if order_by == column %}
|
|
136
|
+
↑
|
|
137
|
+
{% else %}
|
|
138
|
+
<a href="/report_runs/{{run.id}}?order_by={{column}}">↑</a>
|
|
139
|
+
{% endif %}
|
|
140
|
+
</th>
|
|
141
|
+
{% endfor %}
|
|
142
|
+
</tr>
|
|
143
|
+
</thead>
|
|
144
|
+
<tbody>
|
|
145
|
+
{% for row in rows %}
|
|
146
|
+
{% set values = row.data['values'] %}
|
|
147
|
+
<tr>
|
|
148
|
+
<td><a href="/report_run_rows/{{row.id}}">View</a></td>
|
|
149
|
+
<td><a href="/g/batches/{{values.g_batch_id}}">{{values.batch}}</a></td>
|
|
150
|
+
<td>
|
|
151
|
+
<a href="/sites/{{values.site_id}}" title="{{values.site_name}}">{{values.site_code}}</a>
|
|
152
|
+
</td>
|
|
153
|
+
<td>
|
|
154
|
+
<a href="/g/supplies/{{values.g_supply_id}}">{{values.mprn}}</a>
|
|
155
|
+
</td>
|
|
156
|
+
<td>
|
|
157
|
+
{% if values['covered_bill_ids'] is not none %}
|
|
158
|
+
{% for bill_id in values['covered_bill_ids'] %}
|
|
159
|
+
<a href="/g/bills/{{bill_id}}">{{bill_id}}</a>
|
|
160
|
+
{% if bill_id == values.g_bill_id %}
|
|
161
|
+
{% endif %}
|
|
162
|
+
{% endfor %}
|
|
163
|
+
{% endif %}
|
|
164
|
+
</td>
|
|
165
|
+
<td><span title="{{values.covered_start}}">{{values.covered_start[:10]}}</span></td>
|
|
166
|
+
<td><span title="{{values.covered_finish}}">{{values.covered_finish[:10]}}</span></td>
|
|
167
|
+
{% for title in columns %}
|
|
168
|
+
<td>
|
|
169
|
+
{% if title in values and values[title] is not none %}
|
|
170
|
+
{{"%.2f"|format(values[title])}}
|
|
171
|
+
{% endif %}
|
|
172
|
+
</td>
|
|
173
|
+
{% endfor %}
|
|
174
|
+
<td>
|
|
175
|
+
{{ values.covered_problem }} {{ values.virtual_problem }}
|
|
176
|
+
</td>
|
|
177
|
+
</tr>
|
|
178
|
+
{% endfor %}
|
|
179
|
+
</tbody>
|
|
180
|
+
</table>
|
|
181
|
+
{% endif %}
|
|
182
|
+
{% endblock %}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{% extends "base.html" %}
|
|
2
|
+
|
|
3
|
+
{% block title %}
|
|
4
|
+
» Report Runs » {{row.report_run.id}} » Row {{row.id}}
|
|
5
|
+
{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block nav %}
|
|
8
|
+
<a href="/report_runs">Report Runs</a> »
|
|
9
|
+
<a href="/report_runs/{{row.report_run.id}}">{{row.report_run.id}}</a>
|
|
10
|
+
» Row {{row.id}}
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block content %}
|
|
14
|
+
{% set values = row.data['values'] %}
|
|
15
|
+
{% set properties = row.data.get('properties', {}) %}
|
|
16
|
+
{% if row.report_run.name == 'bill_check' %}
|
|
17
|
+
<table>
|
|
18
|
+
<caption>Bill Check</caption>
|
|
19
|
+
<thead>
|
|
20
|
+
<tr>
|
|
21
|
+
<th rowspan="2">Batch</th>
|
|
22
|
+
<th colspan="8">Bill</th>
|
|
23
|
+
<th colspan="2">MPAN Core</th>
|
|
24
|
+
<th colspan="2">Site</th>
|
|
25
|
+
<th rowspan="2">Checking</th>
|
|
26
|
+
</tr>
|
|
27
|
+
<tr>
|
|
28
|
+
<th>Reference</th>
|
|
29
|
+
<th>Type</th>
|
|
30
|
+
<th>kWh</th>
|
|
31
|
+
<th>Net GBP</th>
|
|
32
|
+
<th>VAT GBP</th>
|
|
33
|
+
<th>Gross GBP</th>
|
|
34
|
+
<th>Start</th>
|
|
35
|
+
<th>Finish</th>
|
|
36
|
+
<th>Import</th>
|
|
37
|
+
<th>Export</th>
|
|
38
|
+
<th>Code</th>
|
|
39
|
+
<th>Name</th>
|
|
40
|
+
</tr>
|
|
41
|
+
</thead>
|
|
42
|
+
<tbody>
|
|
43
|
+
<tr>
|
|
44
|
+
<td>
|
|
45
|
+
{% if values.batch_id != None %}
|
|
46
|
+
<a href="/e/supplier_batches/{{values.batch_id}}">{{values['batch']}}</a>
|
|
47
|
+
{% endif %}
|
|
48
|
+
</td>
|
|
49
|
+
<td>
|
|
50
|
+
{% if values.bill_id != None %}
|
|
51
|
+
<a href="/e/supplier_bills/{{values.bill_id}}">{{
|
|
52
|
+
values['bill-reference']}}</a>
|
|
53
|
+
{% endif %}
|
|
54
|
+
</td>
|
|
55
|
+
<td>{{values['bill-type']}}</td>
|
|
56
|
+
<td>{{values['bill-kwh']}}</td>
|
|
57
|
+
<td>{{values['bill-net-gbp']}}</td>
|
|
58
|
+
<td>{{values['bill-vat-gbp']}}</td>
|
|
59
|
+
<td>{{values['bill-gross-gbp']}}</td>
|
|
60
|
+
<td>{{values['bill-start-date']}}</td>
|
|
61
|
+
<td>{{values['bill-finish-date']}}</td>
|
|
62
|
+
<td>
|
|
63
|
+
{% if values['imp-mpan-core'] != None %}
|
|
64
|
+
<a href="/e/supplies/{{values.supply_id}}">{{
|
|
65
|
+
values['imp-mpan-core']}}</a>
|
|
66
|
+
{% endif %}
|
|
67
|
+
</td>
|
|
68
|
+
<td>
|
|
69
|
+
{% if values['exp-mpan-core'] != None %}
|
|
70
|
+
<a href="/e/supplies/{{values.supply_id}}">{{
|
|
71
|
+
values['exp-mpan-core']}}</a>
|
|
72
|
+
{% endif %}
|
|
73
|
+
</td>
|
|
74
|
+
<td>
|
|
75
|
+
{% if values.site_id != None %}
|
|
76
|
+
<a href="/sites/{{values.site_id}}">{{
|
|
77
|
+
values['site-code']}}</a>
|
|
78
|
+
{% endif %}
|
|
79
|
+
</td>
|
|
80
|
+
<td>{{values['site-name']}}</td>
|
|
81
|
+
<td>
|
|
82
|
+
<form action="/report_run_rows/{{row.id}}" method="post">
|
|
83
|
+
<fieldset>
|
|
84
|
+
{{input_textarea(
|
|
85
|
+
'note', properties.note, 5, 40,
|
|
86
|
+
placeholder='Notes on checking go here...')}}
|
|
87
|
+
<br>
|
|
88
|
+
<br>
|
|
89
|
+
<label>Checked?
|
|
90
|
+
{{input_checkbox('is_checked', properties.is_checked)}}
|
|
91
|
+
</label>
|
|
92
|
+
<input type="submit" name="update" value="Update">
|
|
93
|
+
</fieldset>
|
|
94
|
+
</form>
|
|
95
|
+
</td>
|
|
96
|
+
</tr>
|
|
97
|
+
</tbody>
|
|
98
|
+
</table>
|
|
99
|
+
|
|
100
|
+
<table>
|
|
101
|
+
<caption>Covered</caption>
|
|
102
|
+
<thead>
|
|
103
|
+
<tr>
|
|
104
|
+
<th>From</th>
|
|
105
|
+
<th>To</th>
|
|
106
|
+
<th>Bills</th>
|
|
107
|
+
<th>Metered kWh</th>
|
|
108
|
+
<th>Net GBP</th>
|
|
109
|
+
<th>Virtual Net GBP</th>
|
|
110
|
+
<th>Difference GBP</th>
|
|
111
|
+
<th>Problem</th>
|
|
112
|
+
<th>Virtual Problem</th>
|
|
113
|
+
</tr>
|
|
114
|
+
</thead>
|
|
115
|
+
<tbody>
|
|
116
|
+
<tr>
|
|
117
|
+
<td>{{values['covered-from']}}</td>
|
|
118
|
+
<td>{{values['covered-to']}}</td>
|
|
119
|
+
<td>
|
|
120
|
+
{% if values['covered-bills'] != None %}
|
|
121
|
+
<ul>
|
|
122
|
+
{% for bill_id in values['covered-bills'] %}
|
|
123
|
+
<li>
|
|
124
|
+
<a href="/e/supplier_bills/{{bill_id}}">{{bill_id}}</a>
|
|
125
|
+
{% if bill_id == values.bill_id %}
|
|
126
|
+
(This bill)
|
|
127
|
+
{% endif %}
|
|
128
|
+
</li>
|
|
129
|
+
{% endfor %}
|
|
130
|
+
</ul>
|
|
131
|
+
{% endif %}
|
|
132
|
+
</td>
|
|
133
|
+
<td>
|
|
134
|
+
{% if values['metered-kwh'] != None %}
|
|
135
|
+
{{"%.0f"|format(values['metered-kwh'])}}
|
|
136
|
+
{% endif %}
|
|
137
|
+
</td>
|
|
138
|
+
<td>{{values['covered-net-gbp']}}</td>
|
|
139
|
+
<td>
|
|
140
|
+
{% if values['virtual-net-gbp'] != None %}
|
|
141
|
+
{{"%.2f"|format(values['virtual-net-gbp'])}}
|
|
142
|
+
{% endif %}
|
|
143
|
+
</td>
|
|
144
|
+
<td>
|
|
145
|
+
{% if values['difference-net-gbp'] != None %}
|
|
146
|
+
{{"%.2f"|format(values['difference-net-gbp'])}}
|
|
147
|
+
{% endif %}
|
|
148
|
+
</td>
|
|
149
|
+
<td>{{values['covered-problem']}}</td>
|
|
150
|
+
<td>{{values['virtual-problem']}}</td>
|
|
151
|
+
</tr>
|
|
152
|
+
</tbody>
|
|
153
|
+
</table>
|
|
154
|
+
|
|
155
|
+
{% for table in tables %}
|
|
156
|
+
<table>
|
|
157
|
+
<caption>{{table.name}}</caption>
|
|
158
|
+
<thead>
|
|
159
|
+
<tr>
|
|
160
|
+
{% for title in table.titles %}
|
|
161
|
+
<th>{{title}}</th>
|
|
162
|
+
{% endfor %}
|
|
163
|
+
</tr>
|
|
164
|
+
</thead>
|
|
165
|
+
<tbody>
|
|
166
|
+
<tr>
|
|
167
|
+
{% for v in table['values'] %}
|
|
168
|
+
<td>{{v}}</td>
|
|
169
|
+
{% endfor %}
|
|
170
|
+
</tr>
|
|
171
|
+
</tbody>
|
|
172
|
+
</table>
|
|
173
|
+
{% endfor %}
|
|
174
|
+
|
|
175
|
+
<h2>Raw</h2>
|
|
176
|
+
<pre>{{raw_data}}</pre>
|
|
177
|
+
|
|
178
|
+
{% else %}
|
|
179
|
+
<table>
|
|
180
|
+
<caption>Report Run Row</caption>
|
|
181
|
+
<tbody>
|
|
182
|
+
{% for title in row.data.titles %}
|
|
183
|
+
<tr>
|
|
184
|
+
<th>{{title}}</th>
|
|
185
|
+
<td>{{row.data['values'][title]}}</td>
|
|
186
|
+
</tr>
|
|
187
|
+
{% endfor %}
|
|
188
|
+
</tbody>
|
|
189
|
+
</table>
|
|
190
|
+
{% endif %}
|
|
191
|
+
{% endblock %}
|