awaiting submissions from storage acc
This commit is contained in:
@@ -6,7 +6,7 @@ import { useEffect } from "react";
|
||||
import { connect } from "react-redux";
|
||||
import { formValueSelector } from "redux-form";
|
||||
import xpath from "xpath";
|
||||
import { updateCase, patchCase } from "../../actions";
|
||||
import { updateCase, patchCase, sendEmail } from "../../actions";
|
||||
import data from "../../data/collections.json";
|
||||
import { setCurrentSection } from "../../store/appealType/action";
|
||||
import { getFormCollectionByID } from "../utils";
|
||||
@@ -49,6 +49,15 @@ let CompleteAppeal = (props) => {
|
||||
primaryAttribute,
|
||||
props.appealType.caseReference.ticketnumber
|
||||
);
|
||||
|
||||
sendEmail(
|
||||
props.props.accountDetails.loggedinUserEmail,
|
||||
"Saved progress for appeal " +
|
||||
props.appealType.caseReference.ticketnumber,
|
||||
"Your saved appeal " + props.appealType.caseReference.ticketnumber,
|
||||
"You have now completed your appeal."
|
||||
);
|
||||
|
||||
console.log("patching////////");
|
||||
patchCase(incidentId);
|
||||
}, [
|
||||
|
||||
Reference in New Issue
Block a user