update bugs fix
This commit is contained in:
@@ -25,6 +25,7 @@ export type Claims = {
|
||||
payor_id: string;
|
||||
corporate_id: string;
|
||||
policy_number: string;
|
||||
benefit_desc: string;
|
||||
member: Member;
|
||||
benefit: Benefit | boolean;
|
||||
status: string;
|
||||
|
||||
@@ -5,6 +5,7 @@ export type Corporate = {
|
||||
code: string;
|
||||
name?: string;
|
||||
welcome_message?: string;
|
||||
payor_id: string;
|
||||
help_text?: string;
|
||||
logo?: any;
|
||||
logo_url?: string;
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
import { Corporate, Plan } from "./corporates";
|
||||
|
||||
export type Member = {
|
||||
id: string,
|
||||
member_id: string,
|
||||
@@ -18,4 +20,6 @@ export type Member = {
|
||||
relation_with_principal: string,
|
||||
bpjs_class: string,
|
||||
active: string,
|
||||
current_plan: Plan,
|
||||
current_corporate: Corporate,
|
||||
};
|
||||
|
||||
@@ -92,8 +92,8 @@ export default function List() {
|
||||
<Button
|
||||
variant="contained"
|
||||
startIcon={<Download />}
|
||||
onClick={() => handleGetData('DO')}
|
||||
sx={{ p: 1.8 }}
|
||||
onClick={handleGetData}
|
||||
>
|
||||
Export
|
||||
</Button>
|
||||
@@ -190,7 +190,7 @@ export default function List() {
|
||||
<TableCell align="left">{row.member?.current_corporate?.code}</TableCell>
|
||||
<TableCell align="left">{row.member?.current_corporate?.current_policy?.code}</TableCell>
|
||||
<TableCell align="left">{row.member?.member_id}</TableCell>
|
||||
<TableCell align="left">{row.benefit ? row.benefit?.description : '-'}</TableCell>
|
||||
<TableCell align="left">{row.benefit_desc}</TableCell>
|
||||
|
||||
<TableCell align="center">
|
||||
{row.status == 'draft' && (<Label color='secondary' variant='ghost'>{capitalizeFirstLetter(row.status)}</Label>)}
|
||||
|
||||
Reference in New Issue
Block a user