-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Legg til støtte for å bruke delmal duMåMeldeFraOmEndringerEøsSelvsten…
…digRett eller duMåMeldeFraOmEndringer basert på vilkårsvurdering (#3997) Favrokort: https://favro.com/organization/98c34fb974ce445eac854de0/1844bbac3b6605eacc8f5543?card=NAV-15665 Det er ønskelig å bruke erstatte bruken av delmalen "duMaaMeldeFraOmEndringer" med delmalen "duMaaMeldeFraOmEndringerEosSelvstendigRett" dersom det er satt ANNEN_FORELDER_OMFATTET_AV_NORSK_LOVGIVNING på bosatt i riket vilkåret. For å støtte dette er følgende gjort: - For vedtaksbrev som skal starte å benytte seg av duMaaMeldeFraOmEndringerEosSelvstendigRett så sender vi nå alltid med en booleansk verdi som sier om delmalen skal benyttes eller ikke. - For vedtaksbrev som har benyttet seg av duMaaMeldeFraOmEndringer, så må vi nå alltid sende med booleansk verdi som sier om delmalen skal benyttes eller ikke. Dette fordi at i sanity, så har vi tidlig satt den til å alltid vises, men det er nå conditional. Verdien settes til omvendt av duMaaMeldeFraOmEndringerEosSelvstendigRett. - Når denne PRn er merget så må man skru av "delmal skal alltid vises" på duMaaMeldeFraOmEndringer delmalen i sanity. Demonstrasjon av logikk: https://github.com/navikt/familie-ba-sak/assets/110383605/65a7315e-2844-4f22-98ac-06d72cda97c5 Co-authored-by: Stig Strøm <[email protected]>
- Loading branch information
1 parent
211b9cf
commit f627451
Showing
6 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters