|
|
|
@@ -23,7 +23,7 @@ const BackgroundHead = { |
|
|
|
} |
|
|
|
import Loadable from 'components/Loadable'; |
|
|
|
import { useNavigate } from "react-router-dom"; |
|
|
|
import {getObjectByType} from "utils/CommonFunction"; |
|
|
|
import {getObjectByType, formatUserVerifiedStatus} from "utils/CommonFunction"; |
|
|
|
import * as ComboData from "utils/ComboData"; |
|
|
|
const LoadingComponent = Loadable(React.lazy(() => import('../../extra-pages/LoadingComponent'))); |
|
|
|
const UserInformationCard = Loadable(React.lazy(() => import('./UserInformationCard_Individual'))); |
|
|
|
@@ -76,7 +76,11 @@ const UserMaintainPage_Individual = () => { |
|
|
|
let modifiedBy = DateUtils.datetimeStr(response.data.modified) + ", " + response.data.modifiedBy; |
|
|
|
response.data["createDate"] = createDate; |
|
|
|
response.data["modifieDate"] = modifiedBy; |
|
|
|
response.data["verifiedStatus"] = response.data.verifiedBy ? DateUtils.datetimeStr(response.data.verifiedDate) + ", " + response.data.verifiedByName : "Not Verified"; |
|
|
|
response.data["verifiedStatus"] = formatUserVerifiedStatus( |
|
|
|
response.data, |
|
|
|
DateUtils.datetimeStr, |
|
|
|
intl.formatMessage |
|
|
|
); |
|
|
|
|
|
|
|
response.data["country"] = getObjectByType(ComboData.country, "type", response.data.address?.country); |
|
|
|
response.data["district"] = getObjectByType(ComboData.district, "type", response.data.address?.district); |
|
|
|
|