17169 added consultation response location id

This commit is contained in:
2025-06-18 09:01:41 +01:00
parent 7eda5ffd37
commit 0df0ad5faa
+7 -2
View File
@@ -423,8 +423,8 @@ export const createRepPDFBlob = async (
? "846040003"
: repName.indexOf("_Impact") > 0
? "846040029"
: repName.indexOf("_Consultation_Response") > 0
? "846040005"
: repName.indexOf("_Consultation_Response_") > 0
? "846040036"
: "846040002";
const tags = {
@@ -611,6 +611,10 @@ export const uploadFile = async (formContent, containerName, foldername) => {
? "846040003"
: files[prop][0].fieldName.indexOf("_Impact_") > 0
? "846040001"
: files[prop][0].fieldName.indexOf(
"_Consultation_Response_"
) > 0
? "846040036"
: "846040000";
const tags = {
@@ -737,6 +741,7 @@ export const uploadSingleFile = async (
{ pattern: /_Questionnaire_/, value: "846040001" },
{ pattern: /_Comments_/, value: "846040003" },
{ pattern: /_Impact_/, value: "846040001" },
{ pattern: /_Consultation_Response_/, value: "846040036" },
];
// Find a matching pattern or fallback to default