|
@@ -19,22 +19,6 @@ const SearchPublicNoticeForm = ({ applySearch, 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 { reset, register, handleSubmit } = useForm() |
|
|
const { reset, register, handleSubmit } = useForm() |
|
|
|
|
|
|
|
|
const onSubmit = (data) => { |
|
|
const onSubmit = (data) => { |
|
@@ -57,21 +41,19 @@ const SearchPublicNoticeForm = ({ applySearch, 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*/} |
|
|
|
|
|
<Grid item justifyContent="space-between" alignItems="center" sx={{mt:1,ml:3,mb:2.5}}> |
|
|
|
|
|
<Typography variant="h5" > |
|
|
|
|
|
Search Form |
|
|
|
|
|
</Typography> |
|
|
|
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/*row 2*/} |
|
|
|
|
|
<Grid container alignItems={"center"}> |
|
|
|
|
|
|
|
|
<form onSubmit={handleSubmit(onSubmit)} > |
|
|
|
|
|
<Grid container sx={{ backgroundColor: '#ffffff', ml: 2, mt: 1, mb: 2.5}} 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> |
|
|
|
|
|
{/*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 |
|
|
<TextField |
|
|
fullWidth |
|
|
fullWidth |
|
@@ -160,8 +142,7 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria }) => { |
|
|
}} |
|
|
}} |
|
|
/> |
|
|
/> |
|
|
</Grid> |
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</Grid> |
|
|
</Grid> |
|
|
</Grid> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|