+
"auto"}
onRowDoubleClick={handleRowDoubleClick}
/>
diff --git a/src/pages/Proof/Search_Public/SearchForm.js b/src/pages/Proof/Search_Public/SearchForm.js
index 31ff31c..422cfca 100644
--- a/src/pages/Proof/Search_Public/SearchForm.js
+++ b/src/pages/Proof/Search_Public/SearchForm.js
@@ -3,7 +3,8 @@ import {
Button,
CardContent,
Grid, TextField,
- Autocomplete
+ Autocomplete,
+ Typography
} from '@mui/material';
import MainCard from "components/MainCard";
import { useForm } from "react-hook-form";
@@ -14,8 +15,8 @@ import * as FormatUtils from "utils/FormatUtils";
// ==============================|| DASHBOARD - DEFAULT ||============================== //
-const SearchPublicNoticeForm = ({ applySearch, searchCriteria,issueComboData
- }) => {
+const SearchPublicNoticeForm = ({ applySearch, searchCriteria, issueComboData
+}) => {
const [type, setType] = React.useState([]);
const [status, setStatus] = React.useState(ComboData.proofStatus[0]);
@@ -26,6 +27,21 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria,issueComboData
const [minDate, setMinDate] = React.useState(searchCriteria.dateFrom);
const [maxDate, setMaxDate] = React.useState(searchCriteria.dateTo);
+ 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 onSubmit = (data) => {
@@ -64,24 +80,26 @@ const SearchPublicNoticeForm = ({ applySearch, searchCriteria,issueComboData
reset();
}
- function getIssueLabel(data){
- if(data=={}) return "";
- return data.year
- +" Vol. "+FormatUtils.zeroPad(data.volume,3)
- +", No. "+FormatUtils.zeroPad(data.issueNo,2)
- +", "+DateUtils.dateFormat(data.issueDate, "D MMM YYYY (ddd)");
+ function getIssueLabel(data) {
+ if (data == {}) return "";
+ return data.year
+ + " Vol. " + FormatUtils.zeroPad(data.volume, 3)
+ + ", No. " + FormatUtils.zeroPad(data.issueNo, 2)
+ + ", " + DateUtils.dateFormat(data.issueDate, "D MMM YYYY (ddd)");
}
return (
+ content={false}
+ sx={_sx}
+ >