uat defect 37
This commit is contained in:
@@ -219,7 +219,7 @@ const TopThree = (props) => {
|
|||||||
showTopThreeArr[key].appealType,
|
showTopThreeArr[key].appealType,
|
||||||
"repDetails": showTopThreeArr[key],
|
"repDetails": showTopThreeArr[key],
|
||||||
});
|
});
|
||||||
isLPA && setRepresentationCapacity("lpa");
|
isLPA && setRepresentationCapacity("LPA");
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{showTopThreeArr[key].pinswg_name}
|
{showTopThreeArr[key].pinswg_name}
|
||||||
|
|||||||
@@ -113,7 +113,11 @@ export const other_pdf = ({ docProps }) => {
|
|||||||
|
|
||||||
let datestr = values.pinswg_name.split("-");
|
let datestr = values.pinswg_name.split("-");
|
||||||
let signedDate = formatDates(new Date()); // datestr[2] + "/" + datestr[1] + "/" + datestr[0];
|
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")
|
let filterFilesList = values.hasOwnProperty("filesList")
|
||||||
? values.filesList.filter(function (el) {
|
? values.filesList.filter(function (el) {
|
||||||
return el != null;
|
return el != null;
|
||||||
|
|||||||
@@ -64,7 +64,8 @@ export default async function ApiProxy(req, res) {
|
|||||||
: "";
|
: "";
|
||||||
|
|
||||||
queryString +=
|
queryString +=
|
||||||
_.has(searchString, "lpa") && searchString.lpa != null
|
(_.has(searchString, "lpa") || _.has(searchString, "LPA")) &&
|
||||||
|
searchString.lpa != null
|
||||||
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
|
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,8 @@ export default async function ApiProxy(req, res) {
|
|||||||
: "";
|
: "";
|
||||||
|
|
||||||
queryString +=
|
queryString +=
|
||||||
_.has(searchString, "lpa") && searchString.lpa != null
|
(_.has(searchString, "lpa") || _.has(searchString, "LPA")) &&
|
||||||
|
searchString.lpa != null
|
||||||
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
|
? " _pinswg_associatedlpa_value eq " + searchString.lpa + " and"
|
||||||
: "";
|
: "";
|
||||||
|
|
||||||
|
|||||||
@@ -219,6 +219,7 @@ export default async function handler(req, res) {
|
|||||||
repCapacity = "LO";
|
repCapacity = "LO";
|
||||||
break;
|
break;
|
||||||
case "lpa":
|
case "lpa":
|
||||||
|
case "LPA":
|
||||||
repCapacity = "LPA";
|
repCapacity = "LPA";
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -268,7 +268,7 @@ export const getServerSideProps = wrapper.getServerSideProps(
|
|||||||
? true
|
? true
|
||||||
: false;
|
: false;
|
||||||
|
|
||||||
//isLPA && store.dispatch(setRepresentationCapacity("lpa"));
|
//isLPA && store.dispatch(setRepresentationCapacity("LPA"));
|
||||||
|
|
||||||
if (query.hasOwnProperty("state")) {
|
if (query.hasOwnProperty("state")) {
|
||||||
console.log("is lpa?:", isLPA);
|
console.log("is lpa?:", isLPA);
|
||||||
|
|||||||
Reference in New Issue
Block a user