- 현금영수증 목록,상세 다국어 누락된 항목에 대하여 언어화
This commit is contained in:
@@ -2,6 +2,7 @@ import { useTranslation } from 'react-i18next';
|
||||
import { InfoSectionProps } from '../../model/types';
|
||||
import moment from 'moment';
|
||||
import { useEffect, useState } from 'react';
|
||||
import { getCashReceiptPurposeTypeName, getTransactionTypeName } from '../../model/contant';
|
||||
|
||||
export const IssueInfoSection = ({
|
||||
transactionCategory,
|
||||
@@ -40,7 +41,7 @@ export const IssueInfoSection = ({
|
||||
</li>
|
||||
<li className="kv-row">
|
||||
<span className="k">{t('transaction.fields.purpose')}</span>
|
||||
<span className="v">{ issueInfo?.purpose }</span>
|
||||
<span className="v">{ getCashReceiptPurposeTypeName(t)(issueInfo?.purpose) }</span>
|
||||
</li>
|
||||
<li className="kv-row">
|
||||
<span className="k">{t('transaction.fields.paymentMethod')}</span>
|
||||
@@ -56,7 +57,7 @@ export const IssueInfoSection = ({
|
||||
</li>
|
||||
<li className="kv-row">
|
||||
<span className="k">{t('transaction.fields.transactionType')}</span>
|
||||
<span className="v">{ issueInfo?.transactionType }</span>
|
||||
<span className="v">{ getTransactionTypeName(t)(issueInfo?.transactionType) }</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user