updatd documents needed list
This commit is contained in:
@@ -612,40 +612,6 @@ let BuildSection = (props) => {
|
||||
/>
|
||||
|
||||
<hr className="govuk-section-break govuk-section-break--m govuk-section-break--visible" />
|
||||
|
||||
{/*
|
||||
Mpved save and exit button from progess section
|
||||
{savingStatus ? (
|
||||
<span className=" progress-save-active">
|
||||
{router.locale == "cy" ? "Nôl data" : "Saving data"}
|
||||
<img
|
||||
className="data-loading-icon"
|
||||
src="/assets/images/loading.gif"
|
||||
alt={
|
||||
router.locale == "cy"
|
||||
? "Nôl data"
|
||||
: "Saving data"
|
||||
}
|
||||
/>
|
||||
</span>
|
||||
) : (
|
||||
<button
|
||||
className="govuk-button progress-save "
|
||||
onClick={() => {
|
||||
let valuesObj =
|
||||
props.props.form[props.form].values || {};
|
||||
|
||||
console.log("valuesobj:", valuesObj);
|
||||
|
||||
delete valuesObj["_pinswg_appellant_value"];
|
||||
|
||||
console.log("on save:", valuesObj);
|
||||
updateCaseProgress(valuesObj, true, true);
|
||||
}}
|
||||
>
|
||||
{t("common:save-exit-button")}
|
||||
</button>
|
||||
)} */}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -704,10 +670,10 @@ const validate = (values) => {
|
||||
if (values.hasOwnProperty("pinswg_statementofcase")) {
|
||||
if (strippedHtml(values.pinswg_statementofcase).length == 0)
|
||||
errors.pinswg_statementofcase =
|
||||
"Enter submit a statement of case or select Yes to attach a separate Statement of Case Document";
|
||||
"Submit your Statement of Case or select Yes to attach a separate Statement of Case Document";
|
||||
} else {
|
||||
errors.pinswg_statementofcase =
|
||||
"Enter submit a statement of case or select Yes to attach a separate Statement of Case Document";
|
||||
"Submit your Statement of Case or select Yes to attach a separate Statement of Case Document";
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -718,10 +684,10 @@ const validate = (values) => {
|
||||
if (values.hasOwnProperty("pinswg_costapplication")) {
|
||||
if (strippedHtml(values.pinswg_costapplication).length == 0)
|
||||
errors.pinswg_costapplication =
|
||||
"Enter submit a Cost application or select Yes to attach a separate Costs application";
|
||||
"Submit a Costs application or select Yes to attach a separate Costs application";
|
||||
} else {
|
||||
errors.pinswg_costapplication =
|
||||
"Enter submit a Cost application or select Yes to attach a separate Costs application";
|
||||
"Submit a Costs application or select Yes to attach a separate Costs application";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user