diff --git a/components/case/documents.js b/components/case/documents.js
index 31ef69aa..5acd729a 100644
--- a/components/case/documents.js
+++ b/components/case/documents.js
@@ -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) => {
{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")}
diff --git a/components/case/summary.js b/components/case/summary.js
index 41a5622b..e6c417de 100644
--- a/components/case/summary.js
+++ b/components/case/summary.js
@@ -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) => {
-
- {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"
+ )}
-
{casesObj.pinswg_appellantagent ==
diff --git a/components/case/summaryTypes/pinswg_sipscase.js b/components/case/summaryTypes/pinswg_sipscase.js
index d6b93376..7d43efeb 100644
--- a/components/case/summaryTypes/pinswg_sipscase.js
+++ b/components/case/summaryTypes/pinswg_sipscase.js
@@ -217,7 +217,9 @@ const Pinswg_sipscase = (props) => {
}
/>
{
}
/>