diff --git a/src/pages/transaction/history-transaction/blocks/DetailTransaction.tsx b/src/pages/transaction/history-transaction/blocks/DetailTransaction.tsx index 9ad9ed3..a812094 100644 --- a/src/pages/transaction/history-transaction/blocks/DetailTransaction.tsx +++ b/src/pages/transaction/history-transaction/blocks/DetailTransaction.tsx @@ -308,7 +308,11 @@ const DetailTransaction = () => {
Token KWh EDTL
- {edtl.tokenDec ?? "-"} + {(edtl.tokenDec ?? "-") + .match(/.{1,4}/g) // bagi per 4 karakter + ?.join(" ") // gabungkan dengan spasi + } +
Amount
++ {edtl.customerPaymentAmount != null + ? new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" }).format(edtl.customerPaymentAmount) + : "-"} +
+Provider Type