Update Validasi

This commit is contained in:
2023-05-15 11:10:16 +07:00
parent 70b0d880fc
commit 342725ebcc
8 changed files with 231 additions and 26 deletions

View File

@@ -60,7 +60,8 @@ export default function RHFDatepicker({ name, ...other }: IProps & TextFieldProp
<DesktopDatePicker
value={field.value}
inputFormat="dd/MM/yyyy"
// inputFormat="dd/MM/yyyy"
inputFormat="yyyy-MM-dd"
onChange={(value) => {
field.onChange(value);
}}

View File

@@ -380,11 +380,11 @@ export default function CorporatePlanList() {
</TableCell>
<TableCell align="left">{row.member_id}</TableCell>
<TableCell align="left">{row.current_policy?.start}</TableCell>
<TableCell align="left">{row.members_effective_date}</TableCell>
<TableCell align="left">{row.name}</TableCell>
<TableCell align="left">{row.current_plan?.code}</TableCell>
<TableCell align="left">{row.current_policy?.start}</TableCell>
<TableCell align="left">{row.current_policy?.end}</TableCell>
<TableCell align="left">{row.activation_date}</TableCell>
<TableCell align="left">{row.terminated_date}</TableCell>
<TableCell align="center">
{row.active == 1 && (
<Button
@@ -471,7 +471,7 @@ export default function CorporatePlanList() {
: {row.gender ?? '-'}
</Grid>
<Grid item xs={6}>
Martial Status
Marital Status
</Grid>
<Grid item xs={6}>
: {row.marital_status ?? '-'}
@@ -488,6 +488,12 @@ export default function CorporatePlanList() {
<Grid item xs={6}>
: {row.race ?? '-'}
</Grid>
<Grid item xs={6}>
Relationship
</Grid>
<Grid item xs={6}>
: {row.relation_with_principal ?? '-'}
</Grid>
</Grid>
</Grid>
</Grid>