chellow 1742896763.0.0__py3-none-any.whl → 1742914638.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of chellow might be problematic. Click here for more details.

chellow/general_import.py CHANGED
@@ -1052,6 +1052,12 @@ def general_import_bill(sess, action, vals, args):
1052
1052
  breakdown,
1053
1053
  )
1054
1054
 
1055
+ elif action == "delete":
1056
+ bill_id_str = add_arg(args, "Bill Chellow Id", vals, 0)
1057
+ bill_id = int(bill_id_str)
1058
+ bill = Bill.get_by_id(sess, bill_id)
1059
+ bill.delete(sess)
1060
+
1055
1061
 
1056
1062
  def general_import_g_bill(sess, action, vals, args):
1057
1063
  if action == "insert":
@@ -16,6 +16,7 @@ from chellow.utils import csv_make_val, req_int
16
16
  def _content(sess, writer, batch_id):
17
17
  batch = Batch.get_by_id(sess, batch_id)
18
18
  titles = [
19
+ "chellow_id",
19
20
  "supplier_contract",
20
21
  "batch_reference",
21
22
  "bill_reference",
@@ -60,6 +61,7 @@ def _content(sess, writer, batch_id):
60
61
  vbd["net"] += vat_vals["net"]
61
62
 
62
63
  vals = {
64
+ "chellow_id": bill.id,
63
65
  "supplier_contract": batch.contract.name,
64
66
  "batch_reference": batch.reference,
65
67
  "bill_reference": bill.reference,
@@ -334,6 +334,11 @@
334
334
  <td>Paid?</td>
335
335
  <td>Breakdown</td>
336
336
  </tr>
337
+ <tr>
338
+ <td><em>delete</em></td>
339
+ <td><em>bill</em></td>
340
+ <td>Bill Chellow Id</td>
341
+ </tr>
337
342
  <tr>
338
343
  <td><em>update</em></td>
339
344
  <td><em>register_read</em></td>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chellow
3
- Version: 1742896763.0.0
3
+ Version: 1742914638.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)
@@ -4,7 +4,7 @@ chellow/bank_holidays.py,sha256=T_utYMwe_g1dz5X-aOTdIPryg49SvB7QsWM1yphlqG8,4423
4
4
  chellow/commands.py,sha256=ESBe9ZWj1c3vdZgqMZ9gFvYAB3hRag2R1PzOwuw9yFo,1302
5
5
  chellow/dloads.py,sha256=dixp-O0MF2_mlwrnKx3D9DH09Qu05BjTo0rZfigTjR4,5534
6
6
  chellow/edi_lib.py,sha256=alu20x9ZX06iPfnNI9dEJzuP6RIf4We3Y_M_bl7RrcY,51789
7
- chellow/general_import.py,sha256=tcYZK2N7HOFJSkYyy3MMxVBEvMFjfB9pjF0ksujtkFA,65113
7
+ chellow/general_import.py,sha256=pRGMcdhPq0Gfr1QG8LiqToKp-mnYa2yB8tfh8fy7eQo,65313
8
8
  chellow/models.py,sha256=GVuPnDUGJqPbdD8Z4Ccoiw4ZLeuEXFgAkrTLS_znTQw,244452
9
9
  chellow/national_grid.py,sha256=czwIZqzJndSGhEMQ5YzI6hRBhvjkM6VRVYXybf4_KXg,4377
10
10
  chellow/proxy.py,sha256=cVXIktPlX3tQ1BYcwxq0nJXKE6r3DtFTtfFHPq55HaM,1351
@@ -96,7 +96,7 @@ chellow/reports/report_81.py,sha256=bBpV6MtvKGtoLiqzZoK2h21KDs4vfDwy-etpfL9oiEI,
96
96
  chellow/reports/report_87.py,sha256=udzbCuXcckWD-OHmfJCT6bwg_paYhm4vfDWlL8WM-jA,6933
97
97
  chellow/reports/report_asset_comparison.py,sha256=Cl2NgvbclqhOVvKuUu3sajTVO2JupMfzK3bV0_K8eNs,6077
98
98
  chellow/reports/report_batches.py,sha256=MoCv2dE-JgaJzaMjMA-kZrPkYR13uDoXer5UuF12OYc,4757
99
- chellow/reports/report_bills.py,sha256=cxhrheJggBcP0BHmbNKCPG25KxgBSFr5NOZ_XCIek1M,3344
99
+ chellow/reports/report_bills.py,sha256=LP7XDxzO0Fp10c8xDE67e4tHTEc7nN74ESQBy762Nx4,3401
100
100
  chellow/reports/report_csv_llfcs.py,sha256=mMB06b6Jems5kcQU4H4Le_fyKgVr8THP8BCx3pkvg5E,1903
101
101
  chellow/reports/report_csv_site_hh_data.py,sha256=ik0OkGVo1bfTXLdcT3gPUHnxSkSdorzZheP3qgnOR5c,4331
102
102
  chellow/reports/report_csv_site_snags.py,sha256=AuAy6vjL0g7vwPPAZhBqxOyITL9_jnyFj012MnUcxxk,2627
@@ -122,7 +122,7 @@ chellow/templates/csv_sites_monthly_duration.html,sha256=59gErG6KwA57z-qh2EJsVGv
122
122
  chellow/templates/downloads.html,sha256=R9QPcFz-PLJOX7rDlmquIk-Hp9Iq-thzWCTfOexSpXg,937
123
123
  chellow/templates/edi_viewer.html,sha256=szUthgHOdph6Of-7f_1LeC_zYlNJaMeS5ctn6xTAeiM,1437
124
124
  chellow/templates/general_import.html,sha256=9ezzieDjaPBZ0nUJkMkzoDxWVzYtr4D-Dr2UCA5xV8U,1370
125
- chellow/templates/general_imports.html,sha256=VRmBqYsXsirm880WiFrJ3CknAXAoLR9Mnpz9cKjIeM8,13069
125
+ chellow/templates/general_imports.html,sha256=9sYN7FdzfxFypAUbUJ4VbhU3WhJrjArtqneohgX1hGE,13171
126
126
  chellow/templates/home.html,sha256=illtSabepcScYwmKss0o2gwvjXGBtr6LkfwmeL6ezSA,5655
127
127
  chellow/templates/input_date.html,sha256=rpgB5n0LfN8Y5djN_ZiuSxqdskxzCoKrEqI7hyJkVQo,1248
128
128
  chellow/templates/local_report.html,sha256=pV7_0QwyQ-D3OS9LXrly5pq3qprZnwTCoq6vCnMTkS4,1332
@@ -378,6 +378,6 @@ chellow/templates/g/supply_note_edit.html,sha256=b8mB6_ucBwoljp03iy6AgVaZUhGw3-1
378
378
  chellow/templates/g/supply_notes.html,sha256=6epNmZ3NKdXZz27fvmRUGeffg_oc1kmwuBeyRzQe3Rg,854
379
379
  chellow/templates/g/unit.html,sha256=KouNVU0-i84afANkLQ_heJ0uDfJ9H5A05PuLqb8iCN8,438
380
380
  chellow/templates/g/units.html,sha256=p5Nd-lAIboKPEOO6N451hx1bcKxMg4BDODnZ-43MmJc,441
381
- chellow-1742896763.0.0.dist-info/METADATA,sha256=4JSYUHtJTBvxXihV9h4fYzFMnp0XlwQahYaaf61_98E,12238
382
- chellow-1742896763.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
- chellow-1742896763.0.0.dist-info/RECORD,,
381
+ chellow-1742914638.0.0.dist-info/METADATA,sha256=Qphw1t1o5DK0P4xefom0CRq28M2N0rPjj5D2Vs3iO50,12238
382
+ chellow-1742914638.0.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
383
+ chellow-1742914638.0.0.dist-info/RECORD,,