|
|
@@ -18,6 +18,8 @@ const UserInformationPubCard = Loadable(lazy(() => import('./UserInformationCard |
|
|
|
import ForwardIcon from '@mui/icons-material/Forward'; |
|
|
|
import titleBackgroundImg from 'assets/images/dashboard/gazette-bar.png' |
|
|
|
import { useNavigate } from 'react-router-dom'; |
|
|
|
import * as ComboData from "utils/ComboData"; |
|
|
|
import {getObjectByValue} from "utils/CommonFunction"; |
|
|
|
|
|
|
|
const BackgroundHead = { |
|
|
|
backgroundImage: `url(${titleBackgroundImg})`, |
|
|
@@ -124,9 +126,10 @@ const UserMaintainPage_Organization = () => { |
|
|
|
response.data["verifiedStatus"] = response.data.verifiedBy ? DateUtils.datetimeStr(response.data.verifiedDate) + ", " + response.data.verifiedByName : "Not verified"; |
|
|
|
|
|
|
|
response.data["lastLoginDate"] = response.data.lastLogin ? DateUtils.datetimeStr(response.data.lastLoginDate) : ""; |
|
|
|
|
|
|
|
response.data["country"] = response.data.addressBus?.country; |
|
|
|
response.data["district"] = response.data.addressBus?.district; |
|
|
|
// console.log(getObjectByValue(ComboData.country, "key", response.data.addressBus?.country)) |
|
|
|
// console.log(getObjectByValue(ComboData.country, "key", response.data.addressBus?.district)) |
|
|
|
response.data["country"] = getObjectByValue(ComboData.country, "key", response.data.addressBus?.country); |
|
|
|
response.data["district"] = getObjectByValue(ComboData.district, "key", response.data.addressBus?.district); |
|
|
|
response.data["addressLine1"] = response.data.addressBus?.addressLine1; |
|
|
|
response.data["addressLine2"] = response.data.addressBus?.addressLine2; |
|
|
|
response.data["addressLine3"] = response.data.addressBus?.addressLine3; |
|
|
@@ -182,7 +185,11 @@ const UserMaintainPage_Organization = () => { |
|
|
|
<Grid item xs={12}> |
|
|
|
<div style={BackgroundHead}> |
|
|
|
<Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> |
|
|
|
<Typography ml={15} color='#FFF' variant="h4">Maintain Organisation User</Typography> |
|
|
|
{isGLDLoggedIn()? |
|
|
|
<Typography ml={15} color='#FFF' variant="h4">Maintain Organisation User</Typography> |
|
|
|
: |
|
|
|
<Typography ml={15} color='#FFF' variant="h4">User Profile</Typography> |
|
|
|
} |
|
|
|
</Stack> |
|
|
|
</div> |
|
|
|
</Grid> |
|
|
|