Update disbrusment hide dulu
This commit is contained in:
ivan-sim
2023-10-10 11:28:28 +07:00
parent b1a109cc89
commit ffdf5013fc
2 changed files with 7 additions and 7 deletions

View File

@@ -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,

View File

@@ -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,