From bb917eb44120fba16fb99c0f6cd193b515a5c9dd Mon Sep 17 00:00:00 2001 From: "jason.lam" Date: Fri, 5 Jan 2024 18:02:53 +0800 Subject: [PATCH] update application form --- src/components/MainCard.js | 2 +- .../Details_GLD/ApplicationDetailCard.js | 59 ++++++++++--------- .../Details_GLD/GazetteDetailCard.js | 22 +++---- src/pages/PublicNotice/Details_GLD/index.js | 14 ++--- .../Details_GLD/tabTableDetail/PaymentTab.js | 2 +- .../Details_GLD/tabTableDetail/ProofTab.js | 2 +- .../tabTableDetail/StatusHistoryTab.js | 2 +- .../Details_GLD/tabTableDetail/TabTable.js | 8 +-- 8 files changed, 57 insertions(+), 54 deletions(-) diff --git a/src/components/MainCard.js b/src/components/MainCard.js index 8b3124c..7b2ab3b 100644 --- a/src/components/MainCard.js +++ b/src/components/MainCard.js @@ -64,7 +64,7 @@ const MainCard = forwardRef( }, // maxWidth: { xs: 700, sm: 900, md: 1000, lg: 1300, xl: 1850 }, // minWidth: { xs: 600, sm: 800, md: 900, lg: 1000, xl: 1000 }, - margin: { xs: 2.5, md: 3 }, + margin: { xs: 2, md: 2 }, // '& > *': { // flexGrow: 1, // flexBasis: '50%' diff --git a/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js b/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js index 96eb5b5..76da039 100644 --- a/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js +++ b/src/pages/PublicNotice/Details_GLD/ApplicationDetailCard.js @@ -6,7 +6,7 @@ import { Typography, FormLabel, OutlinedInput, Stack, - Dialog, DialogTitle, DialogContent, DialogActions, + Dialog, DialogTitle, DialogContent, DialogActions, InputAdornment, } from '@mui/material'; const MainCard = Loadable(lazy(() => import('components/MainCard'))); import { useForm } from "react-hook-form"; @@ -141,17 +141,17 @@ const ApplicationDetailCard = ( border={false} content={false} > - {verified && currentApplicationDetailData.status != "notAccepted" ? + {verified && currentApplicationDetailData.status !== "notAccepted" ? - {currentApplicationDetailData.status == "reviewed" ? + {currentApplicationDetailData.status === "reviewed" ?