welsh downloadable new appeal form

This commit is contained in:
2026-03-30 12:35:41 +01:00
parent 13cd2514c7
commit 3bc3759a48
7 changed files with 271 additions and 81 deletions
+2 -1
View File
@@ -100,6 +100,7 @@ export default async function handler(req, res) {
typeof req.body === "string" ? JSON.parse(req.body) : req.body;
const containerID = appealBodyObj.containerID;
const casefolderID = appealBodyObj.casefolderID;
const locale = appealBodyObj.locale || "en";
let checkquerypath = "/api/file/generateappealpdf";
if (
@@ -207,7 +208,7 @@ export default async function handler(req, res) {
const renderedPDF = await ReactPDF.renderToStream(
MyDocument({
docProps: blobProgress,
docProps: { ...blobProgress, locale },
pickListData: pickListData
})
);