updated copy on representation complete submit
This commit is contained in:
@@ -977,8 +977,9 @@ let MakeRepresentation = (props) => {
|
||||
generateRepPDF(
|
||||
values,
|
||||
props.props.accountDetails.containerID,
|
||||
currentView.caseReference.currentReference
|
||||
props.currentView.caseReference.currentReference
|
||||
).then((data) => {
|
||||
console.log(data, "");
|
||||
if (data.status === "success") {
|
||||
values = updateLinks(values);
|
||||
uploadRepresentationFiles(values);
|
||||
|
||||
@@ -104,6 +104,7 @@ const RepComplete = (props) => {
|
||||
<p>{t("myrepresentations:rep-complete-para-one")}</p>
|
||||
<p>{t("myrepresentations:rep-complete-para-two")}</p>
|
||||
<p> {t("myrepresentations:rep-complete-para-three")}</p>
|
||||
<p> {t("myrepresentations:rep-complete-para-four")}</p>
|
||||
</div>
|
||||
<div className="govuk-grid-row">
|
||||
<div className="govuk-button-group">
|
||||
|
||||
@@ -292,8 +292,7 @@ const RepCompleteSubmit = (props) => {
|
||||
const pdfBlob = await generateRepPDF(
|
||||
repFormData,
|
||||
containerID,
|
||||
caseRef,
|
||||
{ download: true }
|
||||
caseRef
|
||||
);
|
||||
|
||||
if (pdfBlob) {
|
||||
|
||||
Reference in New Issue
Block a user