diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx
index 13ce9cc9..f3d6d2f9 100644
--- a/src/components/pages/production/recording/form/RecordingForm.tsx
+++ b/src/components/pages/production/recording/form/RecordingForm.tsx
@@ -1125,16 +1125,9 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
}
return (
-
+
Periode {projectFlockKandangLookup.project_flock?.period}
-
+
);
}, [recordedProjectFlockKandangIds, projectFlockKandangLookup]);
@@ -1150,33 +1143,11 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
const hasOvkFlag = productWarehouse.product.flags?.includes('OVK');
if (hasPakanFlag) {
- return (
-
- PAKAN
-
- );
+ return PAKAN;
}
if (hasOvkFlag) {
- return (
-
- OVK
-
- );
+ return OVK;
}
return null;
@@ -1826,7 +1797,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
Boolean(formik.errors.kandang_id)
}
errorMessage={formik.errors.kandang_id as string}
- startAdornment={
+ inputPrefix={
projectFlockKandangLookup || projectFlockKandangDetail
? getProjectFlockBadgeAdornment()
: undefined
@@ -2458,7 +2429,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
!formik.values.project_flock_kandang_id
}
isClearable={type !== 'detail'}
- startAdornment={
+ inputPrefix={
stock.product_warehouse_id
? getProductFlagBadgeAdornment(
stock.product_warehouse_id