update reason
This commit is contained in:
@@ -10,7 +10,7 @@ import { LoadingButton } from '@mui/lab';
|
||||
import { Box, Button, Grid, Stack, Typography, Chip, Autocomplete } from '@mui/material';
|
||||
import { CorporateService } from '../../../../@types/corporates';
|
||||
// components
|
||||
import { FormProvider, RHFTextField, RHFSwitch } from '../../../../components/hook-form';
|
||||
import { FormProvider, RHFTextField, RHFSwitch, RHFSelect } from '../../../../components/hook-form';
|
||||
import axios from '../../../../utils/axios';
|
||||
import { LaravelPaginatedData } from '../../../../@types/paginated-data';
|
||||
|
||||
@@ -157,7 +157,16 @@ const DialogTopUpLimit = ({ title, openDialog, setOpenDialog, data }: MuiDialogP
|
||||
<Stack spacing={3}>
|
||||
<Box sx={{ width: '100%', typography: 'body1', p: 2, mt: 1 }}>
|
||||
<Grid item xs={12}>
|
||||
<RHFTextField name="reason" label="Reason for update" />
|
||||
<RHFSelect
|
||||
name="reason"
|
||||
label="Reason for update"
|
||||
>
|
||||
<option value=""></option>
|
||||
<option value="Agreement changed">Agreement changed</option>
|
||||
<option value="Endorsement">Endorsement</option>
|
||||
<option value="Renewal">Renewal</option>
|
||||
<option value="Worng Setting">Worng Setting</option>
|
||||
</RHFSelect>
|
||||
</Grid>
|
||||
|
||||
<Box sx={{ pt: 5 }}>
|
||||
|
||||
@@ -522,7 +522,17 @@ export default function CorporateForm({ isEdit, currentCorporate }: Props) {
|
||||
<RHFTextField name="payor_id" label="Payor ID" disabled={isDisabled} />
|
||||
|
||||
{isEdit && (
|
||||
<RHFTextField name="reason" label="Reason for update" />
|
||||
// <RHFTextField name="reason" label="Reason for update" />
|
||||
<RHFSelect
|
||||
name="reason"
|
||||
label="Reason for update"
|
||||
>
|
||||
<option value=""></option>
|
||||
<option value="Agreement changed">Agreement changed</option>
|
||||
<option value="Endorsement">Endorsement</option>
|
||||
<option value="Renewal">Renewal</option>
|
||||
<option value="Worng Setting">Worng Setting</option>
|
||||
</RHFSelect>
|
||||
)}
|
||||
|
||||
<Stack spacing={1}>
|
||||
|
||||
@@ -10,7 +10,7 @@ import { LoadingButton } from '@mui/lab';
|
||||
import { Box, Button, Grid, Stack, Typography, Chip, Autocomplete } from '@mui/material';
|
||||
import { CorporateService } from '../../../../@types/corporates';
|
||||
// components
|
||||
import { FormProvider, RHFTextField, RHFSwitch } from '../../../../components/hook-form';
|
||||
import { FormProvider, RHFTextField, RHFSwitch, RHFSelect } from '../../../../components/hook-form';
|
||||
import axios from '../../../../utils/axios';
|
||||
import { LaravelPaginatedData } from '../../../../@types/paginated-data';
|
||||
|
||||
@@ -157,7 +157,16 @@ const DialogTopUpLimit = ({ title, openDialog, setOpenDialog, data }: MuiDialogP
|
||||
<Stack spacing={3}>
|
||||
<Box sx={{ width: '100%', typography: 'body1', p: 2, mt: 1 }}>
|
||||
<Grid item xs={12}>
|
||||
<RHFTextField name="reason" label="Reason for update" />
|
||||
<RHFSelect
|
||||
name="reason"
|
||||
label="Reason for update"
|
||||
>
|
||||
<option value=""></option>
|
||||
<option value="Agreement changed">Agreement changed</option>
|
||||
<option value="Endorsement">Endorsement</option>
|
||||
<option value="Renewal">Renewal</option>
|
||||
<option value="Worng Setting">Worng Setting</option>
|
||||
</RHFSelect>
|
||||
</Grid>
|
||||
|
||||
<Box sx={{ pt: 5 }}>
|
||||
|
||||
@@ -10,7 +10,7 @@ import { LoadingButton } from '@mui/lab';
|
||||
import { Box, Button, Grid, Stack, Typography, Chip, Autocomplete } from '@mui/material';
|
||||
import { CorporateService } from '../../../../@types/corporates';
|
||||
// components
|
||||
import { FormProvider, RHFTextField, RHFSwitch } from '../../../../components/hook-form';
|
||||
import { FormProvider, RHFTextField, RHFSwitch, RHFSelect } from '../../../../components/hook-form';
|
||||
import axios from '../../../../utils/axios';
|
||||
import { LaravelPaginatedData } from '../../../../@types/paginated-data';
|
||||
|
||||
@@ -158,7 +158,16 @@ const DialogTopUpLimit = ({ title, openDialog, setOpenDialog, data }: MuiDialogP
|
||||
<Stack spacing={3}>
|
||||
<Box sx={{ width: '100%', typography: 'body1', p: 2, mt: 1 }}>
|
||||
<Grid item xs={12}>
|
||||
<RHFTextField name="reason" label="Reason for update" />
|
||||
<RHFSelect
|
||||
name="reason"
|
||||
label="Reason for update"
|
||||
>
|
||||
<option value=""></option>
|
||||
<option value="Agreement changed">Agreement changed</option>
|
||||
<option value="Endorsement">Endorsement</option>
|
||||
<option value="Renewal">Renewal</option>
|
||||
<option value="Worng Setting">Worng Setting</option>
|
||||
</RHFSelect>
|
||||
</Grid>
|
||||
|
||||
<Box sx={{ pt: 5 }}>
|
||||
|
||||
@@ -10,7 +10,7 @@ import { LoadingButton } from '@mui/lab';
|
||||
import { Box, Button, Grid, Stack, Typography, Chip, Autocomplete } from '@mui/material';
|
||||
import { CorporateService } from '../../../../@types/corporates';
|
||||
// components
|
||||
import { FormProvider, RHFTextField, RHFSwitch } from '../../../../components/hook-form';
|
||||
import { FormProvider, RHFTextField, RHFSwitch, RHFSelect } from '../../../../components/hook-form';
|
||||
import axios from '../../../../utils/axios';
|
||||
import { LaravelPaginatedData } from '../../../../@types/paginated-data';
|
||||
|
||||
@@ -158,7 +158,16 @@ const DialogTopUpLimit = ({ title, openDialog, setOpenDialog, data }: MuiDialogP
|
||||
<Stack spacing={3}>
|
||||
<Box sx={{ width: '100%', typography: 'body1', p: 2, mt: 1 }}>
|
||||
<Grid item xs={12}>
|
||||
<RHFTextField name="reason" label="Reason for update" />
|
||||
<RHFSelect
|
||||
name="reason"
|
||||
label="Reason for update"
|
||||
>
|
||||
<option value=""></option>
|
||||
<option value="Agreement changed">Agreement changed</option>
|
||||
<option value="Endorsement">Endorsement</option>
|
||||
<option value="Renewal">Renewal</option>
|
||||
<option value="Worng Setting">Worng Setting</option>
|
||||
</RHFSelect>
|
||||
</Grid>
|
||||
|
||||
<Box sx={{ pt: 5 }}>
|
||||
|
||||
Reference in New Issue
Block a user