diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx index 922f318e..4101d3d6 100644 --- a/src/components/pages/production/recording/form/RecordingForm.tsx +++ b/src/components/pages/production/recording/form/RecordingForm.tsx @@ -1350,23 +1350,6 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { ))} - - {/* Action buttons for multi-form navigation */} - {type === 'detail' && ( -
- -
- )} )} @@ -2303,7 +2286,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { product.value === egg.product_warehouse_id ) || null @@ -2458,66 +2441,86 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { )} )} - {type !== 'detail' && ( -
- - - {isLayingCategory && ( +
+ {type !== 'detail' && ( + <> + - )} -
- )} + {isLayingCategory && ( + + )} + + )} + + {type === 'detail' && isLayingCategory && ( + + )} +
{recordingFormErrorMessage && (