Anna Ho vor 1 Jahr
Ursprung
Commit
5772daa749
6 geänderte Dateien mit 9 neuen und 6 gelöschten Zeilen
  1. +1
    -1
      src/auth/utils.js
  2. +1
    -1
      src/pages/Proof/Reply_Public/ProofForm.js
  3. +4
    -4
      src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js
  4. +1
    -0
      src/translations/en.json
  5. +1
    -0
      src/translations/zh-CN.json
  6. +1
    -0
      src/translations/zh-HK.json

+ 1
- 1
src/auth/utils.js Datei anzeigen

@@ -141,5 +141,5 @@ export const getPaymentMethod = (paymentMethod) => {
if(paymentMethod == "online") return 'payOnlineMethod';
if(paymentMethod == "demandNote") return 'payDnMethod';
if(paymentMethod == "office") return 'payNPGOMethod';
// return null;
return "other";
}

+ 1
- 1
src/pages/Proof/Reply_Public/ProofForm.js Datei anzeigen

@@ -107,7 +107,7 @@ const FormPanel = ({ formData }) => {
files: attachments ? attachments : [],
onSuccess: function (responseData) {
if (responseData.msg) {
setWarningText(intl.formatMessage({ id: 'MSG.proofOutOfTime' }));
setWarningText(intl.formatMessage({ id: responseData.msg}));
setIsWarningPopUp(true);
return;
}


+ 4
- 4
src/pages/PublicNotice/ApplyForm/PublicNoticeApplyForm.js Datei anzeigen

@@ -166,12 +166,12 @@ const PublicNoticeApplyForm = ({ loadedData, _selections , gazetteIssueList}) =>

const apply = (values) => {
setSubmitting(true)
let careOf = values.careOf ? values.careOf : ""
let remarks = values.remarks ? values.remarks : ""
if (isDummyLoggedIn){
let careOf = values.careOf ?? "";
let remarks = values.remarks ??"";
if (isDummyLoggedIn()){
careOf = values.careOfDum
}
if (isDummyLoggedIn){
if (isDummyLoggedIn()){
remarks = values.emailAddress
}
HttpUtils.postWithFiles({


+ 1
- 0
src/translations/en.json Datei anzeigen

@@ -513,6 +513,7 @@

"content": "Content",
"subject": "Subject",
"other":"Other",

"Dashboard": "Dashboard",
"event": "Event"

+ 1
- 0
src/translations/zh-CN.json Datei anzeigen

@@ -503,6 +503,7 @@

"content": "内容",
"subject": "主题",
"other":"其他",

"Dashboard": "仪表板",
"event": "活动"

+ 1
- 0
src/translations/zh-HK.json Datei anzeigen

@@ -508,6 +508,7 @@

"content": "内容",
"subject": "主題",
"other":"其他",

"Dashboard": "儀表板",
"event": "活動"

Laden…
Abbrechen
Speichern