portal ui enhancements
This commit is contained in:
@@ -159,15 +159,47 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
}
|
||||
</Link>
|
||||
)}
|
||||
{!showTopThreeArr[key].hasOwnProperty(
|
||||
"appealComplete"
|
||||
) && (
|
||||
<div className="deleteCase">
|
||||
<button
|
||||
title={t(
|
||||
"case:do-you-want-to-delete-case-label"
|
||||
)}
|
||||
className=" cardModuleRemoveCase govuk-link govuk-link--no-underline govuk-link--inverse "
|
||||
onClick={() => {
|
||||
confirm(
|
||||
t(
|
||||
"case:do-you-want-to-delete-case-label"
|
||||
) +
|
||||
showTopThreeArr[key]
|
||||
.ticketnumber +
|
||||
"?\n" +
|
||||
t(
|
||||
"case:do-you-want-to-delete-case-disclaimer-label"
|
||||
)
|
||||
) &&
|
||||
deleteCaseItem(
|
||||
props.containerID,
|
||||
showTopThreeArr[key]
|
||||
.ticketnumber
|
||||
);
|
||||
}}
|
||||
>
|
||||
—
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div>
|
||||
<div className="cardModuleReference">
|
||||
<b>{t("myportal:lpa-reference-label")}:</b>{" "}
|
||||
{
|
||||
showTopThreeArr[key]
|
||||
.pinswg_lpaapplicationreference
|
||||
}
|
||||
</div>
|
||||
<div>
|
||||
<div className="cardModuleReference">
|
||||
<b>{t("myportal:appeal-type-label")}:</b>{" "}
|
||||
{router.locale == "cy"
|
||||
? jsonpath(
|
||||
@@ -184,7 +216,7 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
.pinswg_appealcasetype
|
||||
).value || ""}
|
||||
</div>
|
||||
<div className="carModuleAddress">
|
||||
<div className="cardModuleReference">
|
||||
<b>{t("myportal:case-address")}:</b>{" "}
|
||||
{_.isEmpty(showTopThreeArr)
|
||||
? t("myportal:case-address-not-entered")
|
||||
@@ -218,7 +250,7 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
</div>
|
||||
{showTopThreeArr[key].pinswg_appellantagent !=
|
||||
null && (
|
||||
<div>
|
||||
<div className="cardModuleReference">
|
||||
{showTopThreeArr[key]
|
||||
.pinswg_appellantagent !=
|
||||
846040000 && (
|
||||
@@ -244,7 +276,7 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
)}
|
||||
{showTopThreeArr[key].pinswg_appellantagent !=
|
||||
846040000 && (
|
||||
<div>
|
||||
<div className="cardModuleReference">
|
||||
<b>
|
||||
{t("myportal:on-behalf-of-label")}:{" "}
|
||||
</b>
|
||||
@@ -255,17 +287,21 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
.pinswg_appellantlastname}
|
||||
</div>
|
||||
)}
|
||||
{router.locale == "cy"
|
||||
? jsonpath(
|
||||
'$..[?(@.value=="' +
|
||||
showTopThreeArr[key][
|
||||
"pinswg_lpaname"
|
||||
] +
|
||||
'")].value_cy',
|
||||
transLookup
|
||||
)
|
||||
: showTopThreeArr[key]["pinswg_lpaname"] ||
|
||||
""}
|
||||
<div className="cardModuleReference">
|
||||
<b>LPA:</b>
|
||||
{router.locale == "cy"
|
||||
? jsonpath(
|
||||
'$..[?(@.value=="' +
|
||||
showTopThreeArr[key][
|
||||
"pinswg_lpaname"
|
||||
] +
|
||||
'")].value_cy',
|
||||
transLookup
|
||||
)
|
||||
: showTopThreeArr[key][
|
||||
"pinswg_lpaname"
|
||||
] || ""}
|
||||
</div>
|
||||
<div className="cardModuleReference">
|
||||
<b>{t("myportal:date-raised")}:</b>
|
||||
{" "}
|
||||
@@ -285,38 +321,6 @@ const AwaitingSubmissionFromBlob = (props) => {
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{!showTopThreeArr[key].hasOwnProperty(
|
||||
"appealComplete"
|
||||
) && (
|
||||
<div className="">
|
||||
<button
|
||||
title={t(
|
||||
"case:do-you-want-to-delete-case-label"
|
||||
)}
|
||||
className=" cardModuleRemoveCase govuk-link govuk-link--no-underline govuk-link--inverse "
|
||||
onClick={() => {
|
||||
confirm(
|
||||
t(
|
||||
"case:do-you-want-to-delete-case-label"
|
||||
) +
|
||||
showTopThreeArr[key]
|
||||
.ticketnumber +
|
||||
"?\n" +
|
||||
t(
|
||||
"case:do-you-want-to-delete-case-disclaimer-label"
|
||||
)
|
||||
) &&
|
||||
deleteCaseItem(
|
||||
props.containerID,
|
||||
showTopThreeArr[key]
|
||||
.ticketnumber
|
||||
);
|
||||
}}
|
||||
>
|
||||
—
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user