3
3
type UngdomsytelseSatsPeriodeDto ,
4
4
} from '@k9-sak-web/backend/ungsak/generated' ;
5
5
import { formatPeriod } from '@k9-sak-web/lib/dateUtils/dateUtils.js' ;
6
- import { Box , Heading , Table , Tooltip , VStack } from '@navikt/ds-react' ;
6
+ import { BodyShort , Box , Heading , Label , Table , Tooltip , VStack } from '@navikt/ds-react' ;
7
7
import { DataSection } from './DataSection' ;
8
8
import styles from './dagsatsOgUtbetaling.module.css' ;
9
9
@@ -61,17 +61,35 @@ export const DagsatsOgUtbetaling = ({ satser }: DagsatsOgUtbetalingProps) => (
61
61
< Table . Header >
62
62
< Table . Row >
63
63
< Table . HeaderCell scope = "col" className = { styles . firstHeaderCell } >
64
- Periode
64
+ < Label size = "small" > Periode</ Label >
65
+ </ Table . HeaderCell >
66
+ < Table . HeaderCell scope = "col" >
67
+ < Label size = "small" > Sats</ Label >
68
+ </ Table . HeaderCell >
69
+ < Table . HeaderCell scope = "col" >
70
+ < Label size = "small" > Grunnbeløp</ Label >
71
+ </ Table . HeaderCell >
72
+ < Table . HeaderCell scope = "col" >
73
+ < Label size = "small" > Dagsats</ Label >
74
+ </ Table . HeaderCell >
75
+ < Table . HeaderCell scope = "col" >
76
+ < Label size = "small" > Antall barn</ Label >
77
+ </ Table . HeaderCell >
78
+ < Table . HeaderCell scope = "col" >
79
+ < Label size = "small" > Barnetillegg</ Label >
80
+ </ Table . HeaderCell >
81
+ < Table . HeaderCell scope = "col" >
82
+ < Label size = "small" > Rapportert inntekt</ Label >
83
+ </ Table . HeaderCell >
84
+ < Table . HeaderCell scope = "col" >
85
+ < Label size = "small" > Dager</ Label >
86
+ </ Table . HeaderCell >
87
+ < Table . HeaderCell scope = "col" >
88
+ < Label size = "small" > Utbetaling</ Label >
89
+ </ Table . HeaderCell >
90
+ < Table . HeaderCell scope = "col" >
91
+ < Label size = "small" > Status</ Label >
65
92
</ Table . HeaderCell >
66
- < Table . HeaderCell scope = "col" > Sats</ Table . HeaderCell >
67
- < Table . HeaderCell scope = "col" > Grunnbeløp</ Table . HeaderCell >
68
- < Table . HeaderCell scope = "col" > Dagsats</ Table . HeaderCell >
69
- < Table . HeaderCell scope = "col" > Antall barn</ Table . HeaderCell >
70
- < Table . HeaderCell scope = "col" > Barnetillegg</ Table . HeaderCell >
71
- < Table . HeaderCell scope = "col" > Rapportert inntekt</ Table . HeaderCell >
72
- < Table . HeaderCell scope = "col" > Dager</ Table . HeaderCell >
73
- < Table . HeaderCell scope = "col" > Utbetaling</ Table . HeaderCell >
74
- < Table . HeaderCell scope = "col" > Status</ Table . HeaderCell >
75
93
< Table . HeaderCell />
76
94
</ Table . Row >
77
95
</ Table . Header >
@@ -87,14 +105,24 @@ export const DagsatsOgUtbetaling = ({ satser }: DagsatsOgUtbetalingProps) => (
87
105
expandOnRowClick
88
106
>
89
107
< Table . DataCell className = { styles . firstHeaderCell } >
90
- { fom && tom && formatPeriod ( fom , tom ) }
108
+ < BodyShort size = "small" > { fom && tom && formatPeriod ( fom , tom ) } </ BodyShort >
109
+ </ Table . DataCell >
110
+ < Table . DataCell >
111
+ < BodyShort size = "small" > { formatSats ( satsType ) } </ BodyShort >
112
+ </ Table . DataCell >
113
+ < Table . DataCell >
114
+ < BodyShort size = "small" > { grunnbeløp && formatCurrencyWithKr ( grunnbeløp ) } </ BodyShort >
115
+ </ Table . DataCell >
116
+ < Table . DataCell >
117
+ < BodyShort size = "small" > { dagsats && formatCurrencyNoKr ( dagsats ) } kr</ BodyShort >
118
+ </ Table . DataCell >
119
+ < Table . DataCell >
120
+ < BodyShort size = "small" > { antallBarn } </ BodyShort >
91
121
</ Table . DataCell >
92
- < Table . DataCell > { formatSats ( satsType ) } </ Table . DataCell >
93
- < Table . DataCell > { grunnbeløp && formatCurrencyWithKr ( grunnbeløp ) } </ Table . DataCell >
94
- < Table . DataCell > { dagsats && formatCurrencyNoKr ( dagsats ) } kr</ Table . DataCell >
95
- < Table . DataCell > { antallBarn } </ Table . DataCell >
96
122
< Table . DataCell >
97
- { dagsatsBarnetillegg ? `${ formatCurrencyNoKr ( dagsatsBarnetillegg ) } kr` : null }
123
+ < BodyShort size = "small" >
124
+ { dagsatsBarnetillegg ? `${ formatCurrencyNoKr ( dagsatsBarnetillegg ) } kr` : null }
125
+ </ BodyShort >
98
126
</ Table . DataCell >
99
127
< Table . DataCell />
100
128
< Table . DataCell />
0 commit comments