diff --git a/src/components/pages/production/recording/RecordingTable.tsx b/src/components/pages/production/recording/RecordingTable.tsx index b854cd59..c30156ed 100644 --- a/src/components/pages/production/recording/RecordingTable.tsx +++ b/src/components/pages/production/recording/RecordingTable.tsx @@ -686,10 +686,18 @@ const RecordingTable = () => { 1, }, { - header: 'Nama Project', + header: 'Lokasi', + cell: (props) => props.row.original.location?.name || '-', + }, + { + header: 'Flock', cell: (props) => props.row.original.project_flock?.flock_name || '-', }, + { + header: 'Kandang', + cell: (props) => props.row.original.kandang?.name || '-', + }, { header: 'Periode', cell: (props) => props.row.original.project_flock?.period || '-', @@ -722,12 +730,10 @@ const RecordingTable = () => { }, }, { - accessorKey: 'warehouse.name', header: 'Gudang', cell: (props) => props.row.original.warehouse?.name, }, { - accessorKey: 'record_date', header: 'Waktu Recording', cell: (props) => formatDate(props.row.original.record_datetime, 'DD MMMM YYYY'),