Skip to content

Commit

Permalink
Merge pull request #888 from communitiesuk/allow-negative-value-submi…
Browse files Browse the repository at this point in the history
…t-on-Forecast-and-Actual-spend-Revenue

Alter IngestDependencies to allow submit negative values on Finances/…
  • Loading branch information
sc15zs authored Jan 14, 2025
2 parents 55d2fb4 + be6ee70 commit 2e304c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions data_store/controllers/ingest_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ def alter_validations_for_stockton(ingest_dependency: IngestDependencies) -> Ing
"Total cumulative actuals to date, (Up to and including Mar 2024), Actual"
] = float_column()

ingest_dependency.extract_process_validate_schema["Forecast and actual spend (revenue)"].validate.columns[
"Total cumulative actuals to date, (Up to and including Mar 2024), Actual"
] = float_column()

ingest_dependency.extract_process_validate_schema["Project finance changes"].validate.columns[
"Amount moved"
] = float_column()
Expand Down

0 comments on commit 2e304c2

Please sign in to comment.