-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Oppdater tildel endepunkt til å håndere både behandling og kontroll. …
…Legg til fane for kontroll
- Loading branch information
Showing
9 changed files
with
121 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.container { | ||
padding: var(--a-spacing-4); | ||
} | ||
|
||
.sjekkliste { | ||
margin-top: var(--a-spacing-4); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
import { Fragment } from "react"; | ||
import { Detail, Heading, List, Textarea } from "@navikt/ds-react"; | ||
import styles from "./oppgaveKontroll.module.css"; | ||
|
||
export function OppgaveKontroll() { | ||
return ( | ||
<div className={styles.container}> | ||
<Textarea | ||
label={ | ||
<> | ||
<Heading size="small"> | ||
Notat - hvorfor returneres oppgaven tilbake fra kontroll? | ||
</Heading> | ||
<Detail textColor="subtle">Notat vil være synlig for bruker ved innsyn. </Detail> | ||
</> | ||
} | ||
/> | ||
|
||
<List className={styles.sjekkliste} as="ol" title="Sjekkliste" size="small"> | ||
{sjekkliste.map((punkt) => ( | ||
<Fragment key={punkt.navn}> | ||
<List.Item>{punkt.navn}</List.Item> | ||
{punkt.underpunkter && ( | ||
<List size="small"> | ||
{punkt.underpunkter.map((underpunkt) => ( | ||
<List.Item key={underpunkt}>{underpunkt}</List.Item> | ||
))} | ||
</List> | ||
)} | ||
</Fragment> | ||
))} | ||
</List> | ||
</div> | ||
); | ||
} | ||
|
||
interface ISjekkliste { | ||
navn: string; | ||
underpunkter?: string[]; | ||
} | ||
|
||
const sjekkliste: ISjekkliste[] = [ | ||
{ | ||
navn: "Se raskt gjennom søknad, relevante dokumenter og vedtak: Er det noe spesielt ved saken/ røde flagg/ grensesnitt (konkurs, sammenlegging og grensearbeidere etc)?", | ||
}, | ||
{ | ||
navn: "Skal det være gjenopptak/ny rettighet?", | ||
}, | ||
{ | ||
navn: "Er det riktig antall barnetillegg?", | ||
}, | ||
{ | ||
navn: "Er virkningstidspunkt satt riktig, og begrunnelse i vedtak stemmer med Arena? (Se om dato og tekst er lik i Arena og melding om vedtak.)", | ||
}, | ||
{ | ||
navn: "FVA", | ||
underpunkter: [ | ||
"Riktig beregningsregel? (Ikke dobbeltkontroll av selve beregningen)", | ||
"Stemmer begrunnelsen i vedtak med Arena?", | ||
], | ||
}, | ||
{ | ||
navn: "Sanksjon", | ||
underpunkter: ["Er det riktig å gi sanksjon?", "Er sanksjonen begrunnet?"], | ||
}, | ||
{ | ||
navn: "Ved permitteringssaker", | ||
underpunkter: [ | ||
"Er telleverk justert for permittering siste 18 måneder? (ikke dobbeltkontroll av antall uker justert)", | ||
"Var det riktig å godkjenne eller avslå permitteringsårsak (hvis saksbehandler også har gjort førstegangsvurdering av permitteringsårsak)?", | ||
"Ved avslag: Er alt vurdert korrekt og tilstrekkelig dokumentert?", | ||
], | ||
}, | ||
]; |
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