@@ -82,7 +82,8 @@ const FormPanel = ({ formData }) => { | |||||
setWarningText(intl.formatMessage({ id: 'MSG.overReviseDeadline' })); | setWarningText(intl.formatMessage({ id: 'MSG.overReviseDeadline' })); | ||||
setIsWarningPopUp(true); | setIsWarningPopUp(true); | ||||
return; | return; | ||||
}else if ( formData.creditor==false && paymentMethod=="") { | |||||
} | |||||
else if ( formData.creditor==false && paymentMethod=="") { | |||||
setWarningText(intl.formatMessage({ id: 'MSG.plzSelectPaymentMethod' })); | setWarningText(intl.formatMessage({ id: 'MSG.plzSelectPaymentMethod' })); | ||||
setIsWarningPopUp(true); | setIsWarningPopUp(true); | ||||
return; | return; | ||||
@@ -111,8 +112,8 @@ const FormPanel = ({ formData }) => { | |||||
setIsWarningPopUp(true); | setIsWarningPopUp(true); | ||||
return; | return; | ||||
} | } | ||||
notifyActionSuccess("提交成功!") | |||||
if (actionValue) { | |||||
if (responseData.id == params.id) { | |||||
notifyActionSuccess(intl.formatMessage({id: "submitted"})) | |||||
navigate("/proof/pay/" + params.id); | navigate("/proof/pay/" + params.id); | ||||
} else { | } else { | ||||
navigate("/proof/search"); | navigate("/proof/search"); | ||||
@@ -36,6 +36,7 @@ | |||||
"noMoreThenNWords": "{fieldname} Must not exceed {num} characters", | "noMoreThenNWords": "{fieldname} Must not exceed {num} characters", | ||||
"atLeastNCharAccount": "{fieldname} Please enter at least {num} digits", | "atLeastNCharAccount": "{fieldname} Please enter at least {num} digits", | ||||
"applyTickStr":"I acknowledge the deadlines mentioned above.", | "applyTickStr":"I acknowledge the deadlines mentioned above.", | ||||
"submitted": "Submitted", | |||||
"MSG.registerIAmSmart": "You may click the \"iAM Smart\" button to fill the personal information automatically or enter the information manually to activate the PNSPS account now.<br/>If you want to use \"iAM Smart\" to fill the personal information, please download the \"iAM Smart\" mobile app and register as an \"iAM Smart\" user first.", | "MSG.registerIAmSmart": "You may click the \"iAM Smart\" button to fill the personal information automatically or enter the information manually to activate the PNSPS account now.<br/>If you want to use \"iAM Smart\" to fill the personal information, please download the \"iAM Smart\" mobile app and register as an \"iAM Smart\" user first.", | ||||
"MSG.registerPersonal": "To complete the online application, you need to upload digital copies of identification documents.<br/>e.g. Hong Kong Identity Card, Passport, Mainland China Identity Card, Professional Practicing Certificate, etc.", | "MSG.registerPersonal": "To complete the online application, you need to upload digital copies of identification documents.<br/>e.g. Hong Kong Identity Card, Passport, Mainland China Identity Card, Professional Practicing Certificate, etc.", | ||||
@@ -36,6 +36,8 @@ | |||||
"noMoreThenNWords": "{fieldname}不得超过 {num} 个字符", | "noMoreThenNWords": "{fieldname}不得超过 {num} 个字符", | ||||
"atLeastNCharAccount": "{fieldname}最少{num}个字符", | "atLeastNCharAccount": "{fieldname}最少{num}个字符", | ||||
"applyTickStr":"我确认上述提到的截止日期。", | "applyTickStr":"我确认上述提到的截止日期。", | ||||
"submitted": "提交成功", | |||||
"confirmingDealine": "确认校对的截止日期", | "confirmingDealine": "确认校对的截止日期", | ||||
"PaymentCoonpletDealine": "付款截止日期", | "PaymentCoonpletDealine": "付款截止日期", | ||||
"payOnline":"透过此系统 GPNSPS 网上支付", | "payOnline":"透过此系统 GPNSPS 网上支付", | ||||
@@ -36,6 +36,8 @@ | |||||
"noMoreThenNWords": "{fieldname}不得超過 {num} 個字符", | "noMoreThenNWords": "{fieldname}不得超過 {num} 個字符", | ||||
"atLeastNCharAccount": "{fieldname}最少{num}個字符", | "atLeastNCharAccount": "{fieldname}最少{num}個字符", | ||||
"applyTickStr":"我確認上述提到的日期。", | "applyTickStr":"我確認上述提到的日期。", | ||||
"submitted": "提交成功", | |||||
"confirmingDealine": "確認校對的截止日期", | "confirmingDealine": "確認校對的截止日期", | ||||
"PaymentCoonpletDealine": "付款截止日期", | "PaymentCoonpletDealine": "付款截止日期", | ||||
"payOnline":"透過此系統 GPNSPS 網上支付", | "payOnline":"透過此系統 GPNSPS 網上支付", | ||||