diff --git a/forms-flow-web/src/components/FOI/Dashboard/IAO/AdvancedSearch/DataGridAdvancedSearch.js b/forms-flow-web/src/components/FOI/Dashboard/IAO/AdvancedSearch/DataGridAdvancedSearch.js
index 8cd13422e..c5b84c935 100644
--- a/forms-flow-web/src/components/FOI/Dashboard/IAO/AdvancedSearch/DataGridAdvancedSearch.js
+++ b/forms-flow-web/src/components/FOI/Dashboard/IAO/AdvancedSearch/DataGridAdvancedSearch.js
@@ -12,7 +12,8 @@ import {
getReceivedDate,
// onBehalfFullName,
getRecordsDue,
- LightTooltip,
+ LightTooltip,
+ displayQueueFlagIcons,
} from "../../utils";
import { ActionContext } from "./ActionContext";
import {
@@ -97,6 +98,12 @@ const DataGridAdvancedSearch = ({ userDetail }) => {
const ProcessingTeamColumns = [
+ {
+ field: "flags",
+ headerName: "FLAGS",
+ headerAlign: "left",
+ renderCell: displayQueueFlagIcons,
+ },
{
field: "axisRequestId",
headerName: "ID NUMBER",
@@ -189,6 +196,12 @@ const DataGridAdvancedSearch = ({ userDetail }) => {
];
const IntakeTeamColumns = [
+ {
+ field: "flags",
+ headerName: "FLAGS",
+ headerAlign: "left",
+ renderCell: displayQueueFlagIcons,
+ },
{
field: "applicantName",
headerName: "APPLICANT NAME",
@@ -250,6 +263,12 @@ const DataGridAdvancedSearch = ({ userDetail }) => {
];
const FlexTeamColumns = [
+ {
+ field: "flags",
+ headerName: "FLAGS",
+ headerAlign: "left",
+ renderCell: displayQueueFlagIcons,
+ },
{
field: "axisRequestId",
headerName: "ID NUMBER",
diff --git a/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js b/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js
index feb5e61ee..2deb1f15f 100644
--- a/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js
+++ b/forms-flow-web/src/components/FOI/FOIRequest/FOIRequest.js
@@ -796,7 +796,7 @@ const FOIRequest = React.memo(({ userDetail }) => {
_status,
requestExtensions,
});
-
+
setRequestStatus(mappedBottomText);
};
@@ -1045,7 +1045,8 @@ const FOIRequest = React.memo(({ userDetail }) => {
- {bottomTextArray.length > 0 &&
+ {isOIPCReview && requestDetails.isreopened ? ""
+ : bottomTextArray.length > 0 &&
_requestStatus &&
_requestStatus.toLowerCase().includes("days") &&
bottomTextArray.map((text) => {
diff --git a/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/OIPCItem.jsx b/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/OIPCItem.jsx
index a9f772b0e..818845a9f 100644
--- a/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/OIPCItem.jsx
+++ b/forms-flow-web/src/components/FOI/FOIRequest/OIPCDetails/OIPCItem.jsx
@@ -183,7 +183,7 @@ const OIPCItem = (props) => {
InputLabelProps={{ shrink: true }}
InputProps={{inputProps: { max: formatDate(new Date())} }}
type="date"
- error={(!oipc.outcomeid || oipc.outcomeid === 5) && oipc.receiveddate === null}
+ error={(!oipc.outcomeid || oipc.outcomeid === 5) && oipc.receiveddate === null || oipc.receiveddate === ""}
required
disabled={oipc.outcomeid && oipc.outcomeid !== 5}
/>
@@ -360,15 +360,15 @@ const OIPCItem = (props) => {
handleInquiryFields(event.target.value, "COMPLYDATE")}
InputLabelProps={{ shrink: true }}
InputProps={{inputProps: { min: oipc.receiveddate ? formatDate(new Date(oipc.receiveddate)) : null } }}
type="date"
- error={(!oipc.outcomeid || oipc.outcomeid === 5) && oipc.inquiryattributes.inquirydate === null}
- required
+ error={oipc.inquiryattributes.orderno ? (!oipc.outcomeid || oipc.outcomeid === 5) && oipc.inquiryattributes.inquirydate === null || oipc.inquiryattributes.inquirydate === "" : false}
+ required={oipc.inquiryattributes.orderno}
disabled={oipc.outcomeid && oipc.outcomeid !== 5}
/>
@@ -380,8 +380,8 @@ const OIPCItem = (props) => {
value={oipc.inquiryattributes.orderno}
onChange = {(event) => handleInquiryFields(event.target.value, "ORDERNO")}
InputLabelProps={{ shrink: true }}
- error={(!oipc.outcomeid || oipc.outcomeid === 5) && oipc.inquiryattributes.orderno === ""}
- required
+ error={oipc.inquiryattributes.inquirydate ? (!oipc.outcomeid || oipc.outcomeid === 5) && oipc.inquiryattributes.orderno === "" : false}
+ required={oipc.inquiryattributes.inquirydate}
disabled={oipc.outcomeid && oipc.outcomeid !== 5}
placeholder="Order Number"
/>
@@ -394,9 +394,7 @@ const OIPCItem = (props) => {
onChange = {(event) => handleInquiryFields(event.target.value, "INQUIRYOUTCOME")}
fullWidth
value={oipc.inquiryattributes.inquiryoutcome ? oipc.inquiryattributes.inquiryoutcome : -1}
- label="Outcome"
- error={(!oipc.outcomeid || oipc.outcomeid === 5) && oipc.inquiryattributes.inquiryoutcome === null}
- required
+ label="Inquiry Outcome"
disabled={oipc.outcomeid && oipc.outcomeid !== 5}
>