rep defect 42, questionnaire defect 67, enf defect 16
This commit is contained in:
@@ -1137,14 +1137,15 @@ let MakeRepresentation = (props) => {
|
||||
|
||||
var dataObj = values;
|
||||
|
||||
uploadRepFiles(
|
||||
dataObj,
|
||||
[{}],
|
||||
values.containerID,
|
||||
props.caseReference + "/" + dataObj.repfile_name
|
||||
).then((data) => {
|
||||
return data;
|
||||
});
|
||||
(values = updateLinks(values)),
|
||||
uploadRepFiles(
|
||||
dataObj,
|
||||
[{}],
|
||||
values.containerID,
|
||||
props.caseReference + "/" + dataObj.repfile_name
|
||||
).then((data) => {
|
||||
return data;
|
||||
});
|
||||
};
|
||||
|
||||
const repForm = props.props.form;
|
||||
|
||||
@@ -12,6 +12,7 @@ import {
|
||||
bytesToSize,
|
||||
getThumbnailIconByExtension,
|
||||
formatDates,
|
||||
updateLinks,
|
||||
} from "../../utils";
|
||||
|
||||
import {
|
||||
@@ -48,7 +49,9 @@ const RepCompleteSubmit = (props) => {
|
||||
</li>
|
||||
));
|
||||
|
||||
const repFormData = formObj.representationForm.values;
|
||||
let repFormData = formObj.representationForm.values;
|
||||
|
||||
repFormData = updateLinks(repFormData);
|
||||
|
||||
//const repDate = new Date();
|
||||
|
||||
|
||||
@@ -38,7 +38,11 @@ import {
|
||||
subYears,
|
||||
} from "date-fns";
|
||||
|
||||
import { bytesToSize, getThumbnailIconByExtension } from "../../utils";
|
||||
import {
|
||||
bytesToSize,
|
||||
getThumbnailIconByExtension,
|
||||
updateLinks,
|
||||
} from "../../utils";
|
||||
|
||||
import { useRouter } from "next/router";
|
||||
|
||||
@@ -783,6 +787,7 @@ export const RenderRichMultiline = ({
|
||||
);
|
||||
|
||||
const changeEdit = (valStr) => {
|
||||
valStr = updateLinks(valStr);
|
||||
setEditValue(valStr);
|
||||
input.onChange(valStr);
|
||||
};
|
||||
|
||||
+4
-2
@@ -1,6 +1,6 @@
|
||||
import _ from "lodash";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
import { formatDates } from "../../../utils";
|
||||
import { formatDates, updateLinks } from "../../../utils";
|
||||
|
||||
let RepLPAQuestionnaireCheck_enforcement = (props) => {
|
||||
let { t } = useTranslation();
|
||||
@@ -14,7 +14,9 @@ let RepLPAQuestionnaireCheck_enforcement = (props) => {
|
||||
questionnaireCount,
|
||||
} = props;
|
||||
|
||||
const repFormData = formObj.representationForm.values;
|
||||
let repFormData = formObj.representationForm.values;
|
||||
|
||||
repFormData = updateLinks(repFormData);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
+5
-2
@@ -1,6 +1,6 @@
|
||||
import _ from "lodash";
|
||||
import useTranslation from "next-translate/useTranslation";
|
||||
import { formatDates } from "../../../utils";
|
||||
import { formatDates, updateLinks } from "../../../utils";
|
||||
|
||||
let RepLPAQuestionnaireCheck_s78 = (props) => {
|
||||
let { t } = useTranslation();
|
||||
@@ -13,7 +13,10 @@ let RepLPAQuestionnaireCheck_s78 = (props) => {
|
||||
setRepresentationSubmit,
|
||||
questionnaireCount,
|
||||
} = props;
|
||||
const repFormData = formObj.representationForm.values;
|
||||
|
||||
let repFormData = formObj.representationForm.values;
|
||||
|
||||
repFormData = updateLinks(formObj);
|
||||
|
||||
return (
|
||||
<>
|
||||
|
||||
@@ -14,7 +14,11 @@ import {
|
||||
import BuildCheckRow from "./buildcheckrow";
|
||||
|
||||
import { generateAppealPDF, sendCaseCompleteMessage } from "../../actions";
|
||||
import { bytesToSize, getThumbnailIconByExtension } from "../utils";
|
||||
import {
|
||||
bytesToSize,
|
||||
getThumbnailIconByExtension,
|
||||
updateLinks,
|
||||
} from "../utils";
|
||||
|
||||
let BuildCheckSection = (props) => {
|
||||
useEffect(() => {
|
||||
@@ -107,6 +111,8 @@ let BuildCheckSection = (props) => {
|
||||
|
||||
let pdfObj = props.props.form.appealForm.values;
|
||||
|
||||
pdfObj = updateLinks(pdfObj);
|
||||
|
||||
Object.assign(pdfObj, {
|
||||
"filesList": buildAppealFilesArray,
|
||||
"containerID": props.props.accountDetails.containerID,
|
||||
|
||||
Reference in New Issue
Block a user