| @@ -110,7 +110,7 @@ export function FiDataGrid({ rows, columns, sx, autoHeight, | |||||
| count={_rows.length} | count={_rows.length} | ||||
| page={page} | page={page} | ||||
| rowsPerPage={pageSize} | rowsPerPage={pageSize} | ||||
| rowsPerPageOptions={[5, 10, 25, 50]} | |||||
| rowsPerPageOptions={[10]} | |||||
| labelDisplayedRows={({ from, to, count }) => | labelDisplayedRows={({ from, to, count }) => | ||||
| `${from}-${to} ${intl.formatMessage({ id: "of" })} ${count}` | `${from}-${to} ${intl.formatMessage({ id: "of" })} ${count}` | ||||
| } | } | ||||
| @@ -1,7 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Autocomplete, | Autocomplete, | ||||
| Typography, | Typography, | ||||
| @@ -15,6 +14,8 @@ import * as UrlUtils from "utils/ApiPathConst"; | |||||
| import * as HttpUtils from "utils/HttpUtils"; | import * as HttpUtils from "utils/HttpUtils"; | ||||
| import { useNavigate } from "react-router-dom"; | import { useNavigate } from "react-router-dom"; | ||||
| import { notifyDownloadSuccess } from 'utils/CommonFunction'; | import { notifyDownloadSuccess } from 'utils/CommonFunction'; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -35,22 +36,6 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p | |||||
| const [issueCombo, setIssueCombo] = React.useState([]); | const [issueCombo, setIssueCombo] = React.useState([]); | ||||
| const navigate = useNavigate() | const navigate = useNavigate() | ||||
| const _sx = { | |||||
| padding: "4 2 4 2", | |||||
| boxShadow: 1, | |||||
| border: 1, | |||||
| borderColor: '#DDD', | |||||
| '& .MuiDataGrid-cell': { | |||||
| borderTop: 1, | |||||
| borderBottom: 1, | |||||
| borderColor: "#EEE" | |||||
| }, | |||||
| '& .MuiDataGrid-footerContainer': { | |||||
| border: 1, | |||||
| borderColor: "#EEE" | |||||
| } | |||||
| } | |||||
| React.useEffect(() => { | React.useEffect(() => { | ||||
| if (issueComboData && issueComboData.length > 0) { | if (issueComboData && issueComboData.length > 0) { | ||||
| setIssueCombo(issueComboData); | setIssueCombo(issueComboData); | ||||
| @@ -128,20 +113,21 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p | |||||
| <MainCard xs={12} md={12} lg={12} | <MainCard xs={12} md={12} lg={12} | ||||
| border={false} | border={false} | ||||
| content={false} | content={false} | ||||
| sx={_sx} | |||||
| > | > | ||||
| <form> | <form> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center" > | |||||
| <Typography variant="h5">Please Select Gazette Issue :</Typography> | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Please Select Gazette Issue : | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 1 }}> | |||||
| <Grid container display="flex" alignItems={"center"} sx={{mb:3}}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3 }}> | |||||
| <Autocomplete | <Autocomplete | ||||
| disablePortal | disablePortal | ||||
| size="small" | size="small" | ||||
| @@ -178,17 +164,15 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p | |||||
| </Button> | </Button> | ||||
| </Grid> */} | </Grid> */} | ||||
| <Grid item sx={{ ml: 3, mr: 3 }} > | <Grid item sx={{ ml: 3, mr: 3 }} > | ||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={onSubmit} | onClick={onSubmit} | ||||
| color="success" | color="success" | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Create</Typography> | |||||
| > | |||||
| Create | |||||
| </Button> | </Button> | ||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3 }} > | <Grid item sx={{ ml: 3, mr: 3 }} > | ||||
| @@ -199,6 +183,7 @@ const SearchPublicNoticeForm = ({ applySearch, issueComboData, _paymentCount, _p | |||||
| <Typography variant="h5">Pending Publish: {publishCount}</Typography> | <Typography variant="h5">Pending Publish: {publishCount}</Typography> | ||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </Grid> | |||||
| </form> | </form> | ||||
| <div> | <div> | ||||
| <Dialog open={isFailPopUp} onClose={() => setIsFailPopUp(false)} > | <Dialog open={isFailPopUp} onClose={() => setIsFailPopUp(false)} > | ||||
| @@ -80,16 +80,18 @@ const Index = () => { | |||||
| !onReady ? | !onReady ? | ||||
| <LoadingComponent/> | <LoadingComponent/> | ||||
| : | : | ||||
| <Grid container sx={{minHeight: '85vh',backgroundColor:'#ffffff'}} direction="column"> | |||||
| <Grid container sx={{minHeight: '85vh', backgroundColor: 'backgroundColor.default'}} direction="column"> | |||||
| <Grid item xs={12}> | <Grid item xs={12}> | ||||
| <div style={BackgroundHead}> | <div style={BackgroundHead}> | ||||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | ||||
| <Typography ml={15} color='#FFF' variant="h4">Create Demand Note</Typography> | |||||
| <Typography ml={15} color='#FFF' variant="h4"> | |||||
| Create Demand Note | |||||
| </Typography> | |||||
| </Stack> | </Stack> | ||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm | <SearchForm | ||||
| applySearch={applySearch} | applySearch={applySearch} | ||||
| issueComboData={issueCombo} | issueComboData={issueCombo} | ||||
| @@ -18,6 +18,8 @@ import { notifyDownloadSuccess } from 'utils/CommonFunction'; | |||||
| import * as UrlUtils from "utils/ApiPathConst"; | import * as UrlUtils from "utils/ApiPathConst"; | ||||
| import * as HttpUtils from "utils/HttpUtils"; | import * as HttpUtils from "utils/HttpUtils"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| EVENT TABLE ||============================== // | // ==============================|| EVENT TABLE ||============================== // | ||||
| export default function SearchDemandNote({ recordList, reloadFun, applySearch }) { | export default function SearchDemandNote({ recordList, reloadFun, applySearch }) { | ||||
| @@ -272,6 +274,7 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch }) | |||||
| return ( | return ( | ||||
| <div style={{ height: '100%', width: '100%' }}> | <div style={{ height: '100%', width: '100%' }}> | ||||
| <Grid container maxWidth justifyContent="flex-start"> | <Grid container maxWidth justifyContent="flex-start"> | ||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | ||||
| <input | <input | ||||
| id="uploadFileBtn" | id="uploadFileBtn" | ||||
| @@ -295,62 +298,45 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch }) | |||||
| <Button | <Button | ||||
| component="span" | component="span" | ||||
| variant="contained" | variant="contained" | ||||
| size="large" | |||||
| > | > | ||||
| <Typography variant="h5">Attach DN</Typography> | |||||
| Attach DN | |||||
| </Button> | </Button> | ||||
| </label> | </label> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | ||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={findReadyToSend} | onClick={findReadyToSend} | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Ready Send</Typography> | |||||
| > | |||||
| Ready Send | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | ||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={() => setSendPopUp(true)} | onClick={() => setSendPopUp(true)} | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Send DN</Typography> | |||||
| > | |||||
| Send DN | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | ||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={() => exportXml()} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Export XML</Typography> | |||||
| onClick={() => exportXml()}> | |||||
| Export GDNS | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | ||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={() => setConfirmPopUp(true)} | onClick={() => setConfirmPopUp(true)} | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Mark as Paid</Typography> | |||||
| > | |||||
| Mark as Paid | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| <Box sx={{ backgroundColor: "#fff", ml: 2 }} width="98%"> | <Box sx={{ backgroundColor: "#fff", ml: 2 }} width="98%"> | ||||
| <FiDataGrid | <FiDataGrid | ||||
| @@ -1,7 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Autocomplete, | Autocomplete, | ||||
| Typography | Typography | ||||
| @@ -12,6 +11,8 @@ import * as React from "react"; | |||||
| import * as ComboData from "utils/ComboData"; | import * as ComboData from "utils/ComboData"; | ||||
| import * as DateUtils from "utils/DateUtils"; | import * as DateUtils from "utils/DateUtils"; | ||||
| import * as FormatUtils from "utils/FormatUtils"; | import * as FormatUtils from "utils/FormatUtils"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -88,14 +89,12 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||||
| > | > | ||||
| <form onSubmit={handleSubmit(onSubmit)}> | <form onSubmit={handleSubmit(onSubmit)}> | ||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 3, mb: 3 }} width="98%"> | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1 }} width="98%"> | |||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12}> | |||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center"> | |||||
| <Typography variant="h5">Search Form</Typography> | |||||
| </Grid> | |||||
| </CardContent> | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1, ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Search Form | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | {/*row 2*/} | ||||
| <Grid container display="flex" alignItems={"center"}> | <Grid container display="flex" alignItems={"center"}> | ||||
| @@ -261,28 +260,25 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||||
| {/*last row*/} | {/*last row*/} | ||||
| <Grid container maxWidth justifyContent="flex-end"> | <Grid container maxWidth justifyContent="flex-end"> | ||||
| <Grid item sx={{ ml: 3, mr: 3 }}> | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{ ml: 3, mb:3 }}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={resetForm} | onClick={resetForm} | ||||
| > | > | ||||
| <Typography variant="h5">Clear</Typography> | |||||
| Clear | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3}}> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb:3}}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| type="submit" | type="submit" | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Submit</Typography> | |||||
| > | |||||
| Submit | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| @@ -98,12 +98,14 @@ const UserSearchPage_Individual = () => { | |||||
| <Grid item xs={12}> | <Grid item xs={12}> | ||||
| <div style={BackgroundHead}> | <div style={BackgroundHead}> | ||||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | ||||
| <Typography ml={15} color='#FFF' variant="h4">Demand Note</Typography> | |||||
| <Typography ml={15} color='#FFF' variant="h4"> | |||||
| Demand Note | |||||
| </Typography> | |||||
| </Stack> | </Stack> | ||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb: -1}}> | |||||
| <SearchForm | <SearchForm | ||||
| applySearch={applySearch} | applySearch={applySearch} | ||||
| orgComboData={orgCombo} | orgComboData={orgCombo} | ||||
| @@ -1,7 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| // Autocomplete, | // Autocomplete, | ||||
| Typography | Typography | ||||
| @@ -10,6 +9,8 @@ import MainCard from "components/MainCard"; | |||||
| import { useForm } from "react-hook-form"; | import { useForm } from "react-hook-form"; | ||||
| import * as React from "react"; | import * as React from "react"; | ||||
| import * as DateUtils from "utils/DateUtils"; | import * as DateUtils from "utils/DateUtils"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // import * as ComboData from "utils/ComboData"; | // import * as ComboData from "utils/ComboData"; | ||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -20,22 +21,6 @@ const SearchPublicNoticeForm = ({ applySearch, generateXML, searchCriteria }) => | |||||
| const [maxDate, setMaxDate] = React.useState(searchCriteria.dateTo); | const [maxDate, setMaxDate] = React.useState(searchCriteria.dateTo); | ||||
| // const [status, setStatus] = React.useState(ComboData.paymentStatus[0]); | // const [status, setStatus] = React.useState(ComboData.paymentStatus[0]); | ||||
| const _sx = { | |||||
| padding: "4 2 4 2", | |||||
| boxShadow: 1, | |||||
| border: 1, | |||||
| borderColor: '#DDD', | |||||
| '& .MuiDataGrid-cell': { | |||||
| borderTop: 1, | |||||
| borderBottom: 1, | |||||
| borderColor: "#EEE" | |||||
| }, | |||||
| '& .MuiDataGrid-footerContainer': { | |||||
| border: 1, | |||||
| borderColor: "#EEE" | |||||
| } | |||||
| } | |||||
| const { register, handleSubmit, getValues } = useForm() | const { register, handleSubmit, getValues } = useForm() | ||||
| const onSubmit = (data) => { | const onSubmit = (data) => { | ||||
| @@ -67,20 +52,19 @@ const SearchPublicNoticeForm = ({ applySearch, generateXML, searchCriteria }) => | |||||
| <MainCard xs={12} md={12} lg={12} | <MainCard xs={12} md={12} lg={12} | ||||
| border={false} | border={false} | ||||
| content={false} | content={false} | ||||
| sx={_sx} | |||||
| > | > | ||||
| <form onSubmit={handleSubmit(onSubmit)}> | |||||
| {/*row 1*/} | |||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center" > | |||||
| <Typography variant="h5">Credit Date</Typography> | |||||
| <form onSubmit={handleSubmit(onSubmit)} > | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Credit Date | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems="center"> | |||||
| {/*row 2*/} | |||||
| <Grid container display="flex" alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={4} lg={4} sx={{ ml: 3, mr: 3, mb: 3 }}> | <Grid item xs={9} s={6} md={4} lg={4} sx={{ ml: 3, mr: 3, mb: 3 }}> | ||||
| <TextField | <TextField | ||||
| fullWidth | fullWidth | ||||
| @@ -121,31 +105,26 @@ const SearchPublicNoticeForm = ({ applySearch, generateXML, searchCriteria }) => | |||||
| </Grid> */} | </Grid> */} | ||||
| </Grid> | </Grid> | ||||
| <Grid container justifyContent="flex-end" direction="row" alignItems="center" spacing={3}> | <Grid container justifyContent="flex-end" direction="row" alignItems="center" spacing={3}> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, }} > | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{ ml: 3, mb: 3, }} > | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| type="submit" | type="submit" | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Preview</Typography> | |||||
| > | |||||
| Preview | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, }} > | <Grid item sx={{ ml: 3, mr: 3, mb: 3, }} > | ||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={generateHandler} | onClick={generateHandler} | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Generate</Typography> | |||||
| > | |||||
| Generate | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| </MainCard> | </MainCard> | ||||
| @@ -100,7 +100,7 @@ const Index = () => { | |||||
| !onReady ? | !onReady ? | ||||
| <LoadingComponent/> | <LoadingComponent/> | ||||
| : | : | ||||
| <Grid container sx={{minHeight: '85vh',backgroundColor:'#ffffff'}} direction="column"> | |||||
| <Grid container sx={{minHeight: '85vh', backgroundColor: 'backgroundColor.default'}} direction="column"> | |||||
| <Grid item xs={12}> | <Grid item xs={12}> | ||||
| <div style={BackgroundHead}> | <div style={BackgroundHead}> | ||||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | ||||
| @@ -109,7 +109,7 @@ const Index = () => { | |||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm | <SearchForm | ||||
| applySearch={applySearch} | applySearch={applySearch} | ||||
| generateXML={generateXML} | generateXML={generateXML} | ||||
| @@ -1,7 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Typography, | Typography, | ||||
| Autocomplete, | Autocomplete, | ||||
| @@ -15,6 +14,8 @@ import * as React from "react"; | |||||
| import * as UrlUtils from "utils/ApiPathConst"; | import * as UrlUtils from "utils/ApiPathConst"; | ||||
| import * as HttpUtils from "utils/HttpUtils"; | import * as HttpUtils from "utils/HttpUtils"; | ||||
| import * as ComboData from "utils/ComboData"; | import * as ComboData from "utils/ComboData"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -62,119 +63,109 @@ const OrganizationSearchForm = ({ applySearch }) => { | |||||
| <form onSubmit={handleSubmit(onSubmit)}> | <form onSubmit={handleSubmit(onSubmit)}> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center"> | |||||
| <Typography variant="h5">Search Form</Typography> | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Search Form | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("brNo")} | |||||
| id='brNo' | |||||
| label="BR No." | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("enCompanyName")} | |||||
| id="enCompanyName" | |||||
| label="Name (English)" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("chCompanyName")} | |||||
| id="chCompanyName" | |||||
| label="Name (Chinese)" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3}}> | |||||
| <Autocomplete | |||||
| {...register("searchCreditor")} | |||||
| id="searchCreditor" | |||||
| size="small" | |||||
| options={ComboData.CreditorStatus} | |||||
| value={creditorSelected} | |||||
| onChange={(event, newValue) => { | |||||
| setCreditorSelected(newValue); | |||||
| {/*row 2*/} | |||||
| <Grid container display="flex" alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("brNo")} | |||||
| id='brNo' | |||||
| label="BR No." | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | }} | ||||
| getOptionLabel={(option) => option.label} | |||||
| renderInput={(params) => ( | |||||
| <TextField | |||||
| {...params} | |||||
| label="Status" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| )} | |||||
| /> | /> | ||||
| </Grid> | |||||
| </Grid> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("enCompanyName")} | |||||
| id="enCompanyName" | |||||
| label="Name (English)" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("chCompanyName")} | |||||
| id="chCompanyName" | |||||
| label="Name (Chinese)" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3}}> | |||||
| <Autocomplete | |||||
| {...register("searchCreditor")} | |||||
| id="searchCreditor" | |||||
| size="small" | |||||
| options={ComboData.CreditorStatus} | |||||
| value={creditorSelected} | |||||
| onChange={(event, newValue) => { | |||||
| setCreditorSelected(newValue); | |||||
| }} | |||||
| getOptionLabel={(option) => option.label} | |||||
| renderInput={(params) => ( | |||||
| <TextField | |||||
| {...params} | |||||
| label="Status" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| )} | |||||
| /> | |||||
| </Grid> | |||||
| {/*last row*/} | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| onClick={doExport} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Export</Typography> | |||||
| </Button> | |||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Clear</Typography> | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| type="submit" | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Submit</Typography> | |||||
| </Button> | |||||
| {/*last row*/} | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{mr: 3, mb: 3 }}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={doExport} | |||||
| > | |||||
| Export | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{ mr: 3, mb: 3}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| > | |||||
| Clear | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{ mb: 3}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| type="submit" | |||||
| > | |||||
| Submit | |||||
| </Button> | |||||
| </Grid> | |||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| </MainCard> | </MainCard> | ||||
| @@ -76,7 +76,7 @@ const OrganizationSearchPage = () => { | |||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm applySearch={applySearch} /> | <SearchForm applySearch={applySearch} /> | ||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | {/*row 2*/} | ||||
| @@ -10,6 +10,8 @@ import { useForm } from "react-hook-form"; | |||||
| import * as React from "react"; | import * as React from "react"; | ||||
| import * as DateUtils from "utils/DateUtils"; | import * as DateUtils from "utils/DateUtils"; | ||||
| import * as ComboData from "utils/ComboData"; | import * as ComboData from "utils/ComboData"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -44,7 +46,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||||
| > | > | ||||
| <form onSubmit={handleSubmit(onSubmit)} > | <form onSubmit={handleSubmit(onSubmit)} > | ||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1, mb: 2.5}} width="98%"> | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | ||||
| <Typography variant="h5" > | <Typography variant="h5" > | ||||
| @@ -148,32 +150,25 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||||
| {/*last row*/} | {/*last row*/} | ||||
| <Grid container maxWidth justifyContent="flex-end"> | <Grid container maxWidth justifyContent="flex-end"> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{ ml: 3, mb: 3}}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={resetForm} | onClick={resetForm} | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Reset</Typography> | |||||
| > | |||||
| Reset | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| type="submit" | type="submit" | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Submit</Typography> | |||||
| > | |||||
| Submit | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| </MainCard> | </MainCard> | ||||
| @@ -75,7 +75,7 @@ const Index = () => { | |||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm | <SearchForm | ||||
| applySearch={applySearch} | applySearch={applySearch} | ||||
| searchCriteria={searchCriteria} | searchCriteria={searchCriteria} | ||||
| @@ -118,7 +118,7 @@ export default function BaseGrid({rows}) { | |||||
| } | } | ||||
| return ( | return ( | ||||
| <div style={{minHeight: 400, width: '100%', padding: 4}}> | |||||
| <div style={{minHeight: 400, height:"100%", width: '100%', padding: 4}}> | |||||
| <FiDataGrid | <FiDataGrid | ||||
| rows={rows} | rows={rows} | ||||
| columns={columns} | columns={columns} | ||||
| @@ -45,7 +45,7 @@ const UserSearchPage_Individual = () => { | |||||
| } | } | ||||
| return ( | return ( | ||||
| <Grid container> | |||||
| <Grid container sx={{ display: 'flex', flexDirection: 'column', height: '100%' }}> | |||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-3}}> | <Grid item xs={12} md={12} lg={12} sx={{mb:-3}}> | ||||
| <SearchForm | <SearchForm | ||||
| @@ -58,11 +58,14 @@ const UserSearchPage_Individual = () => { | |||||
| <MainCard elevation={0} | <MainCard elevation={0} | ||||
| border={false} | border={false} | ||||
| content={false} | content={false} | ||||
| sx={{width: "-webkit-fill-available"}} | |||||
| sx={{width: "-webkit-fill-available",height: "100%", minHeight:'100%'}} | |||||
| > | > | ||||
| <EventTable | |||||
| recordList={record} | |||||
| /> | |||||
| <div style={{height: '100%', width: '100%' , minHeight:'80vh'}}> | |||||
| <EventTable | |||||
| autoHeight | |||||
| recordList={record} | |||||
| /> | |||||
| </div> | |||||
| </MainCard> | </MainCard> | ||||
| </Grid> | </Grid> | ||||
| @@ -121,7 +121,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||||
| } | } | ||||
| return ( | return ( | ||||
| <div style={{ minHeight: 400, width: '100%' }}> | |||||
| <div style={{ minHeight: 400, height: "100%", width: '100%' }}> | |||||
| <FiDataGrid | <FiDataGrid | ||||
| rows={rows} | rows={rows} | ||||
| columns={columns} | columns={columns} | ||||
| @@ -129,9 +129,9 @@ const PublicNotice = () => { | |||||
| { | { | ||||
| JSON.parse(localStorage.getItem('userData')).creditor ? ( | JSON.parse(localStorage.getItem('userData')).creditor ? ( | ||||
| <Grid item xs={12} sm={12} md={12} lg={12} sx={{ minHeight: '75vh', maxWidth: '1%',width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> | |||||
| <Grid item xs={12} sm={12} md={12} lg={12} sx={{ height:'100%', maxWidth: '1%',width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> | |||||
| <TabContext value={selectedTab}> | <TabContext value={selectedTab}> | ||||
| <Box sx={{ borderBottom: 1, borderColor: 'divider', overflowX: 'auto', }}> | |||||
| <Box sx={{ borderBottom: 1, borderColor: 'divider', overflowX: 'auto', overflowY:'auto' }}> | |||||
| <TabList onChange={handleChange} aria-label="lab API tabs example" sx={{ display: 'flex', flexDirection: 'row' }}> | <TabList onChange={handleChange} aria-label="lab API tabs example" sx={{ display: 'flex', flexDirection: 'row' }}> | ||||
| <Tab label={intl.formatMessage({id: 'processing'}) + " (" + submittedList?.length + ")"} value="1" /> | <Tab label={intl.formatMessage({id: 'processing'}) + " (" + submittedList?.length + ")"} value="1" /> | ||||
| <Tab label={intl.formatMessage({id: 'pendingPublish'}) + " (" + pendingPublishList?.length + ")"} value="3" /> | <Tab label={intl.formatMessage({id: 'pendingPublish'}) + " (" + pendingPublishList?.length + ")"} value="3" /> | ||||
| @@ -166,7 +166,7 @@ const PublicNotice = () => { | |||||
| </TabContext> | </TabContext> | ||||
| </Grid> | </Grid> | ||||
| ) : ( | ) : ( | ||||
| <Grid item xs={12} sx={{ minHeight: '75vh', maxWidth: '95%', width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> | |||||
| <Grid item xs={12} sx={{ minHeight: '80vh',height:"100%", maxHeight:'300vh', maxWidth: '95%', width: "-webkit-fill-available", backgroundColor: "#fff", mt: 3, mr: 3, ml: 3, mb: 3, ..._sx }}> | |||||
| <TabContext value={selectedTab}> | <TabContext value={selectedTab}> | ||||
| <Box sx={{ borderBottom: 1, borderColor: 'divider' }}> | <Box sx={{ borderBottom: 1, borderColor: 'divider' }}> | ||||
| <TabList onChange={handleChange} aria-label="lab API tabs example"> | <TabList onChange={handleChange} aria-label="lab API tabs example"> | ||||
| @@ -1,7 +1,7 @@ | |||||
| // material-uisubDivision | // material-uisubDivision | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, FormControlLabel, | |||||
| FormControlLabel, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Typography | Typography | ||||
| } from '@mui/material'; | } from '@mui/material'; | ||||
| @@ -19,6 +19,8 @@ import AddCircleOutlineIcon from '@mui/icons-material/AddCircleOutline'; | |||||
| import { useNavigate } from "react-router"; | import { useNavigate } from "react-router"; | ||||
| import axios from "axios"; | import axios from "axios"; | ||||
| import { GET_EMAIL_LIST } from 'utils/ApiPathConst'; | import { GET_EMAIL_LIST } from 'utils/ApiPathConst'; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -76,15 +78,16 @@ const UserSearchForm = ({ applySearch }) => { | |||||
| content={false}> | content={false}> | ||||
| <form onSubmit={handleSubmit(onSubmit)}> | <form onSubmit={handleSubmit(onSubmit)}> | ||||
| {/*row 1*/} | |||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center"> | |||||
| <Typography variant="h5">Search Form (GLD User)</Typography> | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Search Form (GLD User) | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems={"center"}> | |||||
| <Grid container display="flex" alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | ||||
| <TextField | <TextField | ||||
| fullWidth | fullWidth | ||||
| @@ -156,56 +159,48 @@ const UserSearchForm = ({ applySearch }) => { | |||||
| size="small" | size="small" | ||||
| /> | /> | ||||
| } | } | ||||
| label={<Typography variant="h5">Locked</Typography>} | |||||
| label={<Typography variant="h6">Locked</Typography>} | |||||
| /> | /> | ||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| {/*last row*/} | |||||
| <Grid container direction="row" | |||||
| justifyContent="space-between" | |||||
| alignItems="center"> | |||||
| <Grid item xs={3} md={3} sx={{ ml: 3, mr: 1, mb: 3, mt: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| onClick={handleNewUserClick} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <AddCircleOutlineIcon sx={{ mb: 0.5 }} /> | |||||
| <Typography sx={{ ml: 1 }} variant="h5">New User</Typography> | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item xs={8} md={8} sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Clear</Typography> | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| type="submit" | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Search</Typography> | |||||
| </Button> | |||||
| {/*last row*/} | |||||
| <Grid container direction="row" | |||||
| justifyContent="space-between" | |||||
| alignItems="center"> | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item xs={3} md={3} sx={{ ml: 3,mb: 3 }}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={handleNewUserClick} | |||||
| startIcon={<AddCircleOutlineIcon/>} | |||||
| > | |||||
| New User | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item xs={8} md={8}> | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3,}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| > | |||||
| Clear | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{ mb: 3 }}> | |||||
| <Button | |||||
| variant="contained" | |||||
| type="submit" | |||||
| > | |||||
| Search | |||||
| </Button> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| @@ -82,7 +82,7 @@ const UserSettingPage = () => { | |||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm applySearch={applySearch} /> | <SearchForm applySearch={applySearch} /> | ||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | {/*row 2*/} | ||||
| @@ -1,7 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Autocomplete, | Autocomplete, | ||||
| Typography | Typography | ||||
| @@ -10,6 +9,8 @@ import MainCard from "../../../components/MainCard"; | |||||
| import { useForm } from "react-hook-form"; | import { useForm } from "react-hook-form"; | ||||
| import { useState } from "react"; | import { useState } from "react"; | ||||
| import * as React from "react"; | import * as React from "react"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -48,15 +49,16 @@ const UserSearchForm_Individual = ({ applySearch }) => { | |||||
| content={false}> | content={false}> | ||||
| <form onSubmit={handleSubmit(onSubmit)}> | <form onSubmit={handleSubmit(onSubmit)}> | ||||
| {/*row 1*/} | |||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center"> | |||||
| <Typography variant="h5">Search Form</Typography> | |||||
| <Grid container sx={{ ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Search Form | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems={"center"}> | |||||
| <Grid container display="flex" alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | ||||
| <TextField | <TextField | ||||
| fullWidth | fullWidth | ||||
| @@ -142,32 +144,26 @@ const UserSearchForm_Individual = ({ applySearch }) => { | |||||
| {/*last row*/} | {/*last row*/} | ||||
| <Grid container maxWidth justifyContent="flex-end"> | <Grid container maxWidth justifyContent="flex-end"> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| onClick={resetForm} | onClick={resetForm} | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Clear</Typography> | |||||
| > | |||||
| Clear | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ ml: 3, mr: 3, mb: 3, mt: 3 }}> | |||||
| <Grid item sx={{ mb: 3}}> | |||||
| <Button | <Button | ||||
| size="large" | |||||
| variant="contained" | variant="contained" | ||||
| type="submit" | type="submit" | ||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Submit</Typography> | |||||
| > | |||||
| Submit | |||||
| </Button> | </Button> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| </MainCard> | </MainCard> | ||||
| @@ -71,13 +71,15 @@ const UserSearchPage_Individual = () => { | |||||
| <Grid item xs={12}> | <Grid item xs={12}> | ||||
| <div style={BackgroundHead}> | <div style={BackgroundHead}> | ||||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | ||||
| <Typography ml={15} color='#FFF' variant="h4">View Individual User</Typography> | |||||
| <Typography ml={15} color='#FFF' variant="h4"> | |||||
| View Individual User | |||||
| </Typography> | |||||
| </Stack> | </Stack> | ||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm applySearch={applySearch} /> | <SearchForm applySearch={applySearch} /> | ||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | {/*row 2*/} | ||||
| @@ -1,7 +1,7 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, Autocomplete, | |||||
| Autocomplete, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Typography | Typography | ||||
| } from '@mui/material'; | } from '@mui/material'; | ||||
| @@ -10,6 +10,8 @@ import {useForm} from "react-hook-form"; | |||||
| import { useState} from "react"; | import { useState} from "react"; | ||||
| import * as React from "react"; | import * as React from "react"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -51,151 +53,145 @@ const UserSearchForm_Organization = ({applySearch}) => { | |||||
| border={false} | border={false} | ||||
| content={false}> | content={false}> | ||||
| <form onSubmit={handleSubmit(onSubmit)}> | |||||
| {/*row 1*/} | |||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center"> | |||||
| <Typography variant="h5">Search Form</Typography> | |||||
| </Grid> | |||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("orgName")} | |||||
| id="orgName" | |||||
| label="Org Name" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("brNoStr")} | |||||
| id="brNoStr" | |||||
| label="BR No." | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| <form onSubmit={handleSubmit(onSubmit)} > | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Search Form | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | |||||
| <Grid container display="flex" alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | ||||
| <TextField | |||||
| fullWidth | |||||
| {...register("userName")} | |||||
| id='userName' | |||||
| label="Username" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("contactPerson")} | |||||
| id="contactPerson" | |||||
| label="Name" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("email")} | |||||
| id="email" | |||||
| label="Email" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("phone")} | |||||
| id="phone" | |||||
| label="Phone" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <Autocomplete | |||||
| {...register("accountFilter")} | |||||
| disablePortal | |||||
| id="accountFilter" | |||||
| size="small" | |||||
| options={["All", "Active","Locked","Not verified"]} | |||||
| value={accountFilter} | |||||
| onChange={(event, newValue) => { | |||||
| if (newValue !== null){ | |||||
| setAccountFilter(newValue); | |||||
| } | |||||
| }} | |||||
| renderInput={(params) => ( | |||||
| <TextField {...params} | |||||
| label="Status" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("orgName")} | |||||
| id="orgName" | |||||
| label="Org Name" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("brNoStr")} | |||||
| id="brNoStr" | |||||
| label="BR No." | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("userName")} | |||||
| id='userName' | |||||
| label="Username" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("contactPerson")} | |||||
| id="contactPerson" | |||||
| label="Name" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("email")} | |||||
| id="email" | |||||
| label="Email" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("phone")} | |||||
| id="phone" | |||||
| label="Phone" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||||
| <Autocomplete | |||||
| {...register("accountFilter")} | |||||
| disablePortal | |||||
| id="accountFilter" | |||||
| size="small" | |||||
| options={["All", "Active","Locked","Not verified"]} | |||||
| value={accountFilter} | |||||
| onChange={(event, newValue) => { | |||||
| if (newValue !== null){ | |||||
| setAccountFilter(newValue); | |||||
| } | |||||
| }} | |||||
| renderInput={(params) => ( | |||||
| <TextField {...params} | |||||
| label="Status" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| )} | |||||
| /> | /> | ||||
| )} | |||||
| /> | |||||
| </Grid> | |||||
| {/*<Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}>*/} | |||||
| {/* <TextField*/} | |||||
| {/* fullWidth*/} | |||||
| {/* {...register("subDivisionId")}*/} | |||||
| {/* id="subDivision"*/} | |||||
| {/* label="Sub-Division"*/} | |||||
| {/* />*/} | |||||
| {/*</Grid>*/} | |||||
| </Grid> | |||||
| </Grid> | |||||
| {/*<Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}>*/} | |||||
| {/* <TextField*/} | |||||
| {/* fullWidth*/} | |||||
| {/* {...register("subDivisionId")}*/} | |||||
| {/* id="subDivision"*/} | |||||
| {/* label="Sub-Division"*/} | |||||
| {/* />*/} | |||||
| {/*</Grid>*/} | |||||
| {/*last row*/} | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <Grid item sx={{ml:3, mr:3, mb:3, mt:3}}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Clear</Typography> | |||||
| </Button> | |||||
| </Grid> | </Grid> | ||||
| <Grid item sx={{ml:3, mr:3, mb:3, mt:3}}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| type="submit" | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Submit</Typography> | |||||
| </Button> | |||||
| {/*last row*/} | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item sx={{ml:3, mr:3, mb:3}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| > | |||||
| Clear | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{mb:3}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| type="submit" | |||||
| > | |||||
| Submit | |||||
| </Button> | |||||
| </Grid> | |||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| @@ -77,7 +77,7 @@ const UserSearchPage_Organization = () => { | |||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <SearchForm applySearch={applySearch} /> | <SearchForm applySearch={applySearch} /> | ||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | {/*row 2*/} | ||||
| @@ -1,7 +1,6 @@ | |||||
| // material-ui | // material-ui | ||||
| import { | import { | ||||
| Button, | Button, | ||||
| CardContent, | |||||
| Grid, TextField, | Grid, TextField, | ||||
| Typography | Typography | ||||
| } from '@mui/material'; | } from '@mui/material'; | ||||
| @@ -10,6 +9,8 @@ import { useForm } from "react-hook-form"; | |||||
| import * as React from "react"; | import * as React from "react"; | ||||
| import AddCircleOutlineIcon from '@mui/icons-material/AddCircleOutline'; | import AddCircleOutlineIcon from '@mui/icons-material/AddCircleOutline'; | ||||
| import { useNavigate } from "react-router"; | import { useNavigate } from "react-router"; | ||||
| import {PNSPS_BUTTON_THEME} from "../../themes/buttonConst"; | |||||
| import {ThemeProvider} from "@emotion/react"; | |||||
| // ==============================|| DASHBOARD - DEFAULT ||============================== // | // ==============================|| DASHBOARD - DEFAULT ||============================== // | ||||
| @@ -37,83 +38,82 @@ const UserGroupSearchForm = ({ applySearch }) => { | |||||
| > | > | ||||
| <form onSubmit={handleSubmit(onSubmit)}> | <form onSubmit={handleSubmit(onSubmit)}> | ||||
| {/*row 1*/} | |||||
| <CardContent sx={{ px: 2.5, pt: 3 }}> | |||||
| <Grid item justifyContent="space-between" alignItems="center"> | |||||
| <Typography variant="h5">Search Form</Typography> | |||||
| <Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1}} width="98%"> | |||||
| {/*row 1*/} | |||||
| <Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> | |||||
| <Typography variant="h5" > | |||||
| Search Form | |||||
| </Typography> | |||||
| </Grid> | </Grid> | ||||
| </CardContent> | |||||
| {/*row 2*/} | |||||
| {/*row 2*/} | |||||
| <Grid container alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("name")} | |||||
| id='userGroupName' | |||||
| label="User Group Name" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid container display="flex" alignItems={"center"}> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("name")} | |||||
| id='userGroupName' | |||||
| label="User Group Name" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("description")} | |||||
| id="userGroupDescription" | |||||
| label="User Group Description" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||||
| <TextField | |||||
| fullWidth | |||||
| {...register("description")} | |||||
| id="userGroupDescription" | |||||
| label="User Group Description" | |||||
| InputLabelProps={{ | |||||
| shrink: true | |||||
| }} | |||||
| /> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | |||||
| {/*last row*/} | |||||
| <Grid container direction="row" | |||||
| justifyContent="space-between" | |||||
| alignItems="center" | |||||
| sx={{ mt: 3 }} | |||||
| > | |||||
| <Grid item xs={3} md={3} sx={{ ml: 3, mr: 1 }}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={handleNewGroupClick} | |||||
| startIcon={<AddCircleOutlineIcon sx={{alignItems:"center"}}/>} | |||||
| > | |||||
| <Typography variant="h5">New Group</Typography> | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item xs={8} md={8} sx={{ ml: 3, mr: 3 }}> | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <Grid item sx={{ ml: 3, mr: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Clear</Typography> | |||||
| </Button> | |||||
| </Grid> | |||||
| {/*last row*/} | |||||
| <Grid container direction="row" | |||||
| justifyContent="space-between" | |||||
| alignItems="center" | |||||
| sx={{ mb: 3 }} | |||||
| > | |||||
| <ThemeProvider theme={PNSPS_BUTTON_THEME}> | |||||
| <Grid item xs={3} md={3} sx={{ ml: 3}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={handleNewGroupClick} | |||||
| startIcon={<AddCircleOutlineIcon sx={{alignItems:"center"}}/>} | |||||
| > | |||||
| New Group | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item xs={8} md={8}> | |||||
| <Grid container maxWidth justifyContent="flex-end"> | |||||
| <Grid item sx={{mr:3}}> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={resetForm} | |||||
| > | |||||
| Clear | |||||
| </Button> | |||||
| </Grid> | |||||
| <Grid item sx={{ ml: 3, mr: 3 }}> | |||||
| <Button | |||||
| size="large" | |||||
| variant="contained" | |||||
| type="submit" | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| <Typography variant="h5">Search</Typography> | |||||
| </Button> | |||||
| <Grid item > | |||||
| <Button | |||||
| variant="contained" | |||||
| type="submit" | |||||
| sx={{ | |||||
| textTransform: 'capitalize', | |||||
| alignItems: 'end' | |||||
| }}> | |||||
| Search | |||||
| </Button> | |||||
| </Grid> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </ThemeProvider> | |||||
| </Grid> | </Grid> | ||||
| </Grid> | </Grid> | ||||
| </form> | </form> | ||||
| @@ -79,13 +79,15 @@ const UserGroupSearchPanel = () => { | |||||
| <Grid item xs={12}> | <Grid item xs={12}> | ||||
| <div style={BackgroundHead}> | <div style={BackgroundHead}> | ||||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | ||||
| <Typography ml={15} color='#FFF' variant="h4">View User Group</Typography> | |||||
| <Typography ml={15} color='#FFF' variant="h4"> | |||||
| View User Group | |||||
| </Typography> | |||||
| </Stack> | </Stack> | ||||
| </div> | </div> | ||||
| </Grid> | </Grid> | ||||
| {/*row 1*/} | {/*row 1*/} | ||||
| <Grid item xs={12} md={12} lg={12}> | |||||
| <Grid item xs={12} md={12} lg={12} sx={{mb:-1}}> | |||||
| <UserGroupSearchForm applySearch={applySearch} /> | <UserGroupSearchForm applySearch={applySearch} /> | ||||
| </Grid> | </Grid> | ||||
| {/*row 2*/} | {/*row 2*/} | ||||