-
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.
POFIM-24 Forbedrer formatering av inntektsmeldingsmalen
- Loading branch information
1 parent
c713e24
commit 3f31626
Showing
1 changed file
with
158 additions
and
62 deletions.
There are no files selected for viewing
220 changes: 158 additions & 62 deletions
220
content/templates/fpinntektsmelding-inntektsmelding/template_nb.hbs
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 |
---|---|---|
@@ -1,120 +1,216 @@ | ||
<p align="left"> | ||
Mottatt tidspunkt: {{opprettetTidspunkt}} | ||
Innsendt: {{opprettetTidspunkt}} | ||
</p> | ||
<br> | ||
<br> | ||
<br> | ||
|
||
# Inntektsmelding for{{~#switch ytelsetype}}{{#case "FORELDREPENGER"}} foreldrepenger{{/case}}{{#case "SVANGERSKAPSPENGER"}} svangerskapspenger{{/case}}{{#case "PLEIEPENGER_SYKT_BARN"}} pleiepenger sykt barn{{/case}}{{#case "OPPLÆRINGSPENGER"}} pleiepenger nærtstående{{/case}}{{#case "PLEIEPENGER_NÆRSTÅENDE"}} opplæringspenger{{/case}}{{#case "OMSORGSPENGER"}} omsorgspenger{{/case}}{{/switch}} | ||
|
||
### Den ansatte | ||
#### Den ansatte | ||
<table style="width:100%"> | ||
<tr> | ||
<th style="width: 60%">Navn</th> | ||
<th style="width: 40%">Personnummer</th> | ||
</tr> | ||
<tr> | ||
<td>{{navnSøker}}</td> | ||
<td>{{personnummer}}</td> | ||
</tr> | ||
</table> | ||
|
||
| Navn | Personnummer | | ||
| --- | --- | | ||
| {{navnSøker}} | {{personnummer}} | | ||
<br> | ||
|
||
### Arbeidsgiveren | ||
|
||
| Virksomhetens navn | Organisasjonsnummer | | ||
| --- | --- | | ||
| {{arbeidsgiverNavn}} | {{arbeidsgiverIdent}} | | ||
<br> | ||
<span style="color: lightgray"> | ||
<br>___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
</span> | ||
|
||
| Innsender | Telefonnummer | | ||
| --- | --- | | ||
| {{kontaktperson.navn}} | {{kontaktperson.telefonnummer}} | | ||
<br> | ||
#### Arbeidsgiveren | ||
<table style="width:100%"> | ||
<tr> | ||
<th style="width: 60%">Navn på virksomheten</th> | ||
<th style="width: 40%">Organisasjonsnummer</th> | ||
</tr> | ||
<tr> | ||
<td>{{arbeidsgiverNavn}}</td> | ||
<td>{{arbeidsgiverIdent}}</td> | ||
</tr> | ||
</table> | ||
<table style="width:100%"> | ||
<tr> | ||
<th style="width: 60%">Innsender</th> | ||
<th style="width: 40%">Telefonnummer</th> | ||
</tr> | ||
<tr> | ||
<td>{{kontaktperson.navn}}</td> | ||
<td>{{kontaktperson.telefonnummer}}</td> | ||
</tr> | ||
</table> | ||
|
||
<span style="color: lightgray"> | ||
___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
<br>___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
</span> | ||
|
||
#### Startdato permisjon | ||
Startdato: **{{startDato}}** | ||
|
||
### Startdato permisjon | ||
<br>{{~startDato}} | ||
|
||
<br> | ||
#### Beregnet månedslønn | ||
Registrert inntekt (per {{startDato}}): **{{~thousand-seperator månedInntekt}}** | ||
|
||
<span style="color: lightgray"> | ||
___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
<br>___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
</span> | ||
|
||
### Beregnet månedslønn | ||
Registrert inntekt (per {{startDato}}): | ||
<div style="break-inside: avoid; page-break-inside: avoid"> | ||
|
||
**{{~thousand-seperator månedInntekt}}** | ||
|
||
### Refusjon | ||
#### Refusjon | ||
|
||
Betaler arbeidsgiver lønn under hele eller deler av fraværet? | ||
{{~#if refusjonsbeløp}} | ||
|
||
Refusjonsbeløp: {{thousand-seperator refusjonsbeløp}} | ||
{{else}} Nei | ||
**Ja**<br>Refusjonsbeløp: **{{thousand-seperator refusjonsbeløp}}** | ||
{{else}}<br>**Nei** | ||
{{/if}} | ||
Opphører refusjonskravet i perioden? | ||
{{~#if refusjonOpphørsdato}} | ||
<br>Opphørsdato:{{refusjonOpphørsdato}} | ||
**Ja**<br>Opphørsdato: **{{refusjonOpphørsdato}}** | ||
{{else}} | ||
Nei | ||
<br>**Nei** | ||
{{/if}} | ||
Endringer i refusjon i perioden? | ||
{{~#if endringIrefusjonsperioder.length}} | ||
{{#each endringIrefusjonsperioder}} | ||
{{#if @first}} | ||
| Fra | Til | Refusjonsbeløp | | ||
| --- | --- | --- | | ||
**Ja** | ||
{{~#each endringIrefusjonsperioder}} | ||
{{~#if @first}} | ||
<br> | ||
<table style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th style="width: 33%">Fra</th> | ||
<th style="width: 33%">Til</th> | ||
<th style="width: 33%">Refusjonsbeløp</th> | ||
</tr> | ||
</thead> | ||
</table> | ||
{{/if}} | ||
| {{fom}} | {{tom}} | {{thousand-seperator beloep}} | | ||
<table style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th style="width: 33%"></th> | ||
<th style="width: 33%"></th> | ||
<th style="width: 33%"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>{{fom}}</td> | ||
<td>{{tom}}</td> | ||
<td>{{thousand-seperator beloep}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
{{/each}} | ||
{{else}} | ||
Nei | ||
<br> **Nei** | ||
{{/if}} | ||
|
||
<br> | ||
</div> | ||
|
||
<span style="color: lightgray"> | ||
___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
<br>___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
</span> | ||
|
||
<br> | ||
<div style="break-inside: avoid; page-break-inside: avoid"> | ||
|
||
### Bortfall av naturalytelser | ||
#### Bortfall av naturalytelser | ||
|
||
Er det bortfall av naturalytelser i perioden? | ||
{{~#if ingenBortfaltNaturalytelse}} | ||
Nei | ||
<br>**Nei** | ||
{{else}} | ||
<br>**Ja** | ||
{{/if}} | ||
{{~#each naturalytelser}} | ||
{{#if erBortfalt}} | ||
{{#if @first}} | ||
| Fra | Til | Naturalytelsetype | Beløp | | ||
{{~#if erBortfalt}} | ||
{{~#if @first}} | ||
<br> | ||
<table style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th style="width: 25%">Type</th> | ||
<th style="width: 25%">Fra</th> | ||
<th style="width: 25%">Til</th> | ||
<th style="width: 25%">Beløp</th> | ||
</tr> | ||
</thead> | ||
</table> | ||
{{/if}} | ||
| --- | --- | --- | --- | | ||
| {{naturalytelseType}} | | {{thousand-seperator beloep}} | {{fom}} | {{tom}} | | ||
<table style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th style="width: 25%"></th> | ||
<th style="width: 25%"></th> | ||
<th style="width: 25%"></th> | ||
<th style="width: 25%"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>{{naturalytelseType}}</td> | ||
<td>{{fom}}</td> | ||
<td>{{tom}}</td> | ||
<td>{{thousand-seperator beloep}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
{{/if}} | ||
{{/each}} | ||
|
||
<br> | ||
</div> | ||
|
||
<span style="color: lightgray"> | ||
___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
<br>___________________________________________________________________________________________________________________________________________________________________________________________________ | ||
</span> | ||
|
||
<br> | ||
<div style="break-inside: avoid; page-break-inside: avoid"> | ||
|
||
### Gjenopptatte naturalytelser | ||
#### Gjenopptatte naturalytelser | ||
|
||
{{~#if ingenGjenopptattNaturalytelse}}Nei{{else}} | ||
| Fra | Til | Naturalytelsetype | Beløp | | ||
| --- | --- | --- | --- | | ||
{{/if}} | ||
Er det naturalytelser gjenopptatt i perioden? | ||
{{~#if ingenGjenopptattNaturalytelse}} | ||
<br> **Nei** | ||
{{else}} | ||
<br> **Ja**{{/if}} | ||
{{~#each naturalytelser}} | ||
{{#eq erBortfalt false}} | ||
| {{naturalytelseType}} | {{thousand-seperator beloep}} | {{fom}} | {{tom}} | | ||
{{~#eq erBortfalt false}} | ||
{{~#if @first}} | ||
<br> | ||
<table style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th style="width: 25%">Type</th> | ||
<th style="width: 25%">Fra</th> | ||
<th style="width: 25%">Til</th> | ||
<th style="width: 25%">Beløp</th> | ||
</tr> | ||
</thead> | ||
</table> | ||
{{/if}} | ||
<table style="width:100%"> | ||
<thead> | ||
<tr> | ||
<th style="width: 25%"></th> | ||
<th style="width: 25%"></th> | ||
<th style="width: 25%"></th> | ||
<th style="width: 25%"></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td>{{naturalytelseType}}</td> | ||
<td>{{fom}}</td> | ||
<td>{{tom}}</td> | ||
<td>{{thousand-seperator beloep}}</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
{{/eq}} | ||
{{/each}} | ||
|
||
</div> | ||
|
||
|