Update Hospital portal

This commit is contained in:
ivan-sim
2024-03-04 09:54:07 +07:00
parent 3bae411dc6
commit 39ccf2a0b5
5 changed files with 55 additions and 25 deletions

View File

@@ -304,12 +304,12 @@ export default function TableList() {
label: localeData.txtStatus,
isSort: true,
},
{
id: 'action',
align: 'right',
label: '',
isSort: false,
},
// {
// id: 'action',
// align: 'right',
// label: '',
// isSort: false,
// },
];
@@ -363,15 +363,15 @@ export default function TableList() {
{obj.submission_date ? fDateSuffix(obj.submission_date) : ''}
</Label>
,
action:
<TableMoreMenu actions={
<>
<MenuItem onClick={() => navigate ('/claim/detail/'+obj.claim_request_id)}>
<Iconify icon="eva:eye-fill" />
View
</MenuItem>
</>
} />
// action:
// <TableMoreMenu actions={
// <>
// <MenuItem onClick={() => navigate ('/claim/detail/'+obj.claim_request_id)}>
// <Iconify icon="eva:eye-fill" />
// View
// </MenuItem>
// </>
// } />
}))
);

View File

@@ -239,7 +239,7 @@ export default function TableList() {
};
// handle start date
const [startDateValue, setStartDateValue] = useState('');
const [startDateValue, setStartDateValue] = useState(null);
const handleStartDateChanges = async (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
@@ -263,7 +263,7 @@ export default function TableList() {
};
// handle end date
const [endDateValue, setEndDateValue] = useState('');
const [endDateValue, setEndDateValue] = useState(null);
const handleEndDateChanges = async (event: React.FormEvent<HTMLFormElement>) => {
event.preventDefault();
@@ -494,8 +494,8 @@ export default function TableList() {
searchs={searchs}
filterStatus={filterStatus}
selected={selected}
// filterStartDate={filterStartDate}
// filterEndDate={filterEndDate}
//filterStartDate={filterStartDate}
//filterEndDate={filterEndDate}
/>
<MuiDialog
title={{name: nameMember}}