-
-
+
+
+ 'auto'}
+ />
+
);
}
diff --git a/src/pages/Proof/Search_GLD/SearchForm.js b/src/pages/Proof/Search_GLD/SearchForm.js
index 1aab6af..3313fa4 100644
--- a/src/pages/Proof/Search_GLD/SearchForm.js
+++ b/src/pages/Proof/Search_GLD/SearchForm.js
@@ -10,11 +10,12 @@ import { useForm } from "react-hook-form";
import * as React from "react";
import * as ComboData from "utils/ComboData";
import * as DateUtils from "utils/DateUtils";
+import { Typography } from '../../../../node_modules/@mui/material/index';
// ==============================|| DASHBOARD - DEFAULT ||============================== //
-const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issueComboData
- }) => {
+const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, issueComboData
+}) => {
const [type, setType] = React.useState([]);
const [status, setStatus] = React.useState(ComboData.proofStatus[0]);
@@ -47,7 +48,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issu
contact: data.contact,
replyed: (status?.type && status?.type != 'all') ? status?.type : "",
orgId: (orgSelected?.key && orgSelected?.key > 0) ? orgSelected?.key : "",
-
+
};
applySearch(temp);
};
@@ -73,16 +74,16 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issu
reset();
}
- function getIssueLabel(data){
- if(data=={}) return "";
- return data.year
- +" Vol. "+zeroPad(data.volume,3)
- +", No. "+zeroPad(data.issueNo,2)
- +", "+DateUtils.dateFormat(data.issueDate, "D MMM YYYY (ddd)");
+ function getIssueLabel(data) {
+ if (data == {}) return "";
+ return data.year
+ + " Vol. " + zeroPad(data.volume, 3)
+ + ", No. " + zeroPad(data.issueNo, 2)
+ + ", " + DateUtils.dateFormat(data.issueDate, "D MMM YYYY (ddd)");
}
function zeroPad(num, places) {
- num=num?num:0;
+ num = num ? num : 0;
var zero = places - num.toString().length + 1;
return Array(+(zero > 0 && zero)).join("0") + num;
}
@@ -90,222 +91,227 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issu
return (
+ content={false}
+ sx={{ backgroundColor: 'backgroundColor.default' }}
+ >
diff --git a/src/pages/Proof/Search_GLD/index.js b/src/pages/Proof/Search_GLD/index.js
index dde3b21..f82694c 100644
--- a/src/pages/Proof/Search_GLD/index.js
+++ b/src/pages/Proof/Search_GLD/index.js
@@ -20,7 +20,7 @@ const BackgroundHead = {
backgroundImage: `url(${titleBackgroundImg})`,
width: '100%',
height: '100%',
- backgroundSize:'contain',
+ backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundColor: '#0C489E',
backgroundPosition: 'right'
@@ -30,12 +30,12 @@ const BackgroundHead = {
const UserSearchPage_Individual = () => {
- const [record,setRecord] = React.useState([]);
- const [orgCombo,setOrgCombo] = React.useState([]);
- const [issueCombo,setIssueCombo] = React.useState([]);
+ const [record, setRecord] = React.useState([]);
+ const [orgCombo, setOrgCombo] = React.useState([]);
+ const [issueCombo, setIssueCombo] = React.useState([]);
const [searchCriteria, setSearchCriteria] = React.useState({
dateTo: DateUtils.dateStr(new Date()),
- dateFrom: DateUtils.dateStr(new Date().setDate(new Date().getDate()-14)),
+ dateFrom: DateUtils.dateStr(new Date().setDate(new Date().getDate() - 14)),
});
const [onReady, setOnReady] = React.useState(false);
@@ -53,36 +53,36 @@ const UserSearchPage_Individual = () => {
getUserList();
}, [searchCriteria]);
- function getUserList(){
+ function getUserList() {
HttpUtils.get({
url: UrlUtils.LIST_PROOF,
params: searchCriteria,
- onSuccess: function(responseData){
+ onSuccess: function (responseData) {
setRecord(responseData);
}
});
}
- function getOrgCombo(){
+ function getOrgCombo() {
HttpUtils.get({
url: UrlUtils.GET_ORG_COMBO,
- onSuccess: function(responseData){
+ onSuccess: function (responseData) {
let combo = responseData;
setOrgCombo(combo);
}
});
}
- function getIssueCombo(){
+ function getIssueCombo() {
HttpUtils.get({
url: UrlUtils.GET_ISSUE_COMBO,
- onSuccess: function(responseData){
+ onSuccess: function (responseData) {
let combo = responseData;
setIssueCombo(combo);
}
});
}
-
+
function applySearch(input) {
setSearchCriteria(input);
@@ -90,9 +90,10 @@ const UserSearchPage_Individual = () => {
return (
!onReady ?
-
+
:
-
+
@@ -102,18 +103,19 @@ const UserSearchPage_Individual = () => {
{/*row 1*/}
-
{/*row 2*/}
-
+
+
- Create Proof
+ Create Proof
:
null
}
@@ -166,7 +166,7 @@ const ApplicationDetailCard = (
color="orange"
>
- Re-submit
+ Re-submit
> :
currentApplicationDetailData.status == "paid" ?
@@ -193,7 +193,7 @@ const ApplicationDetailCard = (
backgroundColor: '#52b202'
}}>
- Complete
+ Complete
> : null
}
@@ -213,7 +213,7 @@ const ApplicationDetailCard = (
: null
}
-
+
Application Details
-
-
+
+
);
};
diff --git a/src/pages/PublicNotice/Details_GLD/ClientDetailCard.js b/src/pages/PublicNotice/Details_GLD/ClientDetailCard.js
index 47b3feb..5145ed7 100644
--- a/src/pages/PublicNotice/Details_GLD/ClientDetailCard.js
+++ b/src/pages/PublicNotice/Details_GLD/ClientDetailCard.js
@@ -1,8 +1,8 @@
// material-ui
import {
- FormControl,
+ FormControl,
Button,
- Grid,
+ Grid,
// InputAdornment,
Typography, FormLabel,
OutlinedInput,
@@ -10,11 +10,11 @@ import {
} from '@mui/material';
import MainCard from "../../../components/MainCard";
import * as React from "react";
-import {useForm} from "react-hook-form";
+import { useForm } from "react-hook-form";
import {
useEffect,
useState
- } from "react";
+} from "react";
// import Checkbox from "@mui/material/Checkbox";
import Loadable from 'components/Loadable';
import { lazy } from 'react';
@@ -27,17 +27,17 @@ import HighlightOff from '@mui/icons-material/HighlightOff';
// ==============================|| DASHBOARD - DEFAULT ||============================== //
const ClientDetailCard = (
- { applicationDetailData,
+ { applicationDetailData,
// isCollectData,
// updateUserObject,
// isNewRecord
}
- ) => {
+) => {
// const params = useParams();
const [currentApplicationDetailData, setCurrentApplicationDetailData] = useState({});
- const [onReady,setOnReady] = useState(false);
- const [companyName, setCompanyName] = useState({enCompanyName:"",chCompanyName:""});
- const {register,
+ const [onReady, setOnReady] = useState(false);
+ const [companyName, setCompanyName] = useState({ enCompanyName: "", chCompanyName: "" });
+ const { register,
// getValues
} = useForm()
// const navigate = useNavigate()
@@ -46,12 +46,12 @@ const ClientDetailCard = (
//if user data from parent are not null
if (Object.keys(applicationDetailData).length > 0 && applicationDetailData !== undefined) {
setCurrentApplicationDetailData(applicationDetailData.userData);
- if (!applicationDetailData.companyName1==null){
+ if (!applicationDetailData.companyName1 == null) {
setCompanyName(applicationDetailData.companyName);
- }else{
- const companyNameData ={
- enCompanyName:applicationDetailData.userData.enCompanyName,
- chCompanyName:applicationDetailData.userData.chCompanyName
+ } else {
+ const companyNameData = {
+ enCompanyName: applicationDetailData.userData.enCompanyName,
+ chCompanyName: applicationDetailData.userData.chCompanyName
}
setCompanyName(companyNameData)
}
@@ -68,12 +68,12 @@ const ClientDetailCard = (
const handleViewClick = () => () => {
console.log(currentApplicationDetailData)
- currentApplicationDetailData.type == "ORG"?
- window.open('/orgUser/'+ currentApplicationDetailData.id, "_blank", "noreferrer"):
- window.open('/indUser/'+ currentApplicationDetailData.id, "_blank", "noreferrer");
+ currentApplicationDetailData.type == "ORG" ?
+ window.open('/orgUser/' + currentApplicationDetailData.id, "_blank", "noreferrer") :
+ window.open('/indUser/' + currentApplicationDetailData.id, "_blank", "noreferrer");
window.addEventListener("focus", onFocus)
};
-
+
const onFocus = () => {
window.removeEventListener("focus", onFocus)
location.reload();
@@ -91,15 +91,15 @@ const ClientDetailCard = (
return (
!onReady ?
-
+
:
+ border={false}
+ content={false}
+ sx={{ xs: "12", md: "7" }}>
-
-
- View
+
+ View
-
- Client Details
+
+ Client Details
);
diff --git a/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js b/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js
index 8ce5f4c..5ad79d0 100644
--- a/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js
+++ b/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js
@@ -124,7 +124,7 @@ const GazetteDetailCard = (
alignItems: 'end'
}}>
-
Gen Gazette Code
+
Gen Gazette Code
@@ -142,7 +142,7 @@ const GazetteDetailCard = (
- Issue Number:
+ Issue Number:
@@ -171,7 +171,7 @@ const GazetteDetailCard = (
- Gazette Code:
+ Gazette Code:
@@ -203,7 +203,7 @@ const GazetteDetailCard = (
- Issue Date:
+ Issue Date:
@@ -232,7 +232,7 @@ const GazetteDetailCard = (
- Group Title:
+ Group Title:
@@ -263,13 +263,13 @@ const GazetteDetailCard = (
diff --git a/src/pages/PublicNotice/Details_GLD/StatusChangeDialog.js b/src/pages/PublicNotice/Details_GLD/StatusChangeDialog.js
index ba3ae42..2c96ae6 100644
--- a/src/pages/PublicNotice/Details_GLD/StatusChangeDialog.js
+++ b/src/pages/PublicNotice/Details_GLD/StatusChangeDialog.js
@@ -45,25 +45,25 @@ const StatusChangeDialog = (props) => {
} else {
setDialogTitle("Action Confirm");
setPrositiveBtnText("Confirm");
- let str = "Are you sure you want to "+props.getStatus+" this application?"
+ let str = "Are you sure you want to " + props.getStatus + " this application?"
return getConfirmContent(str);
}
}, [props.getStatus]);
const acceptedHandle = () => () => {
const getStatus = props.getStatus.status;
- if(getStatus == "notAccepted"){
- if(!remarks || remarks=="" )
+ if (getStatus == "notAccepted") {
+ if (!remarks || remarks == "")
setHelperText("Please enter reason");
}
- if(!helperText){
- props.setReason({"reason": remarks});
- if (remarks!=null&&remarks!=""){
+ if (!helperText) {
+ props.setReason({ "reason": remarks });
+ if (remarks != null && remarks != "") {
console.log(remarks)
// props.setStatusWindowAccepted(true);
}
}
- if(getStatus != "notAccepted"){
+ if (getStatus != "notAccepted") {
props.setStatusWindowAccepted(true);
}
};
@@ -80,9 +80,9 @@ const StatusChangeDialog = (props) => {
const getConfirmContent = (text) => {
setContent(
-
- {text}
-
+
+ {text}
+
);
}
@@ -98,12 +98,12 @@ const StatusChangeDialog = (props) => {
inputProps={{ maxLength: 255 }}
placeholder="Please enter reason"
helperText={helperText}
- onChange={(newValues)=>{
+ onChange={(newValues) => {
setRemarks(newValues.target.value);
setHelperText("");
}}
>
-
+
);
@@ -115,11 +115,11 @@ const StatusChangeDialog = (props) => {
- Target Issue:
+ Target Issue:
- {props.gazetteIssue + ", "}{props.issueNum + ", "}{props.issueDate}
+ {props.gazetteIssue + ", "}{props.issueNum + ", "}{props.issueDate}
@@ -128,7 +128,7 @@ const StatusChangeDialog = (props) => {
- Gazette Group:
+ Gazette Group:
{
setComboInputValue(newValue);
props.setSelectedGazetteGroup(newValue);
formik.setFieldValue("", "")
- } else {gazetteGroup
+ } else {
+ gazetteGroup
props.setSelectedGazetteGroupInputType("");
}
}}
@@ -188,12 +189,16 @@ const StatusChangeDialog = (props) => {
diff --git a/src/pages/PublicNotice/Details_GLD/index.js b/src/pages/PublicNotice/Details_GLD/index.js
index 64211ab..237a8ed 100644
--- a/src/pages/PublicNotice/Details_GLD/index.js
+++ b/src/pages/PublicNotice/Details_GLD/index.js
@@ -299,7 +299,7 @@ const PublicNoticeDetail_GLD = () => {
}, [getUploadStatus]);
return (
-
+
{
-
+
-
-
+
+
{isLoading && editMode ?
:
{
}
-
-
+
+
{
/>
-
-
+
+
{
-
+
-
+
import('./StatusChangeDialog')));
+import KeyboardBackspaceOutlinedIcon from '@mui/icons-material/KeyboardBackspaceOutlined';
// ==============================|| Body - DEFAULT ||============================== //
@@ -46,7 +48,7 @@ const DashboardDefault = () => {
backgroundImage: `url(${titleBackgroundImg})`,
width: '100%',
height: '100%',
- backgroundSize:'contain',
+ backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundColor: '#0C489E',
backgroundPosition: 'right'
@@ -58,23 +60,23 @@ const DashboardDefault = () => {
}, []);
const loadApplicationDetail = () => {
- if(params.id > 0 ){
+ if (params.id > 0) {
axios.get(`${GET_PUBLIC_NOTICE_APPLY_DETAIL}/${params.id}`)
- .then((response) => {
- if (response.status === 200) {
- setApplicationDetailData(response.data);
- setAapNo(response.data.data.appNo);
- }
- })
- .catch(error => {
- console.log(error);
- return false;
- });
+ .then((response) => {
+ if (response.status === 200) {
+ setApplicationDetailData(response.data);
+ setAapNo(response.data.data.appNo);
+ }
+ })
+ .catch(error => {
+ console.log(error);
+ return false;
+ });
}
}
useEffect(() => {
- if(applicationDetailData.data === null){
+ if (applicationDetailData.data === null) {
navigate('/publicNotice');
}
}, [applicationDetailData]);
@@ -86,8 +88,8 @@ const DashboardDefault = () => {
};
useEffect(() => {
- if(statusWindowAccepted){
- if(getStatus == "cancel"){
+ if (statusWindowAccepted) {
+ if (getStatus == "cancel") {
onCancelledClick()
}
}
@@ -95,31 +97,31 @@ const DashboardDefault = () => {
useEffect(() => {
// console.log(getStatus)
- if(getStatus!==""){
+ if (getStatus !== "") {
setOpen(true)
}
}, [getStatus]);
const onCancelledClick = () => {
- if(params.id > 0 ){
- axios.get(`${SET_PUBLIC_NOTICE_STATUS_CANCELLED}/${params.id}`)
- .then((response) => {
- if (response.status === 204) {
- setOpen(false);
- handleClose();
- loadApplicationDetail()
- }
- })
- .catch(error => {
- console.log(error);
- return false;
- });
+ if (params.id > 0) {
+ axios.get(`${SET_PUBLIC_NOTICE_STATUS_CANCELLED}/${params.id}`)
+ .then((response) => {
+ if (response.status === 204) {
+ setOpen(false);
+ handleClose();
+ loadApplicationDetail()
+ }
+ })
+ .catch(error => {
+ console.log(error);
+ return false;
+ });
}
};
return (
-
-
+
+
@@ -128,33 +130,40 @@ const DashboardDefault = () => {
-
- 我的公共啟事 / {appNo}
-
+
+ 我的公共啟事 / {appNo}
+
+
+
+
+
{/* */}
- {/* */}
-
-
-
-
-
- {/*
+ {/* */}
+
+
+
+
+
+ {/*
*/}
- {/* */}
+ {/* */}
{/* */}
-
+
);
diff --git a/src/pages/PublicNotice/Search_GLD/DataGrid.js b/src/pages/PublicNotice/Search_GLD/DataGrid.js
index f6ad551..994f257 100644
--- a/src/pages/PublicNotice/Search_GLD/DataGrid.js
+++ b/src/pages/PublicNotice/Search_GLD/DataGrid.js
@@ -1,12 +1,13 @@
// material-ui
import * as React from 'react';
import {
- Button
+ Button,
+ Box
} from '@mui/material';
import * as DateUtils from "utils/DateUtils";
import * as StatusUtils from "utils/statusUtils/PublicNoteStatusUtils";
-import {useNavigate} from "react-router-dom";
-import {FiDataGrid} from "components/FiDataGrid";
+import { useNavigate } from "react-router-dom";
+import { FiDataGrid } from "components/FiDataGrid";
// ==============================|| EVENT TABLE ||============================== //
export default function SearchPublicNoticeTable({ recordList }) {
@@ -18,7 +19,7 @@ export default function SearchPublicNoticeTable({ recordList }) {
}, [recordList]);
const handleEditClick = (params) => () => {
- navigate('/application/'+ params.id);
+ navigate('/application/' + params.id);
};
@@ -36,7 +37,7 @@ export default function SearchPublicNoticeTable({ recordList }) {
id: 'status',
field: 'status',
headerName: 'Status',
- width: 150,
+ width: 175,
renderCell: (params) => {
return [StatusUtils.getStatusEng(params)]
},
@@ -56,7 +57,7 @@ export default function SearchPublicNoticeTable({ recordList }) {
headerName: 'Contact Person',
flex: 2,
renderCell: (params) => {
- let company = params.row.enCompanyName!= null ?" ("+(params.row.enCompanyName)+")":"";
+ let company = params.row.enCompanyName != null ? " (" + (params.row.enCompanyName) + ")" : "";
let phone = JSON.parse(params.row.contactTelNo);
let faxNo = JSON.parse(params.row.contactFaxNo);
@@ -84,7 +85,7 @@ export default function SearchPublicNoticeTable({ recordList }) {
headerName: 'Gazette Group',
flex: 1,
valueGetter: (params) => {
- return (params?.value)?(params?.value):"";
+ return (params?.value) ? (params?.value) : "";
}
},
{
@@ -94,37 +95,39 @@ export default function SearchPublicNoticeTable({ recordList }) {
flex: 1,
valueGetter: (params) => {
return params.row.issueYear
- +" Vol. "+zeroPad(params.row.issueVolume,3)
- +", No. "+zeroPad(params.row.issueNo,2)
- +", "+DateUtils.dateFormat(params.row.issueDate, "D MMM YYYY (ddd)");
+ + " Vol. " + zeroPad(params.row.issueVolume, 3)
+ + ", No. " + zeroPad(params.row.issueNo, 2)
+ + ", " + DateUtils.dateFormat(params.row.issueDate, "D MMM YYYY (ddd)");
}
},
];
function zeroPad(num, places) {
- num=num?num:0;
+ num = num ? num : 0;
var zero = places - num.toString().length + 1;
return Array(+(zero > 0 && zero)).join("0") + num;
}
function handleRowDoubleClick(params) {
// handleEditClick(params)
- navigate('/application/'+ params.id);
+ navigate('/application/' + params.id);
}
return (
-
-
-
+
+
+ 'auto'}
+ onRowDoubleClick={handleRowDoubleClick}
+ />
+
);
}
diff --git a/src/pages/PublicNotice/Search_GLD/SearchForm.js b/src/pages/PublicNotice/Search_GLD/SearchForm.js
index e0af8d2..1cc054a 100644
--- a/src/pages/PublicNotice/Search_GLD/SearchForm.js
+++ b/src/pages/PublicNotice/Search_GLD/SearchForm.js
@@ -3,18 +3,19 @@ import {
Button,
CardContent,
Grid, TextField,
- Autocomplete
+ Autocomplete,
+ Typography
} from '@mui/material';
import MainCard from "components/MainCard";
import { useForm } from "react-hook-form";
-import * as React from "react";
+import * as React from "react";
import * as ComboData from "utils/ComboData";
import * as DateUtils from "utils/DateUtils";
// ==============================|| DASHBOARD - DEFAULT ||============================== //
-const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issueComboData
- }) => {
+const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, issueComboData
+}) => {
const [type, setType] = React.useState([]);
// const [status, setStatus] = React.useState({ key: 0, label: 'All', type: 'all' });
@@ -28,7 +29,6 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issu
const [minDate, setMinDate] = React.useState(searchCriteria.dateFrom);
const [maxDate, setMaxDate] = React.useState(searchCriteria.dateTo);
-
const { reset, register, handleSubmit } = useForm()
const onSubmit = (data) => {
data.status = selectedLabelsString
@@ -71,16 +71,16 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issu
reset();
}
- function getIssueLabel(data){
- if(data=={}) return "";
- return data.year
- +" Vol. "+zeroPad(data.volume,3)
- +", No. "+zeroPad(data.issueNo,2)
- +", "+DateUtils.dateFormat(data.issueDate, "D MMM YYYY (ddd)");
+ function getIssueLabel(data) {
+ if (data == {}) return "";
+ return data.year
+ + " Vol. " + zeroPad(data.volume, 3)
+ + ", No. " + zeroPad(data.issueNo, 2)
+ + ", " + DateUtils.dateFormat(data.issueDate, "D MMM YYYY (ddd)");
}
function zeroPad(num, places) {
- num=num?num:0;
+ num = num ? num : 0;
var zero = places - num.toString().length + 1;
return Array(+(zero > 0 && zero)).join("0") + num;
}
@@ -88,83 +88,87 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria,issu
return (
+ content={false}
+ sx={{ backgroundColor: 'backgroundColor.default' }}
+ >
diff --git a/src/pages/PublicNotice/Search_GLD/index.js b/src/pages/PublicNotice/Search_GLD/index.js
index eace58b..d3e31ee 100644
--- a/src/pages/PublicNotice/Search_GLD/index.js
+++ b/src/pages/PublicNotice/Search_GLD/index.js
@@ -20,7 +20,7 @@ const BackgroundHead = {
backgroundImage: `url(${titleBackgroundImg})`,
width: '100%',
height: '100%',
- backgroundSize:'contain',
+ backgroundSize: 'contain',
backgroundRepeat: 'no-repeat',
backgroundColor: '#0C489E',
backgroundPosition: 'right'
@@ -30,12 +30,12 @@ const BackgroundHead = {
const UserSearchPage_Individual = () => {
- const [record,setRecord] = React.useState([]);
- const [orgCombo,setOrgCombo] = React.useState([]);
- const [issueCombo,setIssueCombo] = React.useState([]);
+ const [record, setRecord] = React.useState([]);
+ const [orgCombo, setOrgCombo] = React.useState([]);
+ const [issueCombo, setIssueCombo] = React.useState([]);
const [searchCriteria, setSearchCriteria] = React.useState({
dateTo: DateUtils.dateStr(new Date()),
- dateFrom: DateUtils.dateStr(new Date().setDate(new Date().getDate()-14)),
+ dateFrom: DateUtils.dateStr(new Date().setDate(new Date().getDate() - 14)),
});
const [onReady, setOnReady] = React.useState(false);
@@ -53,36 +53,36 @@ const UserSearchPage_Individual = () => {
getUserList();
}, [searchCriteria]);
- function getUserList(){
+ function getUserList() {
HttpUtils.get({
url: UrlUtils.GET_PUBLIC_NOTICE_LIST,
params: searchCriteria,
- onSuccess: function(responseData){
+ onSuccess: function (responseData) {
setRecord(responseData);
}
});
}
- function getOrgCombo(){
+ function getOrgCombo() {
HttpUtils.get({
url: UrlUtils.GET_ORG_COMBO,
- onSuccess: function(responseData){
+ onSuccess: function (responseData) {
let combo = responseData;
setOrgCombo(combo);
}
});
}
- function getIssueCombo(){
+ function getIssueCombo() {
HttpUtils.get({
url: UrlUtils.GET_ISSUE_COMBO,
- onSuccess: function(responseData){
+ onSuccess: function (responseData) {
let combo = responseData;
setIssueCombo(combo);
}
});
}
-
+
function applySearch(input) {
setSearchCriteria(input);
@@ -90,9 +90,9 @@ const UserSearchPage_Individual = () => {
return (
!onReady ?
-
+
:
-
+
@@ -102,18 +102,19 @@ const UserSearchPage_Individual = () => {
{/*row 1*/}
-
{/*row 2*/}
{
);
-};
-
+}
export default UserSearchPage_Individual;
diff --git a/src/pages/authentication/auth-forms/CustomFormWizard.js b/src/pages/authentication/auth-forms/CustomFormWizard.js
index 50f33d3..e73c819 100644
--- a/src/pages/authentication/auth-forms/CustomFormWizard.js
+++ b/src/pages/authentication/auth-forms/CustomFormWizard.js
@@ -816,7 +816,7 @@ const CustomFormWizard = (props) => {
-
+
({
lineHeight: 1.57
},
subtitle2: {
- fontSize: '0.8rem',
+ fontSize: '0.9rem',
fontWeight: 500,
lineHeight: 1.66
},
@@ -84,9 +84,9 @@ const Typography = (fontFamily) => ({
overline: {
lineHeight: 1.66
},
- button: {
- textTransform: 'capitalize'
- }
+ button: {
+ textTransform: 'capitalize',
+ },
});
export default Typography;
\ No newline at end of file
diff --git a/src/utils/statusUtils/Base.js b/src/utils/statusUtils/Base.js
index d7791ca..60d03cb 100644
--- a/src/utils/statusUtils/Base.js
+++ b/src/utils/statusUtils/Base.js
@@ -1,6 +1,7 @@
+import { Typography } from "@mui/material"
export function getStatusTag({ color = "#000", textColor = "#FFF", text = "" }) {
return (
- {text}
+ {text}
)
}
\ No newline at end of file