fixes for rep complete queue
This commit is contained in:
@@ -21,6 +21,7 @@ const RepComplete = (props) => {
|
||||
setSubmitBack,
|
||||
setRepresentationSubmitConfirmation,
|
||||
setRepresentationMessageSent,
|
||||
repFormData,
|
||||
} = props;
|
||||
const { acceptedFiles, getRootProps, getInputProps } = useDropzone();
|
||||
const files = acceptedFiles.map((file) => (
|
||||
@@ -46,7 +47,8 @@ const RepComplete = (props) => {
|
||||
props.props.currentView.representationMessageSent != true &&
|
||||
(sendRepCompleteMessage(
|
||||
props.props.props.props.accountDetails.containerID,
|
||||
props.props.currentView.caseReference.currentReference
|
||||
props.props.currentView.caseReference.currentReference,
|
||||
props.repFormData.repfile_name
|
||||
),
|
||||
sendEmail(templateId, emailAddress, personalisation, reference),
|
||||
setRepresentationMessageSent(true));
|
||||
|
||||
Reference in New Issue
Block a user