diff --git a/src/components/pages/uniformity/UniformityTable.tsx b/src/components/pages/uniformity/UniformityTable.tsx index 8c997d7c..1914b307 100644 --- a/src/components/pages/uniformity/UniformityTable.tsx +++ b/src/components/pages/uniformity/UniformityTable.tsx @@ -229,22 +229,27 @@ const UniformityTable = ({ refresh }: { refresh?: () => void }) => { }, }, { + accessorKey: 'location.name', header: 'Lokasi', cell: (props) => props.row.original.location.name || '-', }, { + accessorKey: 'project_flock_kandang_id', header: 'Flock', cell: (props) => `Flock ${props.row.original.project_flock_kandang_id}`, }, { + accessorKey: 'kandang.name', header: 'Kandang', cell: (props) => props.row.original.kandang.name || '-', }, { + accessorKey: 'week', header: 'Tanggal (Week)', cell: (props) => `Week ${props.row.original.week}`, }, { + accessorKey: 'status', header: 'Status', cell: (props) => { const status = props.row.original.status; @@ -256,6 +261,7 @@ const UniformityTable = ({ refresh }: { refresh?: () => void }) => { }, }, { + accessorKey: 'uniformity', header: 'Uniformity', cell: (props) => { const uniformity = props.row.original.uniformity; @@ -263,6 +269,7 @@ const UniformityTable = ({ refresh }: { refresh?: () => void }) => { }, }, { + id: 'actions', header: 'Aksi', cell: (props: CellContext) => { const currentPageSize = props.table.getPaginationRowModel().rows.length;