diff --git a/src/pages/dashboards/home/blocks/TransactionValue.tsx b/src/pages/dashboards/home/blocks/TransactionValue.tsx index 97f1fc8..d88151e 100644 --- a/src/pages/dashboards/home/blocks/TransactionValue.tsx +++ b/src/pages/dashboards/home/blocks/TransactionValue.tsx @@ -79,29 +79,29 @@ const TransactionValue = ({ startdate, enddate }: Props) => { case "M": type = "Withdrawal Agent"; break; - case 'O': - type = 'TOP UP AGENT'; + case 'O': + type = 'Top Up Agent'; break; - case 'S': - type = 'TRANSFER P24'; + case 'S': + type = 'Transfer P24'; break; - case 'I': - type = 'WIJTDRAW MERCHANT'; + case 'I': + type = 'Withdraw Merchant'; break; - case 'D': - type = 'DONATION'; + case 'D': + type = 'Donation'; break; - case 'F': - type = 'FEE'; + case 'F': + type = 'Fee'; break; - case 'V': - type = 'REVERSAL'; + case 'V': + type = 'Reversal'; break; - case 'C': - type = 'CASHBACK CASH'; + case 'C': + type = 'Cashback Cash'; break; - case 'H': - type = 'CASHBACK POINT'; + case 'H': + type = 'Cashback Point'; break; default: type = "Unknown"; @@ -136,7 +136,8 @@ const TransactionValue = ({ startdate, enddate }: Props) => { > - {new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(item.value)}{item.unit} + + {new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(item.value)}{item.unit} ))}