);
diff --git a/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js b/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js
index 91ffc46..1c6b97f 100644
--- a/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js
+++ b/src/pages/PublicNotice/ListPanel/PendingPaymentTab.js
@@ -80,7 +80,7 @@ export default function SubmittedTab({ rows }) {
field: 'actions',
type: 'actions',
headerName: '',
- width: 50,
+ width: 100,
cellClassName: 'actions',
renderCell: () => {
return
;
@@ -105,7 +105,7 @@ export default function SubmittedTab({ rows }) {
return (
<>
-
+
{
setSelectedRowItems(newSelection);
}}
+ sx={{
+ margin: "4 2 4 2",
+ boxShadow: 1,
+ border: 1,
+ borderColor: '#DDD',
+ '& .super-app-theme--header': {
+ backgroundColor: '#EEE',
+ },
+ }}
/>
diff --git a/src/pages/PublicNotice/ListPanel/PublicNoteStatusUtils.js b/src/pages/PublicNotice/ListPanel/PublicNoteStatusUtils.js
index 134e37d..2886144 100644
--- a/src/pages/PublicNotice/ListPanel/PublicNoteStatusUtils.js
+++ b/src/pages/PublicNotice/ListPanel/PublicNoteStatusUtils.js
@@ -48,6 +48,6 @@ export function getStatusEng(params) {
export function getStatusTag({ color = "#000", textColor = "#FFF", text = "" }) {
return (
-
{text}
+
{text}
)
}
\ No newline at end of file
diff --git a/src/pages/PublicNoticeSearch_GLD/DataGrid.js b/src/pages/PublicNoticeSearch_GLD/DataGrid.js
index b1ccdd3..fd380b1 100644
--- a/src/pages/PublicNoticeSearch_GLD/DataGrid.js
+++ b/src/pages/PublicNoticeSearch_GLD/DataGrid.js
@@ -77,7 +77,6 @@ export default function SearchPublicNoticeTable({ recordList }) {
},
{
field: 'actions',
- type: 'actions',
headerName: '',
width: 100,
cellClassName: 'actions',
diff --git a/src/pages/PublicNoticeSearch_GLD/SearchForm.js b/src/pages/PublicNoticeSearch_GLD/SearchForm.js
index 0986703..bb5d577 100644
--- a/src/pages/PublicNoticeSearch_GLD/SearchForm.js
+++ b/src/pages/PublicNoticeSearch_GLD/SearchForm.js
@@ -16,6 +16,7 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData }) => {
const [type, setType] = React.useState([]);
const [status, setStatus] = React.useState();
+ const [orgLabel, setOrgLabel] = React.useState();
const [orgId, setOrgId] = React.useState();
const [orgCombo, setOrgCombo] = React.useState();
@@ -35,21 +36,23 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData }) => {
dateTo: data.dateTo,
contact: data.contact,
status: status?.type,
- orgId:orgId?.key,
+ orgId: orgId?.key,
};
applySearch(temp);
};
- React.useEffect(()=>{
- if(orgComboData && orgComboData.length>0){
+ React.useEffect(() => {
+ if (orgComboData && orgComboData.length > 0) {
setOrgCombo(orgComboData);
}
- },[orgComboData]);
+ }, [orgComboData]);
function resetForm() {
setType([]);
setStatus();
setOrgId();
+ setOrgLabel("");
+ //orgComboRef.current.clearValue();
reset();
}
@@ -132,26 +135,33 @@ const SearchPublicNoticeForm = ({ applySearch, orgComboData }) => {
/>
-
- option.label || ""}
- onChange={(event, newValue) => {
- if (newValue !== null) {
- setOrgId(newValue);
- }
- }}
- renderInput={(params) => (
-
+ {
+ if (newValue !== null) {
+ setOrgId(newValue);
+ setOrgLabel(newValue.label);
+ } else {
+ setOrgLabel("");
+ }
+ }}
+ renderInput={(params) => (
+
+ )}
/>
- )}
- />
-
+
+ : <>>
+ }
+