import moment from 'moment';
import { DetailArrow } from '../detail-arrow';
import { InfoWrapKeys, DetailInfoProps } from '../../model/types';
export const DetailInfoWrap = ({
transactionCategory,
detailInfo,
show,
onClickToShowInfo
}: DetailInfoProps) => {
const onClickToSetShowInfo = () => {
if(!!onClickToShowInfo){
onClickToShowInfo(InfoWrapKeys.Issue);
}
};
return (
<>
onClickToSetShowInfo() }
>
상세 정보
-
취소일자
{ moment(detailInfo?.cancelDate).format('YYYY.MM.DD') }
-
취소승인번호
{ detailInfo?.cancelApprovalNumber }
-
현금영수증
{ detailInfo?.receiptInfo }
-
TID
{ detailInfo?.tid }
-
거래ID
{ detailInfo?.merchantTid }
-
서브몰명
{ detailInfo?.subMallName }
-
서브몰 사업자 번호
{ detailInfo?.subMallBusinessNumber }
-
발행경로
{ detailInfo?.issueChannel }
-
실패사유
{ detailInfo?.failureReason }
>
)
};