- 빌링 결제신청(권한체크 'X' -> 'W')
- 에스크로 메일 재발송 버튼 활성화 조건 추가 , 권한체크 'X'-> 'W' - 다국어 누락 부분 추가
This commit is contained in:
@@ -113,7 +113,7 @@ export const AllTransactionCancel = ({
|
||||
|
||||
const callTransactionCancel = () => {
|
||||
if(debtPreventionCancelDisplayInfo?.isCancel === false){
|
||||
snackBar('취소요청이 불가능 합니다.');
|
||||
snackBar(t('transaction.cancel.requestNotPossible'));
|
||||
}
|
||||
else{
|
||||
let transactionCancelParams: AllTransactionCancelParams = {
|
||||
@@ -135,7 +135,7 @@ export const AllTransactionCancel = ({
|
||||
transactionCancel(transactionCancelParams).then((rs: any) => {
|
||||
console.log(rs);
|
||||
if(rs.resultCode === "2024") {
|
||||
snackBar(rs.resultMessage);
|
||||
snackBar(t('transaction.cancel.passwordGroup.pleaseCheckPassword'));
|
||||
setRequestSuccess(false);
|
||||
} else {
|
||||
setRequestSuccess(true);
|
||||
@@ -148,7 +148,7 @@ export const AllTransactionCancel = ({
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
};
|
||||
|
||||
const onClickToClose = () => {
|
||||
|
||||
@@ -8,7 +8,7 @@ import { EscrowInfoSection } from '@/entities/transaction/ui/section/escrow-info
|
||||
import { PaymentInfoSection } from '@/entities/transaction/ui/section/payment-info-section';
|
||||
import { TransactionInfoSection } from '@/entities/transaction/ui/section/transaction-info-section';
|
||||
import { SettlementInfoSection } from '@/entities/transaction/ui/section/settlement-info-section';
|
||||
import {
|
||||
import {
|
||||
TransactionCategory,
|
||||
EscrowDetailParams,
|
||||
DetailResponse,
|
||||
@@ -19,7 +19,8 @@ import {
|
||||
SettlementInfo,
|
||||
InfoSectionKeys,
|
||||
MerchantInfo,
|
||||
AmountInfo
|
||||
AmountInfo,
|
||||
EscrowDeliveryStatus
|
||||
} from '@/entities/transaction/model/types';
|
||||
import { useEscrowMailResendMutation } from '@/entities/transaction/api/use-escrow-mail-resend-mutation';
|
||||
import { MerchantInfoSection } from '@/entities/transaction/ui/section/merchant-info-section';
|
||||
@@ -101,7 +102,7 @@ export const EscrowDetail = ({
|
||||
|
||||
|
||||
const onClickToShowMailResend = () => {
|
||||
if(checkGrant(menuId, 'X')){
|
||||
if(checkGrant(menuId, 'W')){
|
||||
setDownloadBottomSheetOn(true);
|
||||
}
|
||||
else{
|
||||
@@ -228,10 +229,14 @@ export const EscrowDetail = ({
|
||||
</div>
|
||||
</div>
|
||||
<div className="apply-row">
|
||||
<button
|
||||
<button
|
||||
className="btn-50 btn-blue flex-1"
|
||||
onClick={ () => onClickToShowMailResend() }
|
||||
>메일 재발송</button>
|
||||
disabled={
|
||||
escrowInfo?.deliveryStatus !== EscrowDeliveryStatus.DELIVERY_INSERT &&
|
||||
escrowInfo?.deliveryStatus !== EscrowDeliveryStatus.DELIVERY_COMPLETE
|
||||
}
|
||||
>{ t('escrow.mailResend') }</button>
|
||||
</div>
|
||||
</motion.div>
|
||||
{ !!downloadBottomSheetOn &&
|
||||
|
||||
Reference in New Issue
Block a user