Merge pull request 'пропущенный столбец + правки в стили ячейки' (#67) from fix-front-tables into test

Reviewed-on: #67
This commit is contained in:
PotapovaA 2026-08-04 13:31:38 +03:00
commit acbb099fff
2 changed files with 43 additions and 1 deletions

View File

@ -23,7 +23,8 @@ const FORMULA_INDICATOR_STYLES = {
const TEXTAREA_STYLES = {
width: '100%',
height: '3rem',
minHeight: '3rem',
height: 'auto',
fieldSizing: 'content',
fontSize: 'inherit',
};

View File

@ -766,6 +766,9 @@ export const config = {
color_type: greenColumn,
accessorKey: "data.totals.fact_year",
},
"data.totals.fact_year": {
color_type: greenColumn,
},
},
columns: [
{
@ -3928,6 +3931,44 @@ export const config = {
},
},
},
{
header: "Факт 2026",
accessorKey: "",
columns: [
{
header: "",
accessorKey: "",
columns: [
{
header: " ",
accessorKey: "data.totals.fact_year",
columnLetter: "HI",
size: 150,
filterFn: "contains",
muiTableHeadCellProps: {
sx: {
backgroundColor: "#C2D69B",
color: "#000000",
},
},
},
],
muiTableHeadCellProps: {
sx: {
backgroundColor: "#C2D69B",
color: "#000000",
},
},
},
],
muiTableHeadCellProps: {
sx: {
backgroundColor: "#C2D69B",
color: "#000000",
},
},
},
],
},
};