- 빌링 결제신청(권한체크 'X' -> 'W')

- 에스크로 메일 재발송 버튼 활성화 조건 추가 , 권한체크 'X'-> 'W'
- 다국어 누락 부분 추가
This commit is contained in:
HyeonJongKim
2025-11-17 13:45:29 +09:00
parent a93cd44fd4
commit 5e2c276e74
8 changed files with 62 additions and 47 deletions

View File

@@ -113,7 +113,7 @@ export const AllTransactionCancel = ({
const callTransactionCancel = () => { const callTransactionCancel = () => {
if(debtPreventionCancelDisplayInfo?.isCancel === false){ if(debtPreventionCancelDisplayInfo?.isCancel === false){
snackBar('취소요청이 불가능 합니다.'); snackBar(t('transaction.cancel.requestNotPossible'));
} }
else{ else{
let transactionCancelParams: AllTransactionCancelParams = { let transactionCancelParams: AllTransactionCancelParams = {
@@ -135,7 +135,7 @@ export const AllTransactionCancel = ({
transactionCancel(transactionCancelParams).then((rs: any) => { transactionCancel(transactionCancelParams).then((rs: any) => {
console.log(rs); console.log(rs);
if(rs.resultCode === "2024") { if(rs.resultCode === "2024") {
snackBar(rs.resultMessage); snackBar(t('transaction.cancel.passwordGroup.pleaseCheckPassword'));
setRequestSuccess(false); setRequestSuccess(false);
} else { } else {
setRequestSuccess(true); setRequestSuccess(true);

View File

@@ -19,7 +19,8 @@ import {
SettlementInfo, SettlementInfo,
InfoSectionKeys, InfoSectionKeys,
MerchantInfo, MerchantInfo,
AmountInfo AmountInfo,
EscrowDeliveryStatus
} from '@/entities/transaction/model/types'; } from '@/entities/transaction/model/types';
import { useEscrowMailResendMutation } from '@/entities/transaction/api/use-escrow-mail-resend-mutation'; import { useEscrowMailResendMutation } from '@/entities/transaction/api/use-escrow-mail-resend-mutation';
import { MerchantInfoSection } from '@/entities/transaction/ui/section/merchant-info-section'; import { MerchantInfoSection } from '@/entities/transaction/ui/section/merchant-info-section';
@@ -101,7 +102,7 @@ export const EscrowDetail = ({
const onClickToShowMailResend = () => { const onClickToShowMailResend = () => {
if(checkGrant(menuId, 'X')){ if(checkGrant(menuId, 'W')){
setDownloadBottomSheetOn(true); setDownloadBottomSheetOn(true);
} }
else{ else{
@@ -231,7 +232,11 @@ export const EscrowDetail = ({
<button <button
className="btn-50 btn-blue flex-1" className="btn-50 btn-blue flex-1"
onClick={ () => onClickToShowMailResend() } onClick={ () => onClickToShowMailResend() }
> </button> disabled={
escrowInfo?.deliveryStatus !== EscrowDeliveryStatus.DELIVERY_INSERT &&
escrowInfo?.deliveryStatus !== EscrowDeliveryStatus.DELIVERY_COMPLETE
}
>{ t('escrow.mailResend') }</button>
</div> </div>
</motion.div> </motion.div>
{ !!downloadBottomSheetOn && { !!downloadBottomSheetOn &&

View File

@@ -715,8 +715,10 @@
}, },
"passwordGroup": { "passwordGroup": {
"cancelPassword": "Cancel Password", "cancelPassword": "Cancel Password",
"passwordMismatch": "Password Mismatch" "passwordMismatch": "Password Mismatch",
"pleaseCheckPassword": "Please check your cancel password."
}, },
"requestNotPossible": "Cancellation request is not possible.",
"afterDeposit": { "afterDeposit": {
"title": "Transaction Cancel (After Deposit Cancel)", "title": "Transaction Cancel (After Deposit Cancel)",
"notice": "The requested transaction cancellation can be processed after deposit.", "notice": "The requested transaction cancellation can be processed after deposit.",
@@ -761,7 +763,8 @@
}, },
"escrow": { "escrow": {
"title": "Escrow", "title": "Escrow",
"detailTitle": "Escrow Details" "detailTitle": "Escrow Details",
"mailResend": "Resend Email"
}, },
"billing": { "billing": {
"title": "Billing", "title": "Billing",

View File

@@ -715,8 +715,10 @@
}, },
"passwordGroup": { "passwordGroup": {
"cancelPassword": "취소 비밀번호", "cancelPassword": "취소 비밀번호",
"passwordMismatch": "비밀번호 불일치" "passwordMismatch": "비밀번호 불일치",
"pleaseCheckPassword": "취소비밀번호를 확인해주세요."
}, },
"requestNotPossible": "취소요청이 불가능합니다.",
"afterDeposit": { "afterDeposit": {
"title": "거래취소(입금 후 취소)", "title": "거래취소(입금 후 취소)",
"notice": "요청하신 거래취소는 입금 후 취소처리 가능합니다.", "notice": "요청하신 거래취소는 입금 후 취소처리 가능합니다.",
@@ -761,7 +763,8 @@
}, },
"escrow": { "escrow": {
"title": "에스크로", "title": "에스크로",
"detailTitle": "에스크로 상세" "detailTitle": "에스크로 상세",
"mailResend": "메일 재발송"
}, },
"billing": { "billing": {
"title": "빌링", "title": "빌링",

View File

@@ -171,7 +171,7 @@ export const BillingListPage = () => {
setRequestStatus(val); setRequestStatus(val);
}; };
const onClickToNavigate = () => { const onClickToNavigate = () => {
if(checkGrant(menuId, 'X')){ if(checkGrant(menuId, 'W')){
navigate(PATHS.transaction.billing.charge); navigate(PATHS.transaction.billing.charge);
} }
else{ else{

View File

@@ -551,3 +551,7 @@ main.pop{
.filter-section{ .filter-section{
margin-bottom: 0; margin-bottom: 0;
} }
.resend-text {
word-break: break-all !important;
}