Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(2960) Amend pre-existing report check #2207

Merged
merged 2 commits into from
Nov 9, 2023

Conversation

CristinaRO
Copy link
Contributor

Changes in this PR

  • Amend the check for a pre-existing later report to take ODA type into account

Screenshots of UI changes

N/A

Next steps

  • Is an ADR required? An ADR should be added if this PR introduces a change to the architecture.
  • Is a changelog entry required? An entry should always be made in CHANGELOG.md, unless this PR is a small tweak which has no impact outside the development team.
  • Do any environment variables need amending or adding?
  • Have any changes to the XML been checked with the IATI validator? See XML Validation

The check for a pre-existing later report is ensuring that no one is
rewriting history. Any data up to the latest report is considered to
have been already reported, so we don't want anyone to create a report
for a period preceding the latest report.

Previously, this check applied to the combination of fund and partner
organisation.

Now that ISPF reports can be for ODA or non-ODA, the check needs to take
into account the ODA type of the report, because the reporting streams
are separate and could function on different timelines.
@CristinaRO
Copy link
Contributor Author

@CristinaRO CristinaRO requested a review from shuldt November 8, 2023 18:45
@CristinaRO CristinaRO merged commit 34399d4 into develop Nov 9, 2023
@CristinaRO CristinaRO deleted the 2960-amend-preexisting-report-check branch November 9, 2023 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants