applied reps documents naming conventions
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user