|
|
|
@ -7,8 +7,6 @@ import getYear from 'date-fns/getYear';
|
|
|
|
|
import { GridActionsCellItem } from '@mui/x-data-grid';
|
|
|
|
|
import { Divider, FormControl, Grid, InputAdornment, Link, MenuItem, OutlinedInput, Select } from '@mui/material';
|
|
|
|
|
import DeleteIcon from '@mui/icons-material/Delete';
|
|
|
|
|
|
|
|
|
|
// assets
|
|
|
|
|
import { IconSearch } from '@tabler/icons';
|
|
|
|
|
|
|
|
|
|
// berry ui
|
|
|
|
@ -17,8 +15,8 @@ import MainCard from 'ui-component/cards/MainCard';
|
|
|
|
|
// project imports
|
|
|
|
|
import MuiDataGrid from 'views/form/MuiDataGrid';
|
|
|
|
|
import xitCmm from 'commons/XitCmm';
|
|
|
|
|
import { findParkings } from 'apis/parking';
|
|
|
|
|
import InputLabel from '../../../ui-component/extended/Form/InputLabel';
|
|
|
|
|
import InputLabel from 'ui-component/extended/Form/InputLabel';
|
|
|
|
|
import { findResidents } from 'apis/resident';
|
|
|
|
|
|
|
|
|
|
const ResidentReview = () => {
|
|
|
|
|
const isInit = useRef(true);
|
|
|
|
@ -117,7 +115,7 @@ const ResidentReview = () => {
|
|
|
|
|
size: rowsState.pageSize
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
findParkings({ ...params, msYear: selectedYear, msChasu: searchTxt }).then((response) => {
|
|
|
|
|
findResidents({ ...params, msYear: selectedYear, msChasu: searchTxt }).then((response) => {
|
|
|
|
|
if (response && response.data) {
|
|
|
|
|
setTotalCount(response.count);
|
|
|
|
|
setRowsState((prevState) => ({ ...prevState, rows: response.data }));
|
|
|
|
|