| @@ -143,7 +143,7 @@ const ApplicationDetailCard = ({ data }) => { | |||||
| </Grid> | </Grid> | ||||
| <Grid container direction="row" justifyContent="space-between" | <Grid container direction="row" justifyContent="space-between" | ||||
| alignItems="center"> | alignItems="center"> | ||||
| <Grid item xs={12} md={6} lg={6} mt={1}> | |||||
| <Grid item xs={12} md={6} lg={6} mt={1} mb={2}> | |||||
| <Grid container alignItems={"center"}> | <Grid container alignItems={"center"}> | ||||
| <Grid item xs={12} md={12} lg={12}> | <Grid item xs={12} md={12} lg={12}> | ||||
| <Grid container direction="row"> | <Grid container direction="row"> | ||||
| @@ -352,6 +352,9 @@ const FormPanel = ({ formData }) => { | |||||
| <li><FormattedMessage id="store" /></li> | <li><FormattedMessage id="store" /></li> | ||||
| <li><FormattedMessage id="post" /></li> | <li><FormattedMessage id="post" /></li> | ||||
| </ul> | </ul> | ||||
| <Typography variant="h6"> | |||||
| <div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofNote" }) }} /> | |||||
| </Typography> | |||||
| </> | </> | ||||
| ); | ); | ||||
| setIsWarningPopUp(true); | setIsWarningPopUp(true); | ||||
| @@ -360,7 +363,7 @@ const FormPanel = ({ formData }) => { | |||||
| <td style={tabelStyle}>{DateUtils.dateFormat(formData.closingDateOff, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> | <td style={tabelStyle}>{DateUtils.dateFormat(formData.closingDateOff, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> | ||||
| <td style={tabelStyle}> | <td style={tabelStyle}> | ||||
| <FormattedMessage id="payDnRemark" values={{ | <FormattedMessage id="payDnRemark" values={{ | ||||
| date: DateUtils.dateFormat(formData.closingDate, intl.formatMessage({ id: "dateStrFormat" })) + " 12:00 p.m." | |||||
| date: DateUtils.dateFormat(formData.closingDate, intl.formatMessage({ id: "dateStrFormat" })) + " 12:30 p.m." | |||||
| }} /> | }} /> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -434,7 +437,12 @@ const FormPanel = ({ formData }) => { | |||||
| }}><FormattedMessage id="viewDetail" /></a> | }}><FormattedMessage id="viewDetail" /></a> | ||||
| </td> | </td> | ||||
| <td style={tabelStyle}>{DateUtils.dateFormat(formData.proofPaymentDeadline, intl.formatMessage({ id: "paymentMethodDatetimeStrFormat" }))?.replace("am", "a.m.")?.replace("pm", "p.m.")}</td> | <td style={tabelStyle}>{DateUtils.dateFormat(formData.proofPaymentDeadline, intl.formatMessage({ id: "paymentMethodDatetimeStrFormat" }))?.replace("am", "a.m.")?.replace("pm", "p.m.")}</td> | ||||
| <td style={tabelStyle}>{DateUtils.dateFormat(formData.expiryDate, intl.formatMessage({ id: "paymentMethodDatetimeStrFormat" }))?.replace("am", "a.m.")?.replace("pm", "p.m.")}</td> | |||||
| <td style={tabelStyle}> | |||||
| <FormattedMessage id="payOnlineRemark" values={{ | |||||
| date: DateUtils.dateFormat(formData.expiryDate, intl.formatMessage({ id: "paymentMethodDatetimeStrFormat" }))?.replace("am", "a.m.")?.replace("pm", "p.m.") | |||||
| }} /> | |||||
| {/* {DateUtils.dateFormat(formData.expiryDate, intl.formatMessage({ id: "paymentMethodDatetimeStrFormat" }))?.replace("am", "a.m.")?.replace("pm", "p.m.")} */} | |||||
| </td> | |||||
| </tr> | </tr> | ||||
| <tr> | <tr> | ||||
| <td style={tabelStyle}> | <td style={tabelStyle}> | ||||
| @@ -465,6 +473,9 @@ const FormPanel = ({ formData }) => { | |||||
| <li><FormattedMessage id="store" /></li> | <li><FormattedMessage id="store" /></li> | ||||
| <li><FormattedMessage id="post" /></li> | <li><FormattedMessage id="post" /></li> | ||||
| </ul> | </ul> | ||||
| <Typography variant="h6"> | |||||
| <div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofNote" }) }} /> | |||||
| </Typography> | |||||
| </> | </> | ||||
| ); | ); | ||||
| setIsWarningPopUp(true); | setIsWarningPopUp(true); | ||||
| @@ -474,7 +485,7 @@ const FormPanel = ({ formData }) => { | |||||
| <td style={tabelStyle}>{DateUtils.dateFormat(formData.closingDateOff, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> | <td style={tabelStyle}>{DateUtils.dateFormat(formData.closingDateOff, intl.formatMessage({ id: "dateStrFormat" }))} 5:00 p.m.</td> | ||||
| <td style={tabelStyle}> | <td style={tabelStyle}> | ||||
| <FormattedMessage id="payDnRemark" values={{ | <FormattedMessage id="payDnRemark" values={{ | ||||
| date: DateUtils.dateFormat(formData.closingDate, intl.formatMessage({ id: "dateStrFormat" })) + " 12:00 p.m." | |||||
| date: DateUtils.dateFormat(formData.closingDate, intl.formatMessage({ id: "dateStrFormat" })) + " 12:30 p.m." | |||||
| }} /> | }} /> | ||||
| </td> | </td> | ||||
| </tr> | </tr> | ||||
| @@ -518,11 +529,11 @@ const FormPanel = ({ formData }) => { | |||||
| </table> | </table> | ||||
| </Grid> | </Grid> | ||||
| <Grid item xs={12}> | |||||
| {/* <Grid item xs={12}> | |||||
| <Typography variant="h6" height="100%" > | <Typography variant="h6" height="100%" > | ||||
| <div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofNote" }) }} /> | <div style={{ padding: 12 }} dangerouslySetInnerHTML={{ __html: intl.formatMessage({ id: "proofNote" }) }} /> | ||||
| </Typography> | </Typography> | ||||
| </Grid> | |||||
| </Grid> */} | |||||
| <Grid item xs={12}> | <Grid item xs={12}> | ||||
| <Typography variant="h6" height="100%" > | <Typography variant="h6" height="100%" > | ||||
| @@ -668,7 +679,7 @@ const FormPanel = ({ formData }) => { | |||||
| aria-label={intl.formatMessage({ id: 'ok' })} | aria-label={intl.formatMessage({ id: 'ok' })} | ||||
| onClick={() => setIsWarningPopUp(false)} | onClick={() => setIsWarningPopUp(false)} | ||||
| > | > | ||||
| OK | |||||
| <FormattedMessage id="ok" /> | |||||
| </Button> | </Button> | ||||
| </DialogActions> | </DialogActions> | ||||
| </Dialog> | </Dialog> | ||||
| @@ -625,7 +625,7 @@ const ApplicationDetailCard = ( | |||||
| </Grid> | </Grid> | ||||
| <Grid container direction="row" justifyContent="flex-start" | <Grid container direction="row" justifyContent="flex-start" | ||||
| alignItems="center"> | alignItems="center"> | ||||
| <Grid item xs={12} md={12} lg={12} mt={1} > | |||||
| <Grid item xs={12} md={12} lg={12} mt={1} mb={2}> | |||||
| <Grid container alignItems={"center"}> | <Grid container alignItems={"center"}> | ||||
| <Grid item xs={12} md={12} lg={12}> | <Grid item xs={12} md={12} lg={12}> | ||||
| <Grid container direction="row"> | <Grid container direction="row"> | ||||
| @@ -1,6 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Box, | |||||
| // Box, | |||||
| Typography | Typography | ||||
| } from '@mui/material'; | } from '@mui/material'; | ||||
| import MainCard from "components/MainCard"; | import MainCard from "components/MainCard"; | ||||
| @@ -60,8 +60,8 @@ const Table = ({onRowClick, searchCriteria}) => { | |||||
| System Params | System Params | ||||
| </Typography> | </Typography> | ||||
| <div style={{ width: '100%' }}> | |||||
| <Box sx={{ backgroundColor: "#fff", ml: 2 }} height='100%'> | |||||
| <div style={{ width: { xs: '92vw', sm: '96.5vw', md: "auto" }, }}> | |||||
| {/* <Box width= '100%' sx={{ backgroundColor: "#fff", ml: 2 }} height='100%'> */} | |||||
| <FiDataGrid | <FiDataGrid | ||||
| columns={columns} | columns={columns} | ||||
| customPageSize={10} | customPageSize={10} | ||||
| @@ -72,8 +72,8 @@ const Table = ({onRowClick, searchCriteria}) => { | |||||
| params:_searchCriteria | params:_searchCriteria | ||||
| }), [_searchCriteria])} | }), [_searchCriteria])} | ||||
| /> | /> | ||||
| </Box> | |||||
| </div> | |||||
| {/* </Box> */} | |||||
| </div> | |||||
| </MainCard> | </MainCard> | ||||
| ); | ); | ||||
| }; | }; | ||||
| @@ -3,13 +3,14 @@ import { | |||||
| Grid, | Grid, | ||||
| Typography, | Typography, | ||||
| Stack, | Stack, | ||||
| Box, | |||||
| // Box, | |||||
| } from '@mui/material'; | } from '@mui/material'; | ||||
| import * as React from "react"; | import * as React from "react"; | ||||
| import { GET_SYS_PARAMS } from "utils/ApiPathConst"; | import { GET_SYS_PARAMS } from "utils/ApiPathConst"; | ||||
| import Loadable from 'components/Loadable'; | import Loadable from 'components/Loadable'; | ||||
| import MainCard from "components/MainCard"; | |||||
| const Table = Loadable(React.lazy(() => import('./Table'))); | const Table = Loadable(React.lazy(() => import('./Table'))); | ||||
| const Form = Loadable(React.lazy(() => import('./Form'))); | const Form = Loadable(React.lazy(() => import('./Form'))); | ||||
| @@ -78,22 +79,36 @@ const SystemSetting = () => { | |||||
| {/*col 1*/} | {/*col 1*/} | ||||
| <Grid item xs={12} > | <Grid item xs={12} > | ||||
| <Grid container direction="row" sx={{ p: 2 }} spacing={2} > | |||||
| <Grid item xs={12} md={8} lg={8} > | |||||
| <Box xs={12} sx={{ borderRadius: '10px', backgroundColor: '#fff' }} > | |||||
| <Table | |||||
| searchCriteria={searchCriteria} | |||||
| onRowClick={onRowClick} | |||||
| /> | |||||
| </Box> | |||||
| <Grid container direction="row" sx={{ p: 2 }} spacing={1} > | |||||
| <Grid item xs={12} sm={8} md={8} lg={8} > | |||||
| <Grid container> | |||||
| <Grid item xs={12} md={12}> | |||||
| <MainCard elevation={0} | |||||
| border={false} | |||||
| content={false} | |||||
| > | |||||
| <Table | |||||
| searchCriteria={searchCriteria} | |||||
| onRowClick={onRowClick} | |||||
| /> | |||||
| </MainCard> | |||||
| </Grid> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| <Grid item xs={12} md={4} lg={4}> | |||||
| <Box xs={12} sx={{ borderRadius: '10px', backgroundColor: '#fff' }}> | |||||
| <Form | |||||
| selectedItem={selectedItem} | |||||
| onSave={onSave} | |||||
| /> | |||||
| </Box> | |||||
| <Grid item xs={12} sm={4} md={4} lg={4}> | |||||
| <Grid container> | |||||
| <Grid item xs={12} md={12}> | |||||
| <MainCard elevation={0} | |||||
| border={false} | |||||
| content={false} | |||||
| > | |||||
| <Form | |||||
| selectedItem={selectedItem} | |||||
| onSave={onSave} | |||||
| /> | |||||
| </MainCard> | |||||
| </Grid> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| @@ -458,6 +458,7 @@ | |||||
| "payDnRemark": "Payment proof (e.g. ATM receipt, internet banking record) to be sent to [email protected] by {date}", | "payDnRemark": "Payment proof (e.g. ATM receipt, internet banking record) to be sent to [email protected] by {date}", | ||||
| "payNPGORemark" :"Payment to be completed at Collection Office by {date}", | "payNPGORemark" :"Payment to be completed at Collection Office by {date}", | ||||
| "payOnlineRemark" :"Payment to be completed at GPNSPS by {date}", | |||||
| "before": "Before", | "before": "Before", | ||||
| "page": "Page", | "page": "Page", | ||||
| @@ -43,7 +43,7 @@ | |||||
| "PaymentCoonpletDealine": "付款截止日期", | "PaymentCoonpletDealine": "付款截止日期", | ||||
| "payOnline":"透过此系统网上支付", | "payOnline":"透过此系统网上支付", | ||||
| "payDn":"透过发出一般缴款单付款", | "payDn":"透过发出一般缴款单付款", | ||||
| "payNPGO":"在 NPGO 收款办公室付款", | |||||
| "payNPGO":"在北角政府合署收款处付款", | |||||
| "paymentMeans":"付款方式", | "paymentMeans":"付款方式", | ||||
| "paymentMethodMeans":"可用的付款方式", | "paymentMethodMeans":"可用的付款方式", | ||||
| "fps":"转数快 (FPS)", | "fps":"转数快 (FPS)", | ||||
| @@ -69,9 +69,10 @@ | |||||
| "fpsQrcodeTitle4":"剩余时间:", | "fpsQrcodeTitle4":"剩余时间:", | ||||
| "fpsQrcodeTitle5":"秒", | "fpsQrcodeTitle5":"秒", | ||||
| "payDnRemark": "在{date}之前将付款证明(如自动柜员机收据、网路银行记录)寄至 [email protected] ", | |||||
| "payDnRemark": "在{date}之前将付款证明(如自动柜员机收据、网上银行记录)电邮寄至 [email protected] ", | |||||
| "payNPGORemark" :"在{date}之前在收款办公室完成付款", | "payNPGORemark" :"在{date}之前在收款办公室完成付款", | ||||
| "payOnlineRemark" :"在{date}之前在 GPNSPS 完成网上付款", | |||||
| "MSG.registerIAmSmart": "你可点击「智方便」按钮,系统会自动输入个人资料,或自行输入个人资料,以即时启动 公共启事提交及缴费系统 帐户。<br/>如欲使用「智方便」提供个人资料,请先下载「智方便」流动应用程式并登记成为「智方便」用户。", | "MSG.registerIAmSmart": "你可点击「智方便」按钮,系统会自动输入个人资料,或自行输入个人资料,以即时启动 公共启事提交及缴费系统 帐户。<br/>如欲使用「智方便」提供个人资料,请先下载「智方便」流动应用程式并登记成为「智方便」用户。", | ||||
| "MSG.registerPersonal": "需上载身份证明文件数码档案以进行网上申请。 <br/>如:香港身份证; 护照; 中国内地身份证; 专业执业证书等", | "MSG.registerPersonal": "需上载身份证明文件数码档案以进行网上申请。 <br/>如:香港身份证; 护照; 中国内地身份证; 专业执业证书等", | ||||
| "MSG.registerOrg": "需上载以下任何一份证明文件以进行网上申请。 <br/>如:商业登记证;专业执业证书", | "MSG.registerOrg": "需上载以下任何一份证明文件以进行网上申请。 <br/>如:商业登记证;专业执业证书", | ||||
| @@ -377,7 +378,7 @@ | |||||
| "myRemarks": "其他备注", | "myRemarks": "其他备注", | ||||
| "careOfRemark": "如果您想在付款收据上显示客户的名称,您可以在此处输入(例如个人或公司名称)。", | "careOfRemark": "如果您想在付款收据上显示客户的名称,您可以在此处输入(例如个人或公司名称)。", | ||||
| "status": "状态", | "status": "状态", | ||||
| "viewDetail": "查看详细", | |||||
| "viewDetail": "查看详情", | |||||
| "price": "金额 ($)", | "price": "金额 ($)", | ||||
| "pay": "付款", | "pay": "付款", | ||||
| "toBePaid": "待付款", | "toBePaid": "待付款", | ||||
| @@ -43,7 +43,7 @@ | |||||
| "PaymentCoonpletDealine": "付款截止日期", | "PaymentCoonpletDealine": "付款截止日期", | ||||
| "payOnline":"透過此系統網上支付", | "payOnline":"透過此系統網上支付", | ||||
| "payDn":"透過發出一般繳款單付款", | "payDn":"透過發出一般繳款單付款", | ||||
| "payNPGO":"在 NPGO 收款辦公室付款", | |||||
| "payNPGO":"在北角政府合署收款處付款", | |||||
| "paymentMeans":"付款方式", | "paymentMeans":"付款方式", | ||||
| "paymentMethodMeans":"可用的付款方式", | "paymentMethodMeans":"可用的付款方式", | ||||
| "fps":"轉數快 (FPS)", | "fps":"轉數快 (FPS)", | ||||
| @@ -69,8 +69,9 @@ | |||||
| "fpsQrcodeTitle4":"剩餘時間:", | "fpsQrcodeTitle4":"剩餘時間:", | ||||
| "fpsQrcodeTitle5":"秒", | "fpsQrcodeTitle5":"秒", | ||||
| "payDnRemark": "在{date}之前將付款證明(如自動櫃員機收據、網路銀行記錄)寄至 [email protected] ", | |||||
| "payDnRemark": "在{date}之前將付款證明(如自動櫃員機收據、網上銀行記錄)電郵寄至 [email protected] ", | |||||
| "payNPGORemark" :"在{date}之前在收款辦公室完成付款", | "payNPGORemark" :"在{date}之前在收款辦公室完成付款", | ||||
| "payOnlineRemark" :"在{date}之前在 GPNSPS 完成網上付款", | |||||
| "MSG.registerIAmSmart": "你可點擊「智方便」按鈕,系統會自動輸入個人資料,或自行輸入個人資料,以即時啟動 公共啟事提交及繳費系統 帳戶。<br/>如欲使用「智方便」提供個人資料,請先下載「智方便」流動應用程式並登記成為「智方便」用戶。", | "MSG.registerIAmSmart": "你可點擊「智方便」按鈕,系統會自動輸入個人資料,或自行輸入個人資料,以即時啟動 公共啟事提交及繳費系統 帳戶。<br/>如欲使用「智方便」提供個人資料,請先下載「智方便」流動應用程式並登記成為「智方便」用戶。", | ||||
| "MSG.registerPersonal": "需上載身份證明文件數碼檔案以進行網上申請。<br/>如:香港身份證; 護照; 中國內地身份證; 專業執業証書等", | "MSG.registerPersonal": "需上載身份證明文件數碼檔案以進行網上申請。<br/>如:香港身份證; 護照; 中國內地身份證; 專業執業証書等", | ||||
| @@ -382,7 +383,7 @@ | |||||
| "myRemarks": "其他備註", | "myRemarks": "其他備註", | ||||
| "careOfRemark": "如果您想在付款收據上顯示客戶的名稱,您可以在此處輸入(例如個人或公司名稱)。", | "careOfRemark": "如果您想在付款收據上顯示客戶的名稱,您可以在此處輸入(例如個人或公司名稱)。", | ||||
| "status": "狀態", | "status": "狀態", | ||||
| "viewDetail": "查看詳細", | |||||
| "viewDetail": "查看詳情", | |||||
| "price": "金額 ($)", | "price": "金額 ($)", | ||||
| "pay": "付款", | "pay": "付款", | ||||
| "toBePaid": "待付款", | "toBePaid": "待付款", | ||||