tambah kolom dan fitur search code log
This commit is contained in:
@@ -143,6 +143,10 @@ export default function Detail() {
|
||||
</Typography>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Stack direction='row' spacing={2} sx={marginBottom1}>
|
||||
<Typography variant='subtitle2' sx={style1} gutterBottom>Code LOG</Typography>
|
||||
<Typography variant='subtitle2' sx={style2} gutterBottom>{claimRequests?.code_log}</Typography>
|
||||
</Stack>
|
||||
<Stack direction='row' spacing={2} sx={marginBottom1}>
|
||||
<Typography variant='subtitle2' sx={style1} gutterBottom>Provider Name</Typography>
|
||||
<Typography variant='subtitle2' sx={style2} gutterBottom>{claimRequests?.provider}</Typography>
|
||||
|
||||
@@ -483,7 +483,7 @@ export default function List() {
|
||||
// handleShowClaim(row);
|
||||
// }}
|
||||
>
|
||||
{row.code}
|
||||
{row.code} / {row.code_log}
|
||||
</Typography>
|
||||
</TableCell>
|
||||
<TableCell align="left">{row.member?.full_name}</TableCell>
|
||||
@@ -610,7 +610,7 @@ export default function List() {
|
||||
<TableRow>
|
||||
{/* <TableCell style={headStyle} align="left" /> */}
|
||||
<TableCell style={headStyle} align="left">
|
||||
Code
|
||||
Code Claim / Code LOG
|
||||
</TableCell>
|
||||
<TableCell style={headStyle} align="left">
|
||||
Name
|
||||
|
||||
@@ -68,7 +68,7 @@ import CloseIcon from '@mui/icons-material/Close';
|
||||
export default function List() {
|
||||
const [selectAll, setSelectAll] = useState(false);
|
||||
const [selectedRows, setSelectedRows] = useState([]);
|
||||
const [providers, setProviders] = useState(null);
|
||||
const [providers, setProviders] = useState(null);
|
||||
// const [searchText, setSearchText] = useState('');
|
||||
const [order, setOrder] = useState<Order>('desc');
|
||||
const [orderBy, setOrderBy] = useState('created_at');
|
||||
@@ -183,8 +183,6 @@ const dummyServices = [
|
||||
function SearchInput(props: any) {
|
||||
// SEARCH
|
||||
const searchInput = useRef<HTMLInputElement>(null);
|
||||
|
||||
|
||||
|
||||
const handleSearchChange = (event: any) => {
|
||||
const newSearchText = event.target.value ?? '';
|
||||
@@ -506,7 +504,7 @@ const handleExportReportFiled = async () => {
|
||||
{
|
||||
id: 'code',
|
||||
align: 'left',
|
||||
label: 'Code',
|
||||
label: 'Code / Code LOG',
|
||||
isSort: true,
|
||||
},
|
||||
{
|
||||
@@ -622,7 +620,7 @@ const handleExportReportFiled = async () => {
|
||||
<Checkbox checked={isSelected} onChange={handleRowCheckboxChange} />
|
||||
):''}
|
||||
</TableCell>
|
||||
<TableCell align="left">{row?.code}</TableCell>
|
||||
<TableCell align="left">{row?.code} / {row.code_log}</TableCell>
|
||||
{/* <TableCell align="left">{row.code}</TableCell> */}
|
||||
<TableCell align="left">{row?.name}</TableCell>
|
||||
<TableCell align="left">{row?.member_id}</TableCell>
|
||||
|
||||
Reference in New Issue
Block a user