- 자금이체 : 이체신청 API 추가
- 은행목록 추가 - 알림톡: 상세 페이지 및 Types 수정
This commit is contained in:
@@ -10,7 +10,7 @@ import { getSmsClName } from '../model/sms-payment/constant';
|
||||
import { getKeyInPaymentPaymentStatusName } from '../model/key-in/constant';
|
||||
import { getArsPaymentStatusName, getArsOrderStatusName } from '../model/ars/constant';
|
||||
import { ServiceCode } from '../model/alimtalk/types';
|
||||
import { getAlimtalkServiceCodeText } from '../model/alimtalk/constant';
|
||||
import { getAlimtalkAlimClText, getAlimtalkSendClTypeText, getAlimtalkSendTypeText, getAlimtalkServiceCodeText } from '../model/alimtalk/constant';
|
||||
|
||||
export const ListItem = ({
|
||||
additionalServiceCategory,
|
||||
@@ -30,7 +30,7 @@ export const ListItem = ({
|
||||
paymentMethod, receiverName,
|
||||
requestId,subReqId,
|
||||
buyerName,receiverInfo,
|
||||
seq,serviceCode,
|
||||
seq,serviceCode,sendDate,
|
||||
|
||||
smsCl,
|
||||
name,
|
||||
@@ -277,7 +277,7 @@ export const ListItem = ({
|
||||
timeStr = time?.substring(0, 2) + ':' + time?.substring(2, 4);
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||
let time = paymentDate?.substring(8, 12);
|
||||
let time = sendDate?.substring(8, 12);
|
||||
timeStr = time?.substring(0, 2) + ':' + time?.substring(2, 4);
|
||||
}
|
||||
else {
|
||||
@@ -353,7 +353,7 @@ export const ListItem = ({
|
||||
str = '이름(' + tid + ')';
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||
str = `${receiverName}(${getAlimtalkServiceCodeText(serviceCode)})`;
|
||||
str = `${receiverName}(${getAlimtalkSendTypeText(sendType)})`;
|
||||
}
|
||||
|
||||
return str;
|
||||
@@ -478,13 +478,14 @@ export const ListItem = ({
|
||||
);
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||
console.log(serviceCode)
|
||||
rs.push(
|
||||
<div className="transaction-details">
|
||||
<span>{getTime()}</span>
|
||||
<span className="separator">|</span>
|
||||
<span>{paymentMethod}</span>
|
||||
<span>{getAlimtalkServiceCodeText(serviceCode)}</span>
|
||||
<span className="separator">|</span>
|
||||
<span>{alimCl}</span>
|
||||
<span>{getAlimtalkAlimClText(alimCl)}</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -598,10 +599,8 @@ export const ListItem = ({
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.Alimtalk) {
|
||||
rs.push(
|
||||
<div
|
||||
key="payout-item-amount"
|
||||
className="transaction-amount"
|
||||
>{sendCl}</div>
|
||||
<div key="payout-item-amount" className={`status-label ${(sendCl === 'REQUEST' || sendCl === 'SUCCESS') ? 'success' : 'fail'}`}
|
||||
>{getAlimtalkSendClTypeText(sendCl)}</div>
|
||||
);
|
||||
}
|
||||
else if (additionalServiceCategory === AdditionalServiceCategory.SMSPayment && onResendClick && tid) {
|
||||
|
||||
Reference in New Issue
Block a user