수정
This commit is contained in:
@@ -219,7 +219,21 @@ export const AmountInfoSection = ({
|
||||
}
|
||||
{ (transactionCategory === TransactionCategory.CashReceipt) &&
|
||||
<NumericFormat
|
||||
value={ amountInfo?.amount}
|
||||
value={ amountInfo?.amount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
}
|
||||
{ (transactionCategory === TransactionCategory.Escrow) &&
|
||||
<NumericFormat
|
||||
value={ amountInfo?.approvalRequestAmount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
}
|
||||
{ (transactionCategory === TransactionCategory.Billing) &&
|
||||
<NumericFormat
|
||||
value={ amountInfo?.transactionAmount }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -248,7 +262,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.supplyAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.supplyAmount }
|
||||
value={ amountInfo?.supplyAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -258,7 +272,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.vat')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.vat }
|
||||
value={ amountInfo?.vat || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -268,7 +282,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.serviceAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.serviceAmount }
|
||||
value={ amountInfo?.serviceAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -278,7 +292,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.taxFreeAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.taxFreeAmount }
|
||||
value={ amountInfo?.taxFreeAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -293,7 +307,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.transactionAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.transactionAmount }
|
||||
value={ amountInfo?.transactionAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -306,7 +320,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.cardAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.cardAmount }
|
||||
value={ amountInfo?.cardAmount || 0}
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -316,7 +330,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.pointAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.pointAmount }
|
||||
value={ amountInfo?.pointAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -326,7 +340,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.couponAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.couponAmount }
|
||||
value={ amountInfo?.couponAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -339,7 +353,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.escrowFee')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.escrowFee }
|
||||
value={ amountInfo?.escrowFee || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -354,7 +368,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.kakaoMoneyAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.multiPointAmount }
|
||||
value={ amountInfo?.multiPointAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -364,7 +378,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.kakaoPointAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.multiCouponAmount }
|
||||
value={ amountInfo?.multiCouponAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -374,7 +388,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.kakaoDiscountAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.kakaoDiscountAmount }
|
||||
value={ amountInfo?.kakaoDiscountAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -387,7 +401,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.naverPointAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.multiPointAmount }
|
||||
value={ amountInfo?.multiPointAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -400,7 +414,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.tossMoneyAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.multiPointAmount }
|
||||
value={ amountInfo?.multiPointAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -410,7 +424,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.tossDiscountAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.tossDiscountAmount }
|
||||
value={ amountInfo?.tossDiscountAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -424,7 +438,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.paycoPointAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.multiPointAmount }
|
||||
value={ amountInfo?.multiPointAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
@@ -434,7 +448,7 @@ export const AmountInfoSection = ({
|
||||
<span className="label">· {t('transaction.fields.paycoCouponAmount')}</span>
|
||||
<span className="value">
|
||||
<NumericFormat
|
||||
value={ amountInfo?.multiCouponAmount }
|
||||
value={ amountInfo?.multiCouponAmount || 0 }
|
||||
thousandSeparator
|
||||
displayType="text"
|
||||
></NumericFormat>
|
||||
|
||||
Reference in New Issue
Block a user