From 2553aca4de4fc6058a75b426c9ed788cd212b13a Mon Sep 17 00:00:00 2001 From: Jay Sheen Date: Thu, 30 Oct 2025 10:19:25 +0900 Subject: [PATCH] =?UTF-8?q?[Object=20Object]=20=ED=91=9C=EC=8B=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95:=20Intl.NumberFormat=20?= =?UTF-8?q?=EC=82=AC=EC=9A=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ui/info-wrap/title-info-wrap.tsx | 4 ++-- .../additional-service/ui/list-item.tsx | 10 ++++----- .../home/ui/day-status-box-container1.tsx | 6 ++--- .../home/ui/day-status-box-container2.tsx | 8 +++---- .../ui/no-interest-info-bottom-sheet.tsx | 2 +- .../ui/info-wrap/amount-info-wrap.tsx | 22 +++++++++---------- src/entities/settlement/ui/list-item.tsx | 2 +- src/entities/settlement/ui/list-wrap.tsx | 2 +- .../ui/list-detail-bottom-sheet.tsx | 16 +++++++------- src/entities/vat-return/ui/list-item.tsx | 2 +- .../vat-return/ui/section/amount-section.tsx | 6 ++--- .../additional-service/ars/detail-page.tsx | 2 +- .../fund-account/result-detail-page.tsx | 2 +- .../fund-account/transfer-detail-page.tsx | 2 +- .../additional-service/payout/detail-page.tsx | 2 +- .../transaction/all-transaction/list-page.tsx | 2 +- .../transaction/cash-receipt/list-page.tsx | 4 ++-- 17 files changed, 47 insertions(+), 47 deletions(-) diff --git a/src/entities/additional-service/ui/info-wrap/title-info-wrap.tsx b/src/entities/additional-service/ui/info-wrap/title-info-wrap.tsx index fd5b79a..ee8c4bb 100644 --- a/src/entities/additional-service/ui/info-wrap/title-info-wrap.tsx +++ b/src/entities/additional-service/ui/info-wrap/title-info-wrap.tsx @@ -47,7 +47,7 @@ export const TitleInfoWrap = ({ <>
- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(titleInfo?.amount || 0) })}
{titleInfo?.corpName}
@@ -59,7 +59,7 @@ export const TitleInfoWrap = ({ <>
- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(titleInfo?.amount || 0) })}
{titleInfo?.corpName}
diff --git a/src/entities/additional-service/ui/list-item.tsx b/src/entities/additional-service/ui/list-item.tsx index 0ea5979..0852721 100644 --- a/src/entities/additional-service/ui/list-item.tsx +++ b/src/entities/additional-service/ui/list-item.tsx @@ -557,7 +557,7 @@ export const ListItem = ({ else if (additionalServiceCategory === AdditionalServiceCategory.KeyInPayment) { rs.push(
- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
); } @@ -566,7 +566,7 @@ export const ListItem = ({ ) { rs.push(
- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
); } @@ -576,7 +576,7 @@ export const ListItem = ({ key="payout-item-amount" className="transaction-amount" > - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })} ); } @@ -588,7 +588,7 @@ export const ListItem = ({ key="fund-account-transfer-amount" className="transaction-amount" > - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })} ); } @@ -598,7 +598,7 @@ export const ListItem = ({ key="payout-item-amount" className="transaction-amount" > - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })} ); } diff --git a/src/entities/home/ui/day-status-box-container1.tsx b/src/entities/home/ui/day-status-box-container1.tsx index 0b7b0e2..b9ef7d6 100644 --- a/src/entities/home/ui/day-status-box-container1.tsx +++ b/src/entities/home/ui/day-status-box-container1.tsx @@ -71,7 +71,7 @@ export const BoxContainer1 = () => {

{t('home.todaySales')}

- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(sales?.todayTotalAmount || 0) })} = 0)? 'plus': 'minus'}` }> {

{t('home.todaySettlement')}

- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlement?.todaySettlementAmount || 0) })} {t('home.depositCompleted')} @@ -150,7 +150,7 @@ export const BoxContainer1 = () => {
{t('home.remainingSettlementLimit')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlement?.availableCredit || 0) })}
diff --git a/src/entities/home/ui/day-status-box-container2.tsx b/src/entities/home/ui/day-status-box-container2.tsx index 2202729..9a24894 100644 --- a/src/entities/home/ui/day-status-box-container2.tsx +++ b/src/entities/home/ui/day-status-box-container2.tsx @@ -112,7 +112,7 @@ export const BoxContainer2 = () => {

{t('home.totalSales')}

- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(sales?.currentMonthAmount || 0) })} = 0)? 'plus': 'minus'}` }> {

{t('home.totalSettlement')}

- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlement?.currentMonthSettlementAmount || 0) })} = 0)? 'plus': 'minus'}` }> {

{t('home.averageTransactionAmount')}

- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(averageTransactionAmount || 0) })}
@@ -174,7 +174,7 @@ export const BoxContainer2 = () => {

{t('home.dailyAverageSalesAndCount')}

- {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(dailyAverageSales || 0) })} ( {t('payment.applicationAmount')} : - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(value.applicationAmount || 0) })}
diff --git a/src/entities/settlement/ui/info-wrap/amount-info-wrap.tsx b/src/entities/settlement/ui/info-wrap/amount-info-wrap.tsx index ba32867..0af3e0e 100644 --- a/src/entities/settlement/ui/info-wrap/amount-info-wrap.tsx +++ b/src/entities/settlement/ui/info-wrap/amount-info-wrap.tsx @@ -22,7 +22,7 @@ export const AmountInfoWrap = ({
  • {t('settlement.totalTransactionAmount')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.totalTransactionAmount || 0) })} ·  {t('settlement.creditCard')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.creditCardAmount || 0) })} ·  {t('settlement.accountTransfer')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.accountTransferAmount || 0) })} {t('settlement.transactionAmount')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.transactionAmount || 0) })}
  • {t('settlement.paymentFee')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.paymentFee || 0) })}
  • {t('settlement.escrowFee')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.escrowFee || 0) })}
  • {t('settlement.authFee')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.authFee || 0) })}
  • VAT - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.vatFee || 0) })}
  • {t('settlement.expectedSettlementAmount')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.settlementAmount || 0) })}
  • {t('settlement.preSettlementCancelOffset')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.preSettlementCancelOffset || 0) })}
  • {t('settlement.settlementAmount')} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amountInfo?.finalSettlementAmount || 0) })}
  • diff --git a/src/entities/settlement/ui/list-item.tsx b/src/entities/settlement/ui/list-item.tsx index 72030f5..b1568f6 100644 --- a/src/entities/settlement/ui/list-item.tsx +++ b/src/entities/settlement/ui/list-item.tsx @@ -65,7 +65,7 @@ export const ListItem = ({ }
    - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlementAmount || transactionAmount || 0) })}
    diff --git a/src/entities/settlement/ui/list-wrap.tsx b/src/entities/settlement/ui/list-wrap.tsx index 471dee8..0f2b8cb 100644 --- a/src/entities/settlement/ui/list-wrap.tsx +++ b/src/entities/settlement/ui/list-wrap.tsx @@ -391,7 +391,7 @@ export const ListWrap = ({
    {t('settlement.settlementAmount')}
    - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(settlementAmount || 0) })}
    @@ -105,7 +105,7 @@ export const VatReturnListDetailBottomSheet = ({ { value.transactionDate? moment(value.transactionDate).format('YYYY-MM-DD'): '' }
    - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(value.totalAmount || 0) })}
    - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(value.transactionAmount || 0) })} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(value.supplyAmount || 0) })} - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(value.vatAmount || 0) })}
    diff --git a/src/entities/vat-return/ui/list-item.tsx b/src/entities/vat-return/ui/list-item.tsx index aa52b58..955f429 100644 --- a/src/entities/vat-return/ui/list-item.tsx +++ b/src/entities/vat-return/ui/list-item.tsx @@ -42,7 +42,7 @@ export const ListItem = ({
    - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(amount || 0) })}
    diff --git a/src/entities/vat-return/ui/section/amount-section.tsx b/src/entities/vat-return/ui/section/amount-section.tsx index d752c27..0862d5a 100644 --- a/src/entities/vat-return/ui/section/amount-section.tsx +++ b/src/entities/vat-return/ui/section/amount-section.tsx @@ -37,7 +37,7 @@ export const AmountSection = ({
    - {t('home.money', { value: })} + {t('home.money', { value: new Intl.NumberFormat('en-US').format(detail.totalAmount || 0) })}