| @@ -25,7 +25,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| const columns = [ | |||
| { | |||
| field: 'announceDate', | |||
| headerName: 'Announce Date', | |||
| headerName: 'Announcement Date', | |||
| width: 250, | |||
| cellClassName: 'announceDate', | |||
| renderCell: (params) => { | |||
| @@ -35,7 +35,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| { | |||
| id: 'subjec', | |||
| field: 'subjec', | |||
| headerName: 'Subjec', | |||
| headerName: 'Subject', | |||
| minWidth: 400, | |||
| renderCell: (params) => { | |||
| return <> | |||
| @@ -68,14 +68,14 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria}) => { | |||
| </Grid> | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:marginBottom}}> | |||
| <Grid container> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid container spacing={1}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| {...register("dateFrom")} | |||
| id="dateFrom" | |||
| type="date" | |||
| label={"Submit Date(From)"} | |||
| label={"Submit Date (From)"} | |||
| defaultValue={searchCriteria.dateFrom} | |||
| InputProps={{ inputProps: { max: maxDate } }} | |||
| onChange={(newValue) => { | |||
| @@ -87,11 +87,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria}) => { | |||
| /> | |||
| </Grid> | |||
| <Grid item xs={1.5} s={1.5} md={1.5} lg={1} sx={{mt:0.8, display: 'flex', justifyContent:"center", alignItems: 'flex-start'}}> | |||
| To | |||
| </Grid> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| InputLabelProps={{ | |||
| @@ -104,7 +100,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria}) => { | |||
| }} | |||
| id="dateTo" | |||
| type="date" | |||
| //label={"Submit Date(To)"} | |||
| label={"Submit Date (To)"} | |||
| defaultValue={searchCriteria.dateTo} | |||
| /> | |||
| </Grid> | |||
| @@ -164,7 +164,7 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch }) | |||
| const columns = [ | |||
| { | |||
| field: 'appNo', | |||
| headerName: 'App No.', | |||
| headerName: 'Application No.', | |||
| width: 150, | |||
| }, | |||
| { | |||
| @@ -211,7 +211,7 @@ export default function SearchDemandNote({ recordList, reloadFun, applySearch }) | |||
| }, | |||
| { | |||
| field: 'amount', | |||
| headerName: 'Amount($)', | |||
| headerName: 'Amount ($)', | |||
| width: 120, | |||
| align: 'right', | |||
| valueGetter: (params) => { | |||
| @@ -142,7 +142,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| }} | |||
| renderInput={(params) => ( | |||
| <TextField {...params} | |||
| label="Gazette Issue" | |||
| label="Gazette Issue No." | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -156,7 +156,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| fullWidth | |||
| {...register("appNo")} | |||
| id='appNo' | |||
| label={"App No."} | |||
| label={"Application No."} | |||
| defaultValue={searchCriteria.appNo} | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| @@ -182,7 +182,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| }} | |||
| renderInput={(params) => ( | |||
| <TextField {...params} | |||
| label="BR No./Organisation" | |||
| label="BR No./ Organisation" | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -208,8 +208,8 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| </Grid> | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||
| <Grid container> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid container spacing={1}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| {...register("dateFrom")} | |||
| @@ -227,11 +227,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| /> | |||
| </Grid> | |||
| <Grid item xs={1.5} s={1.5} md={1.5} lg={1} sx={{mt:0.8, display: 'flex', justifyContent:"center", alignItems: 'flex-start'}}> | |||
| To | |||
| </Grid> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| InputLabelProps={{ | |||
| @@ -244,7 +240,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| }} | |||
| id="dateTo" | |||
| type="date" | |||
| //label={"Submit Date(To)"} | |||
| label={"Issue Date (To)"} | |||
| defaultValue={searchCriteria.dateTo} | |||
| /> | |||
| </Grid> | |||
| @@ -252,14 +248,14 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| </Grid> | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||
| <Grid container> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid container spacing={1}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| {...register("dueDateFrom")} | |||
| id="dueDateFrom" | |||
| type="date" | |||
| label={"Due Date(From)"} | |||
| label={"Due Date (From)"} | |||
| defaultValue={searchCriteria.dueDateFrom} | |||
| InputProps={{ inputProps: { max: maxDueDate } }} | |||
| onChange={(newValue) => { | |||
| @@ -271,11 +267,8 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| /> | |||
| </Grid> | |||
| <Grid item xs={1.5} s={1.5} md={1.5} lg={1} sx={{mt:0.8, display: 'flex', justifyContent:"center", alignItems: 'flex-start'}}> | |||
| To | |||
| </Grid> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| InputLabelProps={{ | |||
| @@ -288,7 +281,7 @@ const SearchDemandNoteForm = ({ applySearch, orgComboData, searchCriteria, issue | |||
| }} | |||
| id="dueDateTo" | |||
| type="date" | |||
| //label={"Submit Date(To)"} | |||
| label={"Due Date (To)"} | |||
| defaultValue={searchCriteria.dueDateTo} | |||
| /> | |||
| </Grid> | |||
| @@ -55,25 +55,25 @@ export default function EmailTemplateTable({ recordList }) { | |||
| { | |||
| id: 'params', | |||
| field: 'params', | |||
| headerName: 'Params', | |||
| headerName: 'Parameters', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| id: 'subjectCht', | |||
| field: 'subjectCht', | |||
| headerName: 'SubjectCht', | |||
| headerName: 'Subject (Cht)', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| id: 'subjectChs', | |||
| field: 'subjectChs', | |||
| headerName: 'SubjectChs', | |||
| headerName: 'Subject (Chs)', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| id: 'subjectEng', | |||
| field: 'subjectEng', | |||
| headerName: 'SubjectEng', | |||
| headerName: 'Subject (Eng)', | |||
| flex: 1, | |||
| }, | |||
| ]; | |||
| @@ -59,7 +59,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| { | |||
| id: 'payAmount', | |||
| field: 'payAmount', | |||
| headerName: 'Payment Amount', | |||
| headerName: 'Amount ($)', | |||
| flex: 5, | |||
| valueGetter: (params) => { | |||
| return (params?.value) ? "$ " + FormatUtils.currencyFormat(params?.value) : ""; | |||
| @@ -73,7 +73,10 @@ const SearchPublicNoticeForm = ({ applySearch, generateXML, searchCriteria }) => | |||
| type="date" | |||
| label="Credit Date" | |||
| defaultValue={searchCriteria.dateFrom} | |||
| InputProps={{ inputProps: { max: maxDate } }} | |||
| InputProps={{ | |||
| inputProps: { | |||
| max: maxDate, | |||
| } }} | |||
| // onChange={(newValue) => { | |||
| // setMinDate(DateUtils.dateStr(newValue)); | |||
| // }} | |||
| @@ -127,7 +127,9 @@ const Index = () => { | |||
| <Grid item xs={12}> | |||
| <div style={BackgroundHead}> | |||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | |||
| <Typography ml={15} color='#FFF' variant="h4">GFMIS</Typography> | |||
| <Typography ml={15} color='#FFF' variant="h4"> | |||
| GFMIS Generate XML | |||
| </Typography> | |||
| </Stack> | |||
| </div> | |||
| </Grid> | |||
| @@ -54,7 +54,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| { | |||
| id: 'fee', | |||
| field: 'fee', | |||
| headerName: 'Amount (HK$)', | |||
| headerName: 'Amount ($)', | |||
| width: 150, | |||
| valueGetter: (params) => { | |||
| return (params?.value) ? "$ " + FormatUtils.currencyFormat(params?.value) : ""; | |||
| @@ -70,7 +70,7 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { | |||
| <Grid container > | |||
| <Grid item xs={6} md={6} sx={{ml:-5, textAlign: "right" }}> | |||
| <FormLabel sx={{ color: "#000000" }}> | |||
| Trans No.: | |||
| Transaction No.: | |||
| </FormLabel> | |||
| </Grid> | |||
| <Grid item xs={6} md={5} sx={{ml:5, textAlign: "left" }}> | |||
| @@ -84,7 +84,7 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { | |||
| <Grid container > | |||
| <Grid item xs={6} md={6} sx={{ml:-5, textAlign: "right" }}> | |||
| <FormLabel sx={{ color: "#000000" }}> | |||
| Trans Date: | |||
| Transaction Date: | |||
| </FormLabel> | |||
| </Grid> | |||
| <Grid item xs={6} md={5} sx={{ml:5, textAlign: "left" }}> | |||
| @@ -98,7 +98,7 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { | |||
| <Grid container > | |||
| <Grid item xs={6} md={6} sx={{ml:-5, textAlign: "right" }}> | |||
| <FormLabel sx={{ color: "#000000" }}> | |||
| Trans Time: | |||
| Transaction Time: | |||
| </FormLabel> | |||
| </Grid> | |||
| <Grid item xs={6} md={5} sx={{ml:5, textAlign: "left" }}> | |||
| @@ -112,7 +112,7 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { | |||
| <Grid container > | |||
| <Grid item xs={6} md={6} sx={{ml:-5, textAlign: "right" }}> | |||
| <FormLabel sx={{ color: "#000000" }}> | |||
| EGIS Ref No.: | |||
| EGIS Reference No.: | |||
| </FormLabel> | |||
| </Grid> | |||
| <Grid item xs={6} md={5} sx={{ml:5, textAlign: "left" }}> | |||
| @@ -153,7 +153,7 @@ const PaymentDetails = ({ formData,doPrint,onDownload }) => { | |||
| <Grid item xs={12} md={12}> | |||
| <Grid container alignItems="center"> | |||
| <Grid item xs={6} md={6} sx={{ml:-5, textAlign: "right" }}> | |||
| <FormLabel sx={{ fontSize: "16px", color: "#000000" }}> | |||
| <FormLabel sx={{ color: "#000000" }}> | |||
| Payment Receipt: | |||
| </FormLabel> | |||
| </Grid> | |||
| @@ -40,28 +40,28 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| const columns = [ | |||
| { | |||
| field: 'actions', | |||
| headerName: 'Trans. No.', | |||
| id: 'appNos', | |||
| field: 'appNos', | |||
| headerName: 'Application No.', | |||
| flex: 1, | |||
| cellClassName: 'actions', | |||
| renderCell: (params) => { | |||
| return <Button onClick={handleEditClick(params)}><u>{params.row.transNo}</u></Button>; | |||
| let appNo = params.row.appNos; | |||
| return <div style={{ margin: 4 }}>{appNo}</div> | |||
| }, | |||
| }, | |||
| { | |||
| id: 'appNos', | |||
| field: 'appNos', | |||
| headerName: 'App No.', | |||
| field: 'actions', | |||
| headerName: 'Transaction No.', | |||
| flex: 1, | |||
| cellClassName: 'actions', | |||
| renderCell: (params) => { | |||
| let appNo = params.row.appNos; | |||
| return <div style={{ margin: 4 }}>{appNo}</div> | |||
| return <Button onClick={handleEditClick(params)}><u>{params.row.transNo}</u></Button>; | |||
| }, | |||
| }, | |||
| { | |||
| id: 'transDateTime', | |||
| field: 'transDateTime', | |||
| headerName: 'Trans. Date', | |||
| headerName: 'Transaction Date', | |||
| flex: 1, | |||
| valueGetter: (params) => { | |||
| return DateUtils.dateStr(params?.value); | |||
| @@ -78,7 +78,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| { | |||
| id: 'payAmount', | |||
| field: 'payAmount', | |||
| headerName: 'Amount', | |||
| headerName: 'Amount ($)', | |||
| width: 150, | |||
| valueGetter: (params) => { | |||
| return (params?.value) ? "$ " + FormatUtils.currencyFormat(params?.value) : ""; | |||
| @@ -62,7 +62,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||
| fullWidth | |||
| {...register("code")} | |||
| id='code' | |||
| label="App No.:" | |||
| label="Application No." | |||
| defaultValue={searchCriteria.code} | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| @@ -71,14 +71,14 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||
| </Grid> | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:marginBottom}}> | |||
| <Grid container> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid container spacing={1}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| {...register("dateFrom")} | |||
| id="dateFrom" | |||
| type="date" | |||
| label="Trans. Date From" | |||
| label="Transaction Date (From)" | |||
| defaultValue={searchCriteria.dateFrom} | |||
| InputProps={{ inputProps: { max: maxDate } }} | |||
| onChange={(newValue) => { | |||
| @@ -89,10 +89,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||
| }} | |||
| /> | |||
| </Grid> | |||
| <Grid item xs={1.5} s={1.5} md={1.5} lg={1} sx={{mt:0.8, display: 'flex', justifyContent:"center", alignItems: 'flex-start'}}> | |||
| To | |||
| </Grid> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| InputLabelProps={{ | |||
| @@ -105,7 +102,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||
| }} | |||
| id="dateTo" | |||
| type="date" | |||
| label="Trans. Date To" | |||
| label="Transaction Date (To)" | |||
| defaultValue={searchCriteria.dateTo} | |||
| /> | |||
| </Grid> | |||
| @@ -117,7 +114,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { | |||
| fullWidth | |||
| {...register("transNo")} | |||
| id='transNo' | |||
| label="Trans. No.:" | |||
| label="Transaction No." | |||
| defaultValue={searchCriteria.transNo} | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| @@ -69,7 +69,7 @@ const Index = () => { | |||
| <div style={BackgroundHead}> | |||
| <Stack direction="row" height='70px' justifyContent="flex-start" alignItems="center"> | |||
| <Typography ml={15} color='#FFF' variant="h4"> | |||
| Payment Record | |||
| Online Payment Record | |||
| </Typography> | |||
| </Stack> | |||
| </div> | |||
| @@ -68,7 +68,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| { | |||
| id: 'replyDate', | |||
| field: 'replyDate', | |||
| headerName: 'Confirmed/Return Date', | |||
| headerName: 'Confirmed/ Return Date', | |||
| flex: 1, | |||
| valueGetter: (params) => { | |||
| return params?.value ? DateUtils.datetimeStr(params?.value) : ""; | |||
| @@ -116,7 +116,7 @@ export default function SearchPublicNoticeTable({ recordList }) { | |||
| { | |||
| id: 'fee', | |||
| field: 'fee', | |||
| headerName: 'Fee', | |||
| headerName: 'Amount ($)', | |||
| flex: 1, | |||
| valueGetter: (params) => { | |||
| return (params?.value) ? "$ " + FormatUtils.currencyFormat(params?.value) : ""; | |||
| @@ -142,7 +142,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| fullWidth | |||
| {...register("code")} | |||
| id='code' | |||
| label="Application / Gazette Code" | |||
| label="Application No. / Gazette Code" | |||
| defaultValue={searchCriteria.code} | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| @@ -165,7 +165,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| renderInput={(params) => ( | |||
| <TextField {...params} | |||
| label="Gazette Issue" | |||
| label="Gazette Issue No." | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -199,8 +199,8 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| </Grid> | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:marginBottom}}> | |||
| <Grid container> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid container spacing={1}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| {...register("dateFrom")} | |||
| @@ -217,10 +217,8 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| /> | |||
| </Grid> | |||
| <Grid item xs={1.5} s={1.5} md={1.5} lg={1} sx={{mt:0.8, display: 'flex', justifyContent:"center", alignItems: 'flex-start'}}> | |||
| To | |||
| </Grid> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| InputLabelProps={{ | |||
| @@ -233,7 +231,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| id="dateTo" | |||
| type="date" | |||
| label="Proof Issue Date(To)" | |||
| label="Proof Issue Date (To)" | |||
| defaultValue={searchCriteria.dateTo} | |||
| /> | |||
| </Grid> | |||
| @@ -257,7 +255,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: 3 }}> | |||
| <Autocomplete | |||
| {...register("status")} | |||
| disablePortal | |||
| disablePortal={false} | |||
| id="status" | |||
| size="small" | |||
| filterOptions={(options) => options} | |||
| @@ -296,7 +294,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| renderInput={(params) => ( | |||
| <TextField {...params} | |||
| label="Organisation" | |||
| label="BR No./ Organisation" | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -42,7 +42,7 @@ export default function SearchPublicNoticeTable({ recordList, reloadFunction }) | |||
| const columns = [ | |||
| { | |||
| field: 'actions', | |||
| headerName: 'App No.', | |||
| headerName: 'Application No.', | |||
| width: 150, | |||
| cellClassName: 'actions', | |||
| renderCell: (params) => { | |||
| @@ -70,7 +70,7 @@ export default function SearchPublicNoticeTable({ recordList, reloadFunction }) | |||
| { | |||
| id: 'contactPerson', | |||
| field: 'contactPerson', | |||
| headerName: 'Contact Person', | |||
| headerName: 'Client', | |||
| flex: 2, | |||
| renderCell: (params) => { | |||
| let company = params.row.enCompanyName != null ? params.row.enCompanyName : params.row.chCompanyName; | |||
| @@ -109,7 +109,7 @@ export default function SearchPublicNoticeTable({ recordList, reloadFunction }) | |||
| { | |||
| id: 'issueId', | |||
| field: 'issueId', | |||
| headerName: 'Issue No', | |||
| headerName: 'Gazette Issue No.', | |||
| flex: 1.5, | |||
| valueGetter: (params) => { | |||
| return params.row.issueYear | |||
| @@ -125,7 +125,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| fullWidth | |||
| {...register("appNo")} | |||
| id='appNo' | |||
| label={"App No."} | |||
| label={"Application No."} | |||
| defaultValue={searchCriteria.appNo} | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| @@ -134,14 +134,14 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| </Grid> | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ ml: 3, mr: 3, mb: marginBottom }}> | |||
| <Grid container> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid container spacing={1}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| {...register("dateFrom")} | |||
| id="dateFrom" | |||
| type="date" | |||
| label={"Submit Date(From)"} | |||
| label={"Submit Date (From)"} | |||
| defaultValue={searchCriteria.dateFrom} | |||
| InputProps={{ inputProps: { max: maxDate } }} | |||
| onChange={(newValue) => { | |||
| @@ -152,12 +152,8 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| /> | |||
| </Grid> | |||
| <Grid item xs={1.5} s={1.5} md={1.5} lg={1} sx={{ mt: 0.8, display: 'flex', justifyContent: "center", alignItems: 'flex-start' }}> | |||
| To | |||
| </Grid> | |||
| <Grid item xs={5.25} s={5.25} md={5.25} lg={5.5}> | |||
| <Grid item xs={6}> | |||
| <TextField | |||
| fullWidth | |||
| InputLabelProps={{ | |||
| @@ -170,7 +166,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| id="dateTo" | |||
| type="date" | |||
| //label={"Submit Date(To)"} | |||
| label={"Submit Date (To)"} | |||
| defaultValue={searchCriteria.dateTo} | |||
| /> | |||
| </Grid> | |||
| @@ -267,7 +263,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| renderInput={(params) => ( | |||
| <TextField {...params} | |||
| label="Organisation" | |||
| label="BR No./ Organisation" | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -295,7 +291,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| }} | |||
| renderInput={(params) => ( | |||
| <TextField {...params} | |||
| label="Gazette Issue" | |||
| label="Gazette Issue No." | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -309,7 +305,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData, searchCriteria, iss | |||
| fullWidth | |||
| {...register("groupNo")} | |||
| id='groupNo' | |||
| label="Gazette Code." | |||
| label="Gazette Code" | |||
| defaultValue={searchCriteria.groupNo} | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| @@ -81,7 +81,7 @@ export default function UserTable({recordList,setChangeLocked}) { | |||
| { | |||
| id: 'username', | |||
| field: 'username', | |||
| headerName: 'User Name', | |||
| headerName: 'Username', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| @@ -69,7 +69,7 @@ const UserSearchForm_Organization = ({applySearch}) => { | |||
| fullWidth | |||
| {...register("orgName")} | |||
| id="orgName" | |||
| label="Org Name" | |||
| label="Organisation Name" | |||
| InputLabelProps={{ | |||
| shrink: true | |||
| }} | |||
| @@ -139,7 +139,7 @@ const UserSearchForm_Organization = ({applySearch}) => { | |||
| <Grid item xs={9} s={6} md={5} lg={3} sx={{ml:3, mr:3, mb:3}}> | |||
| <Autocomplete | |||
| {...register("accountFilter")} | |||
| disablePortal | |||
| disablePortal={false} | |||
| id="accountFilter" | |||
| size="small" | |||
| options={["All", "Active","Locked","Not verified"]} | |||
| @@ -49,7 +49,7 @@ export default function UserTable_Organization({recordList}) { | |||
| { | |||
| id: 'username', | |||
| field: 'username', | |||
| headerName: 'User Name', | |||
| headerName: 'Username', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| @@ -61,19 +61,19 @@ export default function UserTable_Organization({recordList}) { | |||
| { | |||
| id: 'enCompanyName', | |||
| field: 'enCompanyName', | |||
| headerName: 'Company(Eng)', | |||
| headerName: 'Company (Eng)', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| id: 'chCompanyName', | |||
| field: 'chCompanyName', | |||
| headerName: 'Company(Ch)', | |||
| headerName: 'Company (Ch)', | |||
| flex: 1, | |||
| }, | |||
| { | |||
| id: 'brNo', | |||
| field: 'brNo', | |||
| headerName: 'Br No', | |||
| headerName: 'BR No.', | |||
| flex: 1, | |||
| }, | |||
| { | |||