import CardContent from '@mui/material/CardContent' import Card from '@mui/material/Card' import { Form, Formik, Field as FormikField } from 'formik' import * as R from 'ramda' import { useState, React, useRef } from 'react' import ErrorMessage from 'src/components/ErrorMessage' import PromptWhenDirty from 'src/components/PromptWhenDirty' import { MainStatus } from 'src/components/Status' import { Label1, P, H3 } from 'src/components/typography' import EditIcon from 'src/styling/icons/action/edit/enabled.svg?react' import EditReversedIcon from 'src/styling/icons/action/edit/white.svg?react' import AuthorizeIcon from 'src/styling/icons/button/authorize/white.svg?react' import BlockIcon from 'src/styling/icons/button/block/white.svg?react' import CancelReversedIcon from 'src/styling/icons/button/cancel/white.svg?react' import DataReversedIcon from 'src/styling/icons/button/data/white.svg?react' import DataIcon from 'src/styling/icons/button/data/zodiac.svg?react' import ReplaceReversedIcon from 'src/styling/icons/button/replace/white.svg?react' import SaveReversedIcon from 'src/styling/icons/circle buttons/save/white.svg?react' import { ActionButton } from 'src/components/buttons' import { OVERRIDE_REJECTED, OVERRIDE_PENDING } from 'src/pages/Customers/components/consts' const ReadOnlyField = ({ field, value }) => { return (
{value}