update dashboard

This commit is contained in:
wayanrivan
2025-06-04 16:52:52 +07:00
parent 4291bf85b1
commit ba786a8d45

View File

@ -80,28 +80,28 @@ const TransactionValue = ({ startdate, enddate }: Props) => {
type = "Withdrawal Agent"; type = "Withdrawal Agent";
break; break;
case 'O': case 'O':
type = 'TOP UP AGENT'; type = 'Top Up Agent';
break; break;
case 'S': case 'S':
type = 'TRANSFER P24'; type = 'Transfer P24';
break; break;
case 'I': case 'I':
type = 'WIJTDRAW MERCHANT'; type = 'Withdraw Merchant';
break; break;
case 'D': case 'D':
type = 'DONATION'; type = 'Donation';
break; break;
case 'F': case 'F':
type = 'FEE'; type = 'Fee';
break; break;
case 'V': case 'V':
type = 'REVERSAL'; type = 'Reversal';
break; break;
case 'C': case 'C':
type = 'CASHBACK CASH'; type = 'Cashback Cash';
break; break;
case 'H': case 'H':
type = 'CASHBACK POINT'; type = 'Cashback Point';
break; break;
default: default:
type = "Unknown"; type = "Unknown";
@ -136,7 +136,8 @@ const TransactionValue = ({ startdate, enddate }: Props) => {
></div> ></div>
</div> </div>
</div> </div>
<span className="w-14 text-right text-sm text-gray-700">{new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(item.value)}{item.unit}</span> <span className="w-24 text-right text-sm text-gray-700 break-words">
{new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD' }).format(item.value)}{item.unit}</span>
</div> </div>
))} ))}
</div> </div>