applied reps documents naming conventions

This commit is contained in:
2024-05-14 19:06:20 +01:00
parent 5987ecacf2
commit 0e3df85fdc
13 changed files with 273 additions and 137 deletions
@@ -38,9 +38,12 @@ const RepAppellant = (props) => {
setRepresentationCapacity,
setRepresentationSubmit,
currentView,
setRepFileName,
} = props;
const { acceptedFiles, getRootProps, getInputProps } = useDropzone();
setRepFileName(formObj.representationForm.values);
return (
<>
<div className="govuk-grid-row">
@@ -78,7 +81,6 @@ const RepAppellant = (props) => {
)}
</div>
</div>
{(typeof props.representationType != "undefined" ||
typeof formObj.representationForm.values.representationType !=
"undefined") && (
@@ -139,6 +141,7 @@ const RepAppellant = (props) => {
props.props.props.accountDetails
.containerID
}
filenamePrefix={props}
/>
</div>
{props.currentView.caseReference.hasOwnProperty(