Skip to content

Commit 0716d61

Browse files
committed
feat: add admin pdf copy for mrf
1 parent ac582dd commit 0716d61

File tree

5 files changed

+591
-284
lines changed

5 files changed

+591
-284
lines changed

__tests__/unit/backend/helpers/generate-email-data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export const generateSingleAnswerAutoreply = (
1616
): EmailRespondentConfirmationField => ({
1717
question: response.question,
1818
answerTemplate: response.answer.split('\n'),
19+
fieldType: response.fieldType,
1920
})
2021

2122
export const generateSingleAnswerFormData = (

src/app/modules/submission/multirespondent-submission/multirespondent-submission.controller.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ const submitMultirespondentForm = async (
139139
encryptedPayload,
140140
logMeta,
141141
attachments: req.formsg.unencryptedAttachments,
142+
growthbook: req.growthbook,
142143
})
143144
}
144145

@@ -234,6 +235,7 @@ const updateMultirespondentSubmission = async (
234235
encryptedPayload,
235236
logMeta,
236237
attachments: req.formsg.unencryptedAttachments,
238+
growthbook: req.growthbook,
237239
})
238240
}
239241

0 commit comments

Comments
 (0)