| @@ -269,10 +269,11 @@ const UserInformationCard_Individual_Pub = ({ formData, loadDataFun }) => { | |||||
| // </> | // </> | ||||
| <Stack direction="row"> | <Stack direction="row"> | ||||
| <Typography variant="h5" mt={1}> | <Typography variant="h5" mt={1}> | ||||
| {formik.values.identification.slice(0, 4)} | |||||
| {formik.values.identification?.slice(0, 4)} | |||||
| </Typography> | </Typography> | ||||
| <Typography variant="h5"mt={1}> | <Typography variant="h5"mt={1}> | ||||
| {showId ?formik.values.identification.slice(4):"****"}{showId ? '(' + formik.values.checkDigit + ')' :null} | |||||
| {/* {showId ?formik.values.identification.slice(4):"****"}{showId ? '(' + formik.values.checkDigit + ')' :null} */} | |||||
| {showId ? formik.values.identification?.slice(4) : "****"}{showId ? formik.values.checkDigit?'(' +formik.values.checkDigit+ ')': "()" : ""} | |||||
| </Typography> | </Typography> | ||||
| <IconButton | <IconButton | ||||
| aria-label="toggle id visibility" | aria-label="toggle id visibility" | ||||
| @@ -294,10 +295,10 @@ const UserInformationCard_Individual_Pub = ({ formData, loadDataFun }) => { | |||||
| // </Grid> | // </Grid> | ||||
| <Stack direction="row"> | <Stack direction="row"> | ||||
| <Typography variant="h5" mt={1}> | <Typography variant="h5" mt={1}> | ||||
| {formik.values.identification.slice(0, 4)} | |||||
| {formik.values.identification?.slice(0, 4)} | |||||
| </Typography> | </Typography> | ||||
| <Typography variant="h5"mt={1}> | <Typography variant="h5"mt={1}> | ||||
| {showId ?formik.values.identification.slice(4):"****"} | |||||
| {showId ?formik.values.identification?.slice(4):"****"} | |||||
| </Typography> | </Typography> | ||||
| <IconButton | <IconButton | ||||
| aria-label="toggle id visibility" | aria-label="toggle id visibility" | ||||