create incident record in new appeal

This commit is contained in:
robert.bond@test.gov.wales
2021-09-09 12:29:18 +01:00
parent 2825ab5a7d
commit b12b5ef64b
9 changed files with 161 additions and 116 deletions
+10 -3
View File
@@ -7,11 +7,16 @@ import BuildRow from "./buildrow";
import { reduxForm, formValueSelector } from "redux-form";
import { useDispatch, useSelector, shallowEqual, connect } from "react-redux";
import { setCurrentSection } from "../../store/appealType/action";
import { updateCase } from "../../actions";
let CompleteAppeal = (props) => {
// un comment to update incident with an appealtype id
// useEffect(() => {
// window.scrollTo(0, 0);
// });
// updateCase(
// props.appealType.caseReference.incidentid,
// props.appealType.appealTypeID
// );
// }, []);
let { t } = useTranslation();
@@ -62,7 +67,9 @@ let CompleteAppeal = (props) => {
<div className="govuk-panel__body">
Your reference number
<br />
<strong>{props.appealType.caseReference}</strong>
<strong>
{props.appealType.caseReference.ticketnumber}
</strong>
</div>
</div>