This commit is contained in:
2024-01-05 17:11:50 +07:00
parent 251c8509be
commit f410b547db
2 changed files with 20 additions and 7 deletions

View File

@@ -1,9 +1,9 @@
// ----------------------------------------------------------------------
import { Corporate, Plan } from "./corporates";
import { Corporate, Plan, Policy } from "./corporates";
export type Member = {
id: string,
id: number,
member_id: string,
record_type: string,
payor_id: string,
@@ -19,8 +19,15 @@ export type Member = {
principal_id: string,
relation_with_principal: string,
bpjs_class: string,
active: string,
active: number,
current_plans: Plan,
current_corporate: Corporate,
full_name: string,
members_effective_date: string,
activation_date: string,
current_policy: Policy,
nric: string,
employee_status: string,
email: string,
// person: ,
};

View File

@@ -612,16 +612,22 @@ export default function CorporatePlanList({handleSubmitSuccess}) {
<Typography variant='body2' sx={{width: '25%'}}>{row.language ? row.language : '-'}</Typography>
</Stack>
<Stack direction='row' spacing={1}>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Email:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.email ? row.email : '-'}</Typography>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Employee Status:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.employee_status ? row.employee_status: '-'}</Typography>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Race:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.race ? row.race : '-'}</Typography>
</Stack>
<Stack direction='row' spacing={1}>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Email:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.email ? row.email : '-'}</Typography>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Relationship:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.relation_with_principal ? row.relation_with_principal : '-'}</Typography>
</Stack>
<Stack direction='row' spacing={1}>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Phone Number:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.person?.phone ? row.person?.phone : '-'}</Typography>
<Typography variant='body2' sx={{color: style1.color, width: '25%'}}>Relationship:</Typography>
<Typography variant='body2' sx={{width: '25%'}}>{row.relation_with_principal ? row.relation_with_principal : '-'}</Typography>
</Stack>
</Stack>
<Typography variant='subtitle1' marginTop={2}>Claim History</Typography>