|
|
@@ -14,6 +14,7 @@ import AbilityContext from "../../../components/AbilityProvider"; |
|
|
|
import {LIONER_BUTTON_THEME} from "../../../themes/colorConst"; |
|
|
|
import {ThemeProvider} from "@emotion/react"; |
|
|
|
import {UploadTemplateWindow} from "../TemplateMaintainPage/UploadTemplateWindow"; |
|
|
|
import { color } from '../../../../node_modules/@mui/system/index'; |
|
|
|
|
|
|
|
// ==============================|| Template TABLE ||============================== // |
|
|
|
|
|
|
@@ -141,10 +142,11 @@ export default function TemplateTable({recordList, applySearch}) { |
|
|
|
{ |
|
|
|
id: 'remarks', |
|
|
|
field: 'remarks', |
|
|
|
headerName: 'Remarks', |
|
|
|
headerName: 'Form Code', |
|
|
|
flex: 2, |
|
|
|
renderCell: (params) => { |
|
|
|
return ( |
|
|
|
// params.value == null? <div style={{"color": "red"}}><b>Missing Form Code!</b></div> : |
|
|
|
<div style={{display: 'flex', alignItems: 'center', justifyContent: 'center', whiteSpace: 'normal', wordBreak: 'break-word'}}> |
|
|
|
{params.value} |
|
|
|
</div> |
|
|
|