Skip to content

Commit

Permalink
Merge branch 'main' into feat/workorder-cutoff-tab
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustav-Eikaas authored Aug 17, 2023
2 parents b7e824a + b889989 commit 8646bbb
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions libs/mechanicalcompletionapp/src/lib/config/tableConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const tableConfig: GridConfig<McPackage> = {
// }
// return <LinkCell url={props.valueFormatted} urlText={props.value ?? ''} />;
// },
width: 100,
width: 140,
},
{
field: 'Description',
Expand All @@ -41,7 +41,7 @@ export const tableConfig: GridConfig<McPackage> = {
field: 'Discipline',
valueGetter: (pkg) => pkg.data?.discipline,
enableRowGroup: true,
width: 100,
width: 144,
},
{
field: 'MC Status',
Expand All @@ -61,7 +61,7 @@ export const tableConfig: GridConfig<McPackage> = {
);
},
enableRowGroup: true,
width: 100,
width: 150,
},
{
field: 'Responsible',
Expand Down Expand Up @@ -99,7 +99,7 @@ export const tableConfig: GridConfig<McPackage> = {
// return <LinkCell url={props.valueFormatted} urlText={props.value ?? ''} />;
// }
// },
width: 120,
width: 185,
},
{
field: 'System',
Expand All @@ -108,57 +108,57 @@ export const tableConfig: GridConfig<McPackage> = {
return <StyledMonospace>{props.data?.system}</StyledMonospace>;
},
enableRowGroup: true,
width: 100,
width: 125,
},
{
field: 'Planned M-01 Final Punch',
valueGetter: (pkg) => pkg.data?.finalPunchPlannedDate,
cellRenderer: (props: ICellRendererProps<McPackage, string | null>) => {
return <YearAndWeekCell dateString={props.value} />;
},
width: 200,
width: 250,
},
{
field: 'Actual M-01 Actual Date',
valueGetter: (pkg) => pkg.data?.finalPunchActualDate,
cellRenderer: (props: ICellRendererProps<McPackage, string | null>) => {
return <YearAndWeekCell dateString={props.value} />;
},
width: 200,
width: 250,
},
{
field: 'Planned M-03 RFC',
valueGetter: (pkg) => pkg.data?.rfccPlannedDate,
cellRenderer: (props: ICellRendererProps<McPackage, string | null>) => {
return <YearAndWeekCell dateString={props.value} />;
},
width: 150,
width: 210,
},
{
field: 'Actual M-03 RFC',
valueGetter: (pkg) => pkg.data?.rfccActualDate,
cellRenderer: (props: ICellRendererProps<McPackage, string | null>) => {
return <YearAndWeekCell dateString={props.value} />;
},
width: 150,
width: 200,
},
{
field: 'Comm Pri1',
valueGetter: (pkg) => pkg.data?.priority,
enableRowGroup: true,
width: 100,
width: 155,
},
{
field: 'Comm Pri2',
valueGetter: (pkg) => pkg.data?.priority2,
enableRowGroup: true,
width: 100,
width: 155,
},
{
field: 'Comm Pri3',
valueGetter: (pkg) => pkg.data?.priority3,
enableRowGroup: true,
width: 100,
width: 155,
},
],
};

0 comments on commit 8646bbb

Please sign in to comment.