uat defect 37
This commit is contained in:
@@ -219,7 +219,7 @@ const TopThree = (props) => {
|
||||
showTopThreeArr[key].appealType,
|
||||
"repDetails": showTopThreeArr[key],
|
||||
});
|
||||
isLPA && setRepresentationCapacity("lpa");
|
||||
isLPA && setRepresentationCapacity("LPA");
|
||||
}}
|
||||
>
|
||||
{showTopThreeArr[key].pinswg_name}
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
: "";
|
||||
|
||||
|
||||
@@ -219,6 +219,7 @@ export default async function handler(req, res) {
|
||||
repCapacity = "LO";
|
||||
break;
|
||||
case "lpa":
|
||||
case "LPA":
|
||||
repCapacity = "LPA";
|
||||
break;
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user