diff --git a/frontend/dashboard/src/@types/member.ts b/frontend/dashboard/src/@types/member.ts index 45bfc833..5abd8a7e 100644 --- a/frontend/dashboard/src/@types/member.ts +++ b/frontend/dashboard/src/@types/member.ts @@ -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: , }; diff --git a/frontend/dashboard/src/pages/Corporates/Member/List.tsx b/frontend/dashboard/src/pages/Corporates/Member/List.tsx index b6030f4f..5c30fb60 100644 --- a/frontend/dashboard/src/pages/Corporates/Member/List.tsx +++ b/frontend/dashboard/src/pages/Corporates/Member/List.tsx @@ -612,16 +612,22 @@ export default function CorporatePlanList({handleSubmitSuccess}) { {row.language ? row.language : '-'} - Email: - {row.email ? row.email : '-'} + Employee Status: + {row.employee_status ? row.employee_status: '-'} Race: {row.race ? row.race : '-'} + + + + Email: + {row.email ? row.email : '-'} + Relationship: + {row.relation_with_principal ? row.relation_with_principal : '-'} Phone Number: {row.person?.phone ? row.person?.phone : '-'} - Relationship: - {row.relation_with_principal ? row.relation_with_principal : '-'} + Claim History