LMSN-213
Update disbrusment hide dulu
This commit is contained in:
@@ -43,11 +43,11 @@ export default function Drugs() {
|
||||
value: claimStatus.data.data.approveds,
|
||||
color: '#229A16',
|
||||
},
|
||||
{
|
||||
name: 'Disbrusment',
|
||||
value: claimStatus.data.data.disbrusments,
|
||||
color: '#BF6919',
|
||||
},
|
||||
// {
|
||||
// name: 'Disbrusment',
|
||||
// value: claimStatus.data.data.disbrusments,
|
||||
// color: '#BF6919',
|
||||
// },
|
||||
{
|
||||
name: 'Decline',
|
||||
value: claimStatus.data.data.rejecteds,
|
||||
|
||||
@@ -30,7 +30,7 @@ const RootStyle = styled(Card)(({ theme }) => ({
|
||||
const defaultData = [
|
||||
{ name: 'Requested', value: 5, color: palette.dark.primary.dark },
|
||||
{ name: 'Approval', value: 1, color: palette.dark.warning.dark },
|
||||
{ name: 'Disbrusment', value: 0, color: palette.dark.success.dark },
|
||||
//{ name: 'Disbrusment', value: 0, color: palette.dark.success.dark },
|
||||
{ name: 'Rejected', value: 3, color: palette.dark.error.dark },
|
||||
];
|
||||
|
||||
@@ -45,7 +45,7 @@ export default function CardClaimStatus({ data }: PropsCardClaimStatus) {
|
||||
<Grid container spacing={2}>
|
||||
{data
|
||||
? data.map(({ name, value, color }: ClaimStatusType, key) => (
|
||||
<Grid item key={key} xs={12} sm={3}>
|
||||
<Grid item key={key} xs={12} sm={4}>
|
||||
<Card
|
||||
sx={{
|
||||
paddingX: 1,
|
||||
|
||||
Reference in New Issue
Block a user