[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

@@ -86,7 +86,7 @@ export const ArsDetailPage = () => {
<div className="pay-top">
<div className="num-amount">
<span className="amount">
{t('home.money', { value: <NumericFormat value={ detail?.amount } thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(detail?.amount || 0) })}
</span>
</div>
<div className="num-store">{ detail?.corpName }</div>

View File

@@ -86,7 +86,7 @@ export const FundAccountResultDetailPage = () => {
<div className="pay-top">
<div className="num-amount">
<span className="amount">
{t('home.money', { value: <NumericFormat value={detail?.amount} thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(detail?.amount || 0) })}
</span>
</div>
<div className="num-store">{detail?.accountName}({detail?.accountNo})</div>

View File

@@ -79,7 +79,7 @@ export const FundAccountTransferDetailPage = () => {
<div className="pay-top">
<div className="num-amount">
<span className="amount">
{t('home.money', { value: <NumericFormat value={detail?.amount} thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(detail?.amount || 0) })}
</span>
</div>
<div className="num-store">{detail?.accountName}({detail?.accountNo})</div>

View File

@@ -108,7 +108,7 @@ export const PayoutDetailPage = () => {
<div className="pay-top">
<div className="num-amount">
<span className="amount">
{t('home.money', { value: <NumericFormat value={ detail?.disbursementAmount } thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(detail?.disbursementAmount || 0) })}
</span>
</div>
<div className="num-store">{detail?.companyName}</div>

View File

@@ -231,7 +231,7 @@ export const AllTransactionListPage = () => {
<div className="summary-label">{t('transaction.searchAmount')}</div>
<div className="summary-amount">
<span className="amount-text">
{t('home.money', { value: <NumericFormat value={ totalAmount } thousandSeparator displayType="text" /> })}
{t('home.money', { value: new Intl.NumberFormat('en-US').format(totalAmount || 0) })}
</span>
<div className="summary-actions">
<button className="filter-btn">

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