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

Gjer sjekken for kva vi anser som gjeldande § 14 a-vedtak meir "relaxed" #1857

Merged
merged 3 commits into from
Feb 18, 2025

Conversation

slovrid
Copy link
Contributor

@slovrid slovrid commented Feb 18, 2025

Describe your changes

Vi oppdaga at § 14 a-vedtak som vert fatta i Arena får fattetDato satt til midnatt den dagen vedtaket vart fatta. Eksempel: dersom ein veiledar fattar vedtak 2025-02-18 11:15:00, så vil fattetDato seie 2025-02-18 00:00:00. Dette er problematisk sidan personar som får oppfølging starta og § 14 a-vedtak fatta same dag, så vil vi alltid seie at hen ikkje har eit gjeldande vedtak, sjølv om "funksjonell tid" (dvs. tidspunkt når veiledar faktisk gjer vedtaket) i realiteten er etter oppfølging startdato.

Sjå Slack-tråd: https://nav-it.slack.com/archives/CF7DMUHSM/p1739782217530059.

Vi har difor bestemt oss for at vi gjer denne sjekken meir "relaxed", ved at vi samanliknar "vedtak fattet dato" med "oppfølging startdato og 4 døgn bakover i tid".

Trello ticket number and link

TC-949

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)

Checklist before requesting a review

  • I have performed a self-review of my code
  • If it is a core feature, I have added thorough tests.

@github-actions github-actions bot added the not dependabot PRs opened by humans (and other bots) label Feb 18, 2025
@slovrid slovrid force-pushed the gjeldende-14a-vedtak-fiks branch from 04cb466 to 75c3207 Compare February 18, 2025 10:24
@slovrid slovrid marked this pull request as ready for review February 18, 2025 13:06
@slovrid slovrid requested a review from a team as a code owner February 18, 2025 13:06
@slovrid slovrid merged commit 002bdbc into dev Feb 18, 2025
10 checks passed
@slovrid slovrid deleted the gjeldende-14a-vedtak-fiks branch February 18, 2025 18:21
slovrid added a commit that referenced this pull request Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not dependabot PRs opened by humans (and other bots)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants