diff --git a/src/layout/MainLayout/Header/index.js b/src/layout/MainLayout/Header/index.js index f3994b0..14fcfa6 100644 --- a/src/layout/MainLayout/Header/index.js +++ b/src/layout/MainLayout/Header/index.js @@ -227,7 +227,7 @@ function Header(props) { {/* */} - Organization Profile + diff --git a/src/pages/DemandNote/Create/SearchForm.js b/src/pages/DemandNote/Create/SearchForm.js index 2473214..f88bd65 100644 --- a/src/pages/DemandNote/Create/SearchForm.js +++ b/src/pages/DemandNote/Create/SearchForm.js @@ -186,7 +186,17 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p
- setIsFailPopUp(false)} > + setIsFailPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Action Fail {failText} @@ -197,7 +207,17 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p
- setIsSuccessPopUp(false)} > + setIsSuccessPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Create Result diff --git a/src/pages/DemandNote/Search/DataGrid.js b/src/pages/DemandNote/Search/DataGrid.js index dc17f6f..43498b2 100644 --- a/src/pages/DemandNote/Search/DataGrid.js +++ b/src/pages/DemandNote/Search/DataGrid.js @@ -353,7 +353,17 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch }) />
- setIsErrorPopUp(false)} > + setIsErrorPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Action Fail Number of DN record must less than 100.
Please edit search form.
@@ -364,7 +374,17 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch })
- setSelectonWarning(false)} > + setSelectonWarning(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Warning Please Select DN. @@ -375,7 +395,17 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch })
- setConfirmPopUp(false)} > + setConfirmPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm Are you sure to mark DN paid? @@ -387,7 +417,17 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch })
- setSendPopUp(false)} > + setSendPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm Are you sure to send DN? @@ -399,7 +439,17 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch })
- setWait(false)} > + setWait(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Calculating, please wait ... diff --git a/src/pages/DemandNote/Search/SearchForm.js b/src/pages/DemandNote/Search/SearchForm.js index 222e6b8..8717699 100644 --- a/src/pages/DemandNote/Search/SearchForm.js +++ b/src/pages/DemandNote/Search/SearchForm.js @@ -92,7 +92,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue {/*row 1*/} - + Search Form diff --git a/src/pages/DemandNote/Search_Public/SearchForm.js b/src/pages/DemandNote/Search_Public/SearchForm.js index da02d3c..10ad3ba 100644 --- a/src/pages/DemandNote/Search_Public/SearchForm.js +++ b/src/pages/DemandNote/Search_Public/SearchForm.js @@ -83,8 +83,8 @@ const SearchDemandNoteForm = ({ applySearch, searchCriteria, issueComboData - - + + @@ -215,6 +215,7 @@ const SearchDemandNoteForm = ({ applySearch, searchCriteria, issueComboData + diff --git a/src/pages/EmailTemplate/Search_GLD/index.js b/src/pages/EmailTemplate/Search_GLD/index.js index 2556ba1..f45730b 100644 --- a/src/pages/EmailTemplate/Search_GLD/index.js +++ b/src/pages/EmailTemplate/Search_GLD/index.js @@ -25,6 +25,8 @@ const BackgroundHead = { backgroundPosition: 'right' } import { useNavigate } from "react-router"; +import {PNSPS_LONG_BUTTON_THEME} from "../../../themes/buttonConst"; +import {ThemeProvider} from "@emotion/react"; // ==============================|| DASHBOARD - DEFAULT ||============================== // @@ -56,7 +58,7 @@ const Index = () => { : ( - +
@@ -78,18 +80,18 @@ const Index = () => { - + + + diff --git a/src/pages/Message/Search/SearchForm.js b/src/pages/Message/Search/SearchForm.js index 8416206..63d41b6 100644 --- a/src/pages/Message/Search/SearchForm.js +++ b/src/pages/Message/Search/SearchForm.js @@ -63,8 +63,8 @@ const SearchForm = ({ applySearch, searchCriteria }) => { {/*row 1*/} - - + + @@ -141,6 +141,7 @@ const SearchForm = ({ applySearch, searchCriteria }) => { + : <> + + } : <> + + { currentUserData.creditor ? + + : + + } @@ -400,7 +383,17 @@ const OrganizationCard = ({ userData, loadDataFun, id, setEditModeFun }) => { }
- setCreditorConfirmPopUp(false)} > + setCreditorConfirmPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm Are you sure mark as Creditor? @@ -412,7 +405,17 @@ const OrganizationCard = ({ userData, loadDataFun, id, setEditModeFun }) => {
- setNonCreditorConfirmPopUp(false)} > + setNonCreditorConfirmPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm Are you sure mark as Non-Creditor? diff --git a/src/pages/Organization/DetailPage/OrganizationPubCard.js b/src/pages/Organization/DetailPage/OrganizationPubCard.js index dc0a1ef..1fe6b5d 100644 --- a/src/pages/Organization/DetailPage/OrganizationPubCard.js +++ b/src/pages/Organization/DetailPage/OrganizationPubCard.js @@ -19,7 +19,9 @@ const LoadingComponent = Loadable(lazy(() => import('../../extra-pages/LoadingCo import Loadable from 'components/Loadable'; import { lazy } from 'react'; import { notifySaveSuccess } from 'utils/CommonFunction'; -import {useIntl} from "react-intl"; +import {FormattedMessage, useIntl} from "react-intl"; +import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; +import {ThemeProvider} from "@emotion/react"; // ==============================|| DASHBOARD - DEFAULT ||============================== // @@ -126,46 +128,38 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {createMode ? <> + + : <> + + + + } @@ -173,17 +167,14 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { : <> + + } @@ -197,12 +188,12 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { - Organization Details + {FieldUtils.getTextField({ - label: FieldUtils.notNullFieldLabel("BR No.:"), + label: intl.formatMessage({id: 'brNo'}) + ":", valueName: "brNo", disabled: true, form: formik @@ -210,7 +201,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getTextField({ - label: "Creditor Account" + ":", + label: intl.formatMessage({id: 'creditorAccount'}) + ":", valueName: "creditor", disabled: true, form: formik @@ -231,7 +222,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getTextField({ - label: FieldUtils.notNullFieldLabel("Name (Eng):"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'nameEng'}) + ":"), valueName: "enCompanyName", disabled: true, form: formik @@ -240,7 +231,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getTextField({ - label: "Name (Ch):", + label: intl.formatMessage({id: 'nameChi'}) + ":", valueName: "chCompanyName", disabled: true, form: formik @@ -249,7 +240,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getDateField({ - label: FieldUtils.notNullFieldLabel("Expiry Date:"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'expiryDate'}) + ":"), valueName: "brExpiryDate", disabled: true, form: formik @@ -258,7 +249,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getTextField({ - label: FieldUtils.notNullFieldLabel("Contact Person:"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'contactPerson'}) + ":"), valueName: "contactPerson", disabled: (!editMode && !createMode), form: formik @@ -267,7 +258,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getPhoneField({ - label: FieldUtils.notNullFieldLabel("Contact Tel:"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'userContactNumber'}) + ":"), valueName: { code: "tel_countryCode", num: "phoneNumber" @@ -279,7 +270,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getPhoneField({ - label: "Fax No:", + label: intl.formatMessage({id: 'contactFaxNumber'}) + ":", valueName: { code: "fax_countryCode", num: "faxNumber" @@ -291,7 +282,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getComboField({ - label: FieldUtils.notNullFieldLabel("Country:"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'country'}) + ":"), valueName: "country", disabled: (!editMode && !createMode), dataList: ComboData.country, @@ -302,7 +293,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getComboField({ - label: FieldUtils.notNullFieldLabel("District:"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'district'}) + ":"), valueName: "district", disabled: (!editMode && !createMode), dataList: ComboData.district, @@ -314,7 +305,7 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { {FieldUtils.getAddressField({ - label: FieldUtils.notNullFieldLabel("Address:"), + label: FieldUtils.notNullFieldLabel(intl.formatMessage({id: 'formAddress'}) + ":"), valueName: ["addressLine1", "addressLine2", "addressLine3"], disabled: (!editMode && !createMode), form: formik @@ -327,7 +318,17 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => { }
- setCreditorConfirmPopUp(false)} > + setCreditorConfirmPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm Are you sure mark as Creditor? @@ -339,7 +340,17 @@ const OrganizationPubCard = ({ userData, loadDataFun, id, setEditModeFun }) => {
- setNonCreditorConfirmPopUp(false)} > + setNonCreditorConfirmPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm Are you sure mark as Non-Creditor? diff --git a/src/pages/Organization/DetailPage/index.js b/src/pages/Organization/DetailPage/index.js index d92ce33..64f8e92 100644 --- a/src/pages/Organization/DetailPage/index.js +++ b/src/pages/Organization/DetailPage/index.js @@ -33,6 +33,7 @@ const BackgroundHead = { backgroundPosition: 'right' } import { + FormattedMessage, // FormattedMessage, useIntl } from "react-intl"; @@ -130,15 +131,19 @@ const OrganizationDetailPage = () => {
{isGLDLoggedIn()? - Maintain Organization + + Maintain Organization + : - Organization Profile + + + }
- diff --git a/src/pages/Organization/DetailPage_FromUser/OrganizationCard_loadFromUser.js b/src/pages/Organization/DetailPage_FromUser/OrganizationCard_loadFromUser.js index 9812b3c..714938c 100644 --- a/src/pages/Organization/DetailPage_FromUser/OrganizationCard_loadFromUser.js +++ b/src/pages/Organization/DetailPage_FromUser/OrganizationCard_loadFromUser.js @@ -256,7 +256,17 @@ const OrganizationCard_loadFromUser = ({ userData, userId }) => {
- setIsFailPopUp(false)} > + setIsFailPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Action Fail {failText} diff --git a/src/pages/Organization/SearchPage/OrganizationSearchForm.js b/src/pages/Organization/SearchPage/OrganizationSearchForm.js index d1d623e..93295a4 100644 --- a/src/pages/Organization/SearchPage/OrganizationSearchForm.js +++ b/src/pages/Organization/SearchPage/OrganizationSearchForm.js @@ -1,6 +1,6 @@ // material-ui import { - Button, + CButton, Grid, TextField, Typography, Autocomplete, @@ -66,7 +66,7 @@ const OrganizationSearchForm = ({ applySearch }) => { {/*row 1*/} - + Search Form diff --git a/src/pages/Payment/MultiPaymentWindow.js b/src/pages/Payment/MultiPaymentWindow.js index 30cad6a..8d846e4 100644 --- a/src/pages/Payment/MultiPaymentWindow.js +++ b/src/pages/Payment/MultiPaymentWindow.js @@ -237,12 +237,12 @@ const MultiPaymentWindow = (props) => { - + (HK$):  - + {" HK$ " + FormatUtils.currencyFormat(props.totalAmount)} diff --git a/src/pages/Payment/Search_GLD/SearchForm.js b/src/pages/Payment/Search_GLD/SearchForm.js index 83dd76d..4f359db 100644 --- a/src/pages/Payment/Search_GLD/SearchForm.js +++ b/src/pages/Payment/Search_GLD/SearchForm.js @@ -49,7 +49,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { {/*row 1*/} - + Search Form @@ -154,6 +154,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { {/* - 申請公共啟事 + 申請公共啟事 */} @@ -188,7 +188,7 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => { - + : @@ -214,7 +214,7 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => { - + ({intl.formatMessage({id: 'fileSizeWarning'})}): @@ -279,7 +279,17 @@ const PublicNoticeApplyForm = ({ loadedData, selections }) => {
- setIsWarningPopUp(false)} > + setIsWarningPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > diff --git a/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js b/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js index 4ddf106..0deff31 100644 --- a/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js +++ b/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js @@ -537,7 +537,17 @@ const ApplicationDetailCard = (
- setIsWarningPopUp(false)} > + setIsWarningPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Warning {warningText} diff --git a/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js b/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js index 5c0b7a8..6e32f86 100644 --- a/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js +++ b/src/pages/PublicNotice/Details_GLD/GazetteDetailCard.js @@ -262,7 +262,16 @@ const GazetteDetailCard = (
- setIsWarningPopUp(false)} > + setIsWarningPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }}> Warning {warningText} diff --git a/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js b/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js index 3c6e05d..e2f1516 100644 --- a/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js +++ b/src/pages/PublicNotice/Details_Public/ApplicationDetailCard.js @@ -190,7 +190,7 @@ const ApplicationDetailCard = ( - + : @@ -220,7 +220,7 @@ const ApplicationDetailCard = ( - + : @@ -236,11 +236,11 @@ const ApplicationDetailCard = ( - 原因: + 原因: - + {currentApplicationDetailData.reason} @@ -259,7 +259,7 @@ const ApplicationDetailCard = ( - + : @@ -306,7 +306,7 @@ const ApplicationDetailCard = ( - + : @@ -340,7 +340,7 @@ const ApplicationDetailCard = ( - + : @@ -370,7 +370,7 @@ const ApplicationDetailCard = ( - + : @@ -405,7 +405,7 @@ const ApplicationDetailCard = ( - + : @@ -454,13 +454,13 @@ const ApplicationDetailCard = ( - + (HK$): - {FormatUtils.currencyFormat(fee)} + {FormatUtils.currencyFormat(fee)} @@ -473,7 +473,7 @@ const ApplicationDetailCard = ( - + : @@ -524,35 +524,32 @@ const ApplicationDetailCard = ( - + : - - - - {fileDetail.filename} - - - - - - + {fileDetail.filename} + + + @@ -567,10 +564,10 @@ const ApplicationDetailCard = ( - Care Of: + Care Of: - {currentApplicationDetailData.careOf} + {currentApplicationDetailData.careOf} : null @@ -579,12 +576,12 @@ const ApplicationDetailCard = ( - + : - {currentApplicationDetailData.remarks} + {currentApplicationDetailData.remarks} @@ -619,21 +616,31 @@ const ApplicationDetailCard = ( onClick={() => setIsPopUp(false)} aria-label={intl.formatMessage({id: 'close'})} > - +
- setErrorPopUp(false)} > + setErrorPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > 行動失敗 @@ -648,7 +655,7 @@ const ApplicationDetailCard = ( onClick={() => setErrorPopUp(false)} aria-label={intl.formatMessage({id: 'close'})} > - + diff --git a/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js b/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js index 4c786b6..6f042b0 100644 --- a/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js +++ b/src/pages/PublicNotice/Details_Public/StatusChangeDialog.js @@ -21,15 +21,16 @@ import * as yup from 'yup'; import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; import {ThemeProvider} from "@emotion/react"; import {FormattedMessage} from "react-intl"; - +import {useIntl} from "react-intl"; const StatusChangeDialog = (props) => { const [status, setStatus] = useState(""); - + const intl = useIntl(); + useEffect(() => { console.log(Object.keys(!props.selectedGazetteGroup).length) if(props.getStatus === "cancel"){ - setStatus("取消") + setStatus(intl.formatMessage({id: 'cancel'})) } }, [props.getStatus]); @@ -60,8 +61,8 @@ const StatusChangeDialog = (props) => { maxWidth={'xs'} > - - {status}公共啟事 + + {status} {intl.formatMessage({id: 'publicNotice'})} @@ -69,7 +70,8 @@ const StatusChangeDialog = (props) => { - 確定{status}公共啟事? + + {intl.formatMessage({id: 'confirmTo'})}{status} {intl.formatMessage({id: 'publicNotice'})}? @@ -82,7 +84,7 @@ const StatusChangeDialog = (props) => { variant="contained" onClick={props.handleClose} autoFocus - color="delete" + color="cancel" > diff --git a/src/pages/PublicNotice/Details_Public/index.js b/src/pages/PublicNotice/Details_Public/index.js index 3139c29..7744770 100644 --- a/src/pages/PublicNotice/Details_Public/index.js +++ b/src/pages/PublicNotice/Details_Public/index.js @@ -154,7 +154,7 @@ const DashboardDefault = () => {
- + diff --git a/src/pages/PublicNotice/ListPanel/BaseGrid.js b/src/pages/PublicNotice/ListPanel/BaseGrid.js index d1c8b34..8789cc2 100644 --- a/src/pages/PublicNotice/ListPanel/BaseGrid.js +++ b/src/pages/PublicNotice/ListPanel/BaseGrid.js @@ -80,13 +80,13 @@ export default function BaseGrid({rows}) { renderCell: (params) => ( isORGLoggedIn()?
- Care Of: {params.row.careOf} + Care Of: {params.row.careOf} - : {params.row.remarks} + : {params.row.remarks}
:
- {params.row.remarks} + {params.row.remarks}
) }, diff --git a/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js b/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js index 46c9d4d..44b8765 100644 --- a/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js +++ b/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js @@ -166,12 +166,12 @@ export default function SubmittedTab({ rows }) { renderCell: (params) => ( isORGLoggedIn() ?
- Care Of: {params.row.careOf} - + Care Of: {params.row.careOf} + : {params.row.remarks}
:
- {params.row.remarks} + {params.row.remarks}
) }, @@ -365,7 +365,17 @@ export default function SubmittedTab({ rows }) {
- setCheckCareOf(false)} > + setCheckCareOf(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Warning @@ -390,7 +400,17 @@ export default function SubmittedTab({ rows }) {
- setExpiryDateErr(false)} > + setExpiryDateErr(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > 行動失敗 diff --git a/src/pages/PublicNotice/ListPanel/SearchPublicNoticeForm.js b/src/pages/PublicNotice/ListPanel/SearchPublicNoticeForm.js index ed035ef..f668a49 100644 --- a/src/pages/PublicNotice/ListPanel/SearchPublicNoticeForm.js +++ b/src/pages/PublicNotice/ListPanel/SearchPublicNoticeForm.js @@ -65,7 +65,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { {/*row 1*/} - + {/*row 2*/} @@ -217,6 +217,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { + : <> + + } @@ -321,16 +313,14 @@ const UserInformationCard_Individual = ({ formData, loadDataFun }) => { })} + + } @@ -454,31 +444,27 @@ const UserInformationCard_Individual = ({ formData, loadDataFun }) => { {locked ? + + : + + } diff --git a/src/pages/User/DetailsPage_Individual/UserInformationCard_Individual_Pub.js b/src/pages/User/DetailsPage_Individual/UserInformationCard_Individual_Pub.js index 0cad3b4..2a2bb86 100644 --- a/src/pages/User/DetailsPage_Individual/UserInformationCard_Individual_Pub.js +++ b/src/pages/User/DetailsPage_Individual/UserInformationCard_Individual_Pub.js @@ -118,6 +118,7 @@ const UserInformationCard_Individual_Pub = ({ formData, loadDataFun }) => { - + : <> + + } @@ -380,17 +371,14 @@ const UserInformationCard_Organization = ({ userData, loadDataFun, orgData }) => })} + + } @@ -436,33 +424,27 @@ const UserInformationCard_Organization = ({ userData, loadDataFun, orgData }) => {formik.values.locked ? + + : + + } @@ -478,11 +460,13 @@ const UserInformationCard_Organization = ({ userData, loadDataFun, orgData }) => {currentUserData.orgId == null ? + + : null } @@ -577,25 +561,55 @@ const UserInformationCard_Organization = ({ userData, loadDataFun, orgData }) => }
- setIsWarningPopUp(false)} > + setIsWarningPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Warning {warningText} - + + +
- setIsConfirmPopUp(false)} > + setIsConfirmPopUp(false)} + PaperProps={{ + sx: { + minWidth: '40vw', + maxWidth: { xs: '90vw', s: '90vw', m: '70vw', lg: '70vw' }, + maxHeight: { xs: '90vh', s: '70vh', m: '70vh', lg: '60vh' } + } + }} + > Confirm {confirmText} - - + + + +
diff --git a/src/pages/User/DetailsPage_Organization/UserInformationCard_Organization_Pub.js b/src/pages/User/DetailsPage_Organization/UserInformationCard_Organization_Pub.js index 6d0fc88..ed94098 100644 --- a/src/pages/User/DetailsPage_Organization/UserInformationCard_Organization_Pub.js +++ b/src/pages/User/DetailsPage_Organization/UserInformationCard_Organization_Pub.js @@ -114,6 +114,7 @@ const UserInformationCard_Organization_Pub = ({ userData, loadDataFun,}) => {