| @@ -38,7 +38,7 @@ const FormPanel = ({ formData }) => { | |||||
| React.useEffect(() => { | React.useEffect(() => { | ||||
| if (formData) { | if (formData) { | ||||
| setData(formData); | setData(formData); | ||||
| if (formData.groupType == "A") { | |||||
| if (formData.groupType == "Private Bill") { | |||||
| setColumnPrice(ComboData.proofPrice[1]) | setColumnPrice(ComboData.proofPrice[1]) | ||||
| formData['length'] = 18; | formData['length'] = 18; | ||||
| } | } | ||||
| @@ -57,7 +57,7 @@ const Index = () => { | |||||
| responseData.data["issueNoStr"] = responseData.data.issueVolume + "/" + responseData.data.issueYear + " No. " + responseData.data.issueNo | responseData.data["issueNoStr"] = responseData.data.issueVolume + "/" + responseData.data.issueYear + " No. " + responseData.data.issueNo | ||||
| responseData.data["issueDate"] = DateUtils.dateStr(responseData.data.issueDate); | responseData.data["issueDate"] = DateUtils.dateStr(responseData.data.issueDate); | ||||
| responseData.data["groupType"] = responseData.data.groupNo.charAt(0); | |||||
| responseData.data["groupType"] = responseData.data.groupTitle; | |||||
| setRecord(responseData.data); | setRecord(responseData.data); | ||||
| } | } | ||||
| }); | }); | ||||
| @@ -196,7 +196,7 @@ const ApplicationDetailCard = ( | |||||
| alignItems: 'end', | alignItems: 'end', | ||||
| }}> | }}> | ||||
| <CloseIcon /> | <CloseIcon /> | ||||
| <Typography ml={1} variant="h5">Not accepted</Typography> | |||||
| <Typography ml={1} variant="h5">Not accept</Typography> | |||||
| </Button> | </Button> | ||||
| </> : | </> : | ||||
| currentApplicationDetailData.status == "paid" ? | currentApplicationDetailData.status == "paid" ? | ||||
| @@ -52,11 +52,12 @@ export const publicNoticeStatic_GLD = [ | |||||
| export const groupTitle = [ | export const groupTitle = [ | ||||
| { key: 1, labelCht: 'A - 私人帳單', label: 'A - Private Bill', title: 'Private Bill', type: 'A'}, | |||||
| { key: 2, labelCht: 'B - 公司條例', label: 'B - Companies Ordinance', title: 'Companies Ordinance', type: 'B' }, | |||||
| { key: 3, labelCht: 'C - 高等法院', label: 'C - High Court', title: 'High Court', type: 'C' }, | |||||
| { key: 4, labelCht: 'D - 通知', label: 'D - Notices', title: 'Notices', type: 'D' }, | |||||
| { key: 5, labelCht: 'E - 其他', label: 'E - Miscellaneous (Companies)', title: 'Miscellaneous (Companies)', type: 'E' }, | |||||
| { key: 1, labelCht: 'A1 - 私人帳單', label: 'A1 - Private Bill', title: 'Private Bill', type: 'A'}, | |||||
| { key: 2, labelCht: 'A2 - 公司條例', label: 'A2 - Companies Ordinance', title: 'Companies Ordinance', type: 'A'}, | |||||
| { key: 3, labelCht: 'B - 公司條例', label: 'B - Companies Ordinance', title: 'Companies Ordinance', type: 'B' }, | |||||
| { key: 4, labelCht: 'C - 高等法院', label: 'C - High Court', title: 'High Court', type: 'C' }, | |||||
| { key: 5, labelCht: 'D - 通知', label: 'D - Notices', title: 'Notices', type: 'D' }, | |||||
| { key: 6, labelCht: 'E - 其他', label: 'E - Miscellaneous (Companies)', title: 'Miscellaneous (Companies)', type: 'E' }, | |||||
| ]; | ]; | ||||
| export const proofPrice = [ | export const proofPrice = [ | ||||