Merge branch 'fix/master-data' into 'development'

[FIX/FE] Fixing Unit in Production Standard

See merge request mbugroup/lti-web-client!216
This commit is contained in:
Rivaldi A N S
2026-01-20 08:50:16 +00:00
@@ -367,7 +367,7 @@ const ProductionStandardForm = ({
accessorFn: (row) =>
row.production_standard_details?.target_hen_house_production,
cell: ({ row }) =>
`${row.original.production_standard_details?.target_hen_house_production} pc`,
`${row.original.production_standard_details?.target_hen_house_production} btr`,
enableSorting: false,
},
{
@@ -383,7 +383,7 @@ const ProductionStandardForm = ({
accessorFn: (row) =>
row.production_standard_details?.target_egg_mass,
cell: ({ row }) =>
`${row.original.production_standard_details?.target_egg_mass} g`,
`${row.original.production_standard_details?.target_egg_mass} kg`,
enableSorting: false,
},
{
@@ -958,7 +958,7 @@ const ProductionStandardForm = ({
}
onChange={repeaterFormik.handleChange}
onBlur={repeaterFormik.handleBlur}
bottomLabel='Butir (pc)'
bottomLabel='Butir (btr)'
errorMessage={getProductionDetailsError(
repeaterFormik.errors
.production_standard_details,
@@ -1015,7 +1015,7 @@ const ProductionStandardForm = ({
name='production_standard_details.target_egg_mass'
label='Egg Mass'
placeholder='1'
bottomLabel='Gram (g)'
bottomLabel='Kg (kg)'
value={
repeaterFormik.values
.production_standard_details?.target_egg_mass
@@ -1176,7 +1176,7 @@ const ProductionStandardForm = ({
}
onChange={repeaterFormik.handleChange}
onBlur={repeaterFormik.handleBlur}
bottomLabel='Gram/Ekor (g)'
bottomLabel='Gram (g)'
endAdornment
errorMessage={
repeaterFormik.errors