Skip to content

Commit

Permalink
fix(inheritance-report): adding service to mappers (#17177)
Browse files Browse the repository at this point in the history
* fix(inheritance-report): adding service to mappers

* prepaid text

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
albinagu and kodiakhq[bot] authored Dec 9, 2024
1 parent fb234b4 commit 31b2fdb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ export const expandAnswers = (
rent: answers?.funeralCost?.rent ?? '',
food: answers?.funeralCost?.food ?? '',
tombstone: answers?.funeralCost?.tombstone ?? '',
service: answers?.funeralCost?.service ?? '',
hasOther: answers?.funeralCost?.hasOther ?? [],
other: answers?.funeralCost?.other ?? '',
otherDetails: answers?.funeralCost?.otherDetails ?? '',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export const prePaidHeirs = buildSection({
buildMultiField({
id: 'prePaidHeirsAdditionalInfo',
title: m.heirAdditionalInfo,
description: m.heirAdditionalInfoDescription,
description: m.heirAdditionalInfoPrePaidDescription,
children: [
buildTextField({
id: 'heirsAdditionalInfo',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,7 @@ export const inheritanceReportSchema = z.object({
rent: z.string().optional(),
food: z.string().optional(),
tombstone: z.string().optional(),
service: z.string().optional(),
hasOther: z.array(z.enum([YES])).optional(),
other: z.string().optional(),
otherDetails: z.string().optional(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ export const m = defineMessages({

// Assets to share
assetsToShareDescription: {
id: 'ir.application:assetsToShareDescription',
id: 'ir.application:assetsToShareDescription#markdown',
defaultMessage:
'Frá dregst búshluti eftirlifandi maka samkvæmt reglum hjúskaparlaga nr. 31/1993.',
description: '',
Expand Down Expand Up @@ -1382,7 +1382,7 @@ export const m = defineMessages({
description: '',
},
heirsAndPartitionDescription: {
id: 'ir.application:heirsAndPartitionDescription',
id: 'ir.application:heirsAndPartitionDescription#markdown',
defaultMessage:
'Skrá skal netfang erfingja vegna tilkynninga skattstjóra skv. 9. og 10. gr. laga nr. 14/2004.',
description: '',
Expand Down Expand Up @@ -1664,6 +1664,12 @@ export const m = defineMessages({
'Skýringar og athugasemdir erfingja og/eða þess sem skilar inn erfðafjárskýrslu.',
description: '',
},
heirAdditionalInfoPrePaidDescription: {
id: 'ir.application:heirAdditionalInfoPrePaidDescription',
defaultMessage:
'Skýringar og athugasemdir erfingja og/eða þess sem skilar inn erfðafjárskýrslu.',
description: '',
},
info: {
id: 'ir.application:info',
defaultMessage: 'Athugasemdir',
Expand Down

0 comments on commit 31b2fdb

Please sign in to comment.