mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE-316): Update uniformity payload/fields and file handling
This commit is contained in:
@@ -269,23 +269,23 @@ const UniformityTable = ({ refresh }: { refresh?: () => void }) => {
|
||||
{
|
||||
accessorKey: 'location.name',
|
||||
header: 'Lokasi',
|
||||
cell: (props) => props.row.original.location.name || '-',
|
||||
cell: (props) => props.row.original.location_name || '-',
|
||||
},
|
||||
{
|
||||
accessorKey: 'project_flock_kandang_id',
|
||||
accessorKey: 'flock_name',
|
||||
header: 'Flock',
|
||||
cell: (props) => `Flock ${props.row.original.project_flock_kandang_id}`,
|
||||
cell: (props) => props.row.original.flock_name || '-',
|
||||
},
|
||||
{
|
||||
accessorKey: 'kandang.name',
|
||||
accessorKey: 'kandang_name',
|
||||
header: 'Kandang',
|
||||
cell: (props) => props.row.original.kandang.name || '-',
|
||||
cell: (props) => props.row.original.kandang_name || '-',
|
||||
},
|
||||
{
|
||||
accessorKey: 'week',
|
||||
header: 'Tanggal (Week)',
|
||||
cell: (props) =>
|
||||
`${formatDate(props.row.original.date, 'DD MMM YYYY')} (${props.row.original.week})`,
|
||||
`${formatDate(props.row.original.applied_at, 'DD MMM YYYY')} (${props.row.original.week})`,
|
||||
},
|
||||
{
|
||||
accessorKey: 'status',
|
||||
|
||||
Reference in New Issue
Block a user