uat defect 37

This commit is contained in:
2025-01-13 16:21:33 +00:00
parent 8509450ac0
commit 8ed6921804
6 changed files with 12 additions and 5 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ const TopThree = (props) => {
showTopThreeArr[key].appealType,
"repDetails": showTopThreeArr[key],
});
isLPA && setRepresentationCapacity("lpa");
isLPA && setRepresentationCapacity("LPA");
}}
>
{showTopThreeArr[key].pinswg_name}
+5 -1
View File
@@ -113,7 +113,11 @@ export const other_pdf = ({ docProps }) => {
let datestr = values.pinswg_name.split("-");
let signedDate = formatDates(new Date()); // datestr[2] + "/" + datestr[1] + "/" + datestr[0];
const isLPA = values.representationCapacity == "lpa" ? true : false;
const isLPA =
values.representationCapacity == "lpa" ||
values.representationCapacity == "LPA"
? true
: false;
let filterFilesList = values.hasOwnProperty("filesList")
? values.filesList.filter(function (el) {
return el != null;
+2 -1
View File
@@ -64,7 +64,8 @@ export default async function ApiProxy(req, res) {
: "";
queryString +=
_.has(searchString, "lpa") && searchString.lpa != null
(_.has(searchString, "lpa") || _.has(searchString, "LPA")) &&
searchString.lpa != null
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
: "";
@@ -99,7 +99,8 @@ export default async function ApiProxy(req, res) {
: "";
queryString +=
_.has(searchString, "lpa") && searchString.lpa != null
(_.has(searchString, "lpa") || _.has(searchString, "LPA")) &&
searchString.lpa != null
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
: "";
+1
View File
@@ -219,6 +219,7 @@ export default async function handler(req, res) {
repCapacity = "LO";
break;
case "lpa":
case "LPA":
repCapacity = "LPA";
break;
+1 -1
View File
@@ -268,7 +268,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
? true
: false;
//isLPA && store.dispatch(setRepresentationCapacity("lpa"));
//isLPA && store.dispatch(setRepresentationCapacity("LPA"));
if (query.hasOwnProperty("state")) {
console.log("is lpa?:", isLPA);