@@ -39,6 +39,8 @@ const DocumentDetails = (props) => {
|
||||
const router = useRouter();
|
||||
const { locale } = router;
|
||||
|
||||
const appealType = props.currentView?.caseReference?.appealType;
|
||||
|
||||
var documentDetailsArr = documentDetailsObj || [];
|
||||
const { startDownload, getStatus } = useDownloadQueue(3);
|
||||
const [selectedOption, setSelectedOption] = useState(10);
|
||||
@@ -679,7 +681,12 @@ const DocumentDetails = (props) => {
|
||||
<h3>
|
||||
{showDocumentSearchState == false
|
||||
? t("case:documents-checking-label")
|
||||
: t("case:documents-non-available-label")}
|
||||
: appealType === 846040002 ||
|
||||
appealType === 846040011
|
||||
? t(
|
||||
"case:documents-non-available-app-label"
|
||||
)
|
||||
: t("case:documents-non-available-label")}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+11
-19
@@ -202,6 +202,10 @@ const CaseSummary = (props) => {
|
||||
return isEmail;
|
||||
};
|
||||
|
||||
const primaryId = getFormCollectionByID(
|
||||
appealTypeID || setCaseQueryObj.value[0].pinswg_appealcasetype
|
||||
).PrimaryIdAttribute;
|
||||
|
||||
const deleteItem = (caseID, topThreeType) => {
|
||||
let cookies = parseCookies();
|
||||
topThreeType == "watchedCases" &&
|
||||
@@ -603,28 +607,16 @@ const CaseSummary = (props) => {
|
||||
<dl className="govuk-summary-list govuk-!-margin-bottom-9">
|
||||
<div className="govuk-summary-list__row">
|
||||
<dt className="govuk-summary-list__key">
|
||||
{getFormCollectionByID(
|
||||
appealTypeID ||
|
||||
setCaseQueryObj.value[0]
|
||||
.pinswg_appealcasetype
|
||||
).PrimaryIdAttribute ==
|
||||
"pinswg_dnsid"
|
||||
{primaryId === "pinswg_dnsid" ||
|
||||
primaryId ===
|
||||
"pinswg_nonvalidationid" ||
|
||||
primaryId === "pinswg_sipscase"
|
||||
? t(
|
||||
"case:summary-applicantonly-label"
|
||||
)
|
||||
: getFormCollectionByID(
|
||||
appealTypeID ||
|
||||
setCaseQueryObj
|
||||
.value[0]
|
||||
.pinswg_appealcasetype
|
||||
).PrimaryIdAttribute ==
|
||||
"pinswg_nonvalidationid"
|
||||
? t(
|
||||
"case:summary-appellantonly-label"
|
||||
)
|
||||
: t(
|
||||
"case:summary-applicant-label"
|
||||
)}
|
||||
: t(
|
||||
"case:summary-appellantonly-label"
|
||||
)}
|
||||
</dt>
|
||||
<dd className="govuk-summary-list__value">
|
||||
{casesObj.pinswg_appellantagent ==
|
||||
|
||||
@@ -217,7 +217,9 @@ const Pinswg_sipscase = (props) => {
|
||||
}
|
||||
/>
|
||||
<SummaryRow
|
||||
label={"ES Submitted"}
|
||||
label={t(
|
||||
"case:summary-es-submitted-label"
|
||||
)}
|
||||
value={
|
||||
detailsObj.pinswg_essubmitted !==
|
||||
null
|
||||
@@ -237,9 +239,9 @@ const Pinswg_sipscase = (props) => {
|
||||
}
|
||||
/>
|
||||
<SummaryRow
|
||||
label={
|
||||
"Deemed Marine License Applied for"
|
||||
}
|
||||
label={t(
|
||||
"case:summary-deemed-marine-license-label"
|
||||
)}
|
||||
value={
|
||||
detailsObj.pinswg_deemedmarinelicenseappliedfor !==
|
||||
null
|
||||
|
||||
Reference in New Issue
Block a user