[Object Object] 표시 오류 수정: Intl.NumberFormat 사용

This commit is contained in:
Jay Sheen
2025-10-30 10:19:25 +09:00
parent 3dbd6b4dda
commit 2553aca4de
17 changed files with 47 additions and 47 deletions

View File

@@ -218,7 +218,7 @@ export const CashReceiptListPage = () => {
<div className="row">
<span className="label">{ t('cashReceipt.approval') }</span>
<strong className="amount22">
{t('home.money', { value: <NumericFormat value={ approvalAmount } thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(approvalAmount || 0) })}
</strong>
<span className="count">
<NumericFormat
@@ -233,7 +233,7 @@ export const CashReceiptListPage = () => {
<div className="row">
<span className="label">{ t('common.cancel') }</span>
<strong className="amount19">
{t('home.money', { value: <NumericFormat value={ cancelAmount } thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(cancelAmount || 0) })}
</strong>
<span className="count">
<NumericFormat