| | |
| | | DeleteButton, |
| | | Button, |
| | | Pagination, |
| | | FunctionField, |
| | | } from 'react-admin'; |
| | | import { Box, Typography, Card, Stack } from '@mui/material'; |
| | | import { styled } from '@mui/material/styles'; |
| | |
| | | import rowSx from "./rowSx"; |
| | | import BulkUpdateButton from "../components/BulkUpdateButton"; |
| | | import LocBulkUpdateContent from './LocBulkUpdateContent'; |
| | | import { getCompDirectLabel } from './compDirect'; |
| | | |
| | | const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ |
| | | '& .css-1vooibu-MuiSvgIcon-root': { |
| | |
| | | <ReferenceField source="code" label="table.field.loc.code" reference="code" link={false} sortable={false}> |
| | | <TextField source="data" /> |
| | | </ReferenceField> |
| | | {/* <TextField source="compDirect$" label="table.field.loc.compDirect" sortable={false} /> */} |
| | | <FunctionField |
| | | label="table.field.loc.compDirect" |
| | | sortable={false} |
| | | render={(record) => getCompDirectLabel(translate, record?.compDirect)} |
| | | /> |
| | | <ReferenceField source="locSts" label="table.field.loc.locSts" reference="locSts" link={false} sortable={true}> |
| | | <TextField source="name" /> |
| | | </ReferenceField> |