통화 표기 방식 개선: t('home.money', { value }) 패턴으로 통일
This commit is contained in:
@@ -86,13 +86,7 @@ export const ArsDetailPage = () => {
|
||||
<div className="pay-top">
|
||||
<div className="num-amount">
|
||||
<span className="amount">
|
||||
<NumericFormat
|
||||
value={ detail?.amount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={i18n.language === 'en' ? t('home.currencySymbol') : ''}
|
||||
suffix={i18n.language === 'en' ? '' : t('home.currencyWon')}
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={ detail?.amount } thousandSeparator displayType="text" /> })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="num-store">{ detail?.corpName }</div>
|
||||
|
||||
@@ -86,13 +86,7 @@ export const FundAccountResultDetailPage = () => {
|
||||
<div className="pay-top">
|
||||
<div className="num-amount">
|
||||
<span className="amount">
|
||||
<NumericFormat
|
||||
value={detail?.amount}
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={i18n.language === 'en' ? t('home.currencySymbol') : ''}
|
||||
suffix={i18n.language === 'en' ? '' : t('home.currencyWon')}
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={detail?.amount} thousandSeparator displayType="text" /> })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="num-store">{detail?.accountName}({detail?.accountNo})</div>
|
||||
|
||||
@@ -79,13 +79,7 @@ export const FundAccountTransferDetailPage = () => {
|
||||
<div className="pay-top">
|
||||
<div className="num-amount">
|
||||
<span className="amount">
|
||||
<NumericFormat
|
||||
value={detail?.amount}
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={i18n.language === 'en' ? t('home.currencySymbol') : ''}
|
||||
suffix={i18n.language === 'en' ? '' : t('home.currencyWon')}
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={detail?.amount} thousandSeparator displayType="text" /> })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="num-store">{detail?.accountName}({detail?.accountNo})</div>
|
||||
|
||||
@@ -108,13 +108,7 @@ export const PayoutDetailPage = () => {
|
||||
<div className="pay-top">
|
||||
<div className="num-amount">
|
||||
<span className="amount">
|
||||
<NumericFormat
|
||||
value={ detail?.disbursementAmount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={i18n.language === 'en' ? t('home.currencySymbol') : ''}
|
||||
suffix={i18n.language === 'en' ? '' : t('home.currencyWon')}
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={ detail?.disbursementAmount } thousandSeparator displayType="text" /> })}
|
||||
</span>
|
||||
</div>
|
||||
<div className="num-store">{detail?.companyName}</div>
|
||||
|
||||
@@ -231,13 +231,7 @@ export const AllTransactionListPage = () => {
|
||||
<div className="summary-label">{t('transaction.searchAmount')}</div>
|
||||
<div className="summary-amount">
|
||||
<span className="amount-text">
|
||||
<NumericFormat
|
||||
value={ totalAmount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={i18n.language === 'en' ? t('home.currencySymbol') : ''}
|
||||
suffix={i18n.language === 'en' ? '' : t('home.currencyWon')}
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={ totalAmount } thousandSeparator displayType="text" /> })}
|
||||
</span>
|
||||
<div className="summary-actions">
|
||||
<button className="filter-btn">
|
||||
|
||||
@@ -218,13 +218,7 @@ export const CashReceiptListPage = () => {
|
||||
<div className="row">
|
||||
<span className="label">{ t('cashReceipt.approval') }</span>
|
||||
<strong className="amount22">
|
||||
<NumericFormat
|
||||
value={ approvalAmount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={ i18n.language === 'en' ? t('home.currencySymbol') : '' }
|
||||
suffix={ i18n.language === 'en' ? '' : t('home.currencyWon') }
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={ approvalAmount } thousandSeparator displayType="text" /> })}
|
||||
</strong>
|
||||
<span className="count">
|
||||
<NumericFormat
|
||||
@@ -239,13 +233,7 @@ export const CashReceiptListPage = () => {
|
||||
<div className="row">
|
||||
<span className="label">{ t('common.cancel') }</span>
|
||||
<strong className="amount19">
|
||||
<NumericFormat
|
||||
value={ cancelAmount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
prefix={ i18n.language === 'en' ? t('home.currencySymbol') : '' }
|
||||
suffix={ i18n.language === 'en' ? '' : t('home.currencyWon') }
|
||||
></NumericFormat>
|
||||
{t('home.money', { value: <NumericFormat value={ cancelAmount } thousandSeparator displayType="text" /> })}
|
||||
</strong>
|
||||
<span className="count">
|
||||
<NumericFormat
|
||||
|
||||
Reference in New Issue
Block a user