diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx index bcf3a0cf..8c166700 100644 --- a/src/components/pages/production/recording/form/RecordingForm.tsx +++ b/src/components/pages/production/recording/form/RecordingForm.tsx @@ -31,6 +31,7 @@ import { ProjectFlock } from '@/types/api/production/project-flock'; import { Warehouse } from '@/types/api/master-data/warehouse'; import { LocationApi } from '@/services/api/master-data'; import FieldMessage from '@/components/helper/FieldMessage'; +import Card from '@/components/Card'; interface RecordingFormProps { type?: 'add' | 'edit' | 'detail'; @@ -634,463 +635,521 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { className='w-full mt-8 flex flex-col gap-6' > {/* Basic Info Card */} -
|
-
-
+
- {type !== 'detail' && (
-
- {selectedFeed.length > 0 && (
-
- )}
+ )}
+ |
|---|
|
-
-
+
- {type !== 'detail' && (
-
- {selectedWeight.length > 0 && (
-
- )}
+ )}
+ |
|---|
|
-
-
-
-
- {/* Mortality Table */}
-
+
- {type !== 'detail' && (
-
- {selectedVaccine.length > 0 && (
-
- )}
-
-
- )}
-
-
- Mortalitas-
-
- {type !== 'detail' && (
-
- {selectedMortality.length > 0 && (
-
- )}
+ )}
+ |
|---|
|
+
+
+ |
+ )}
+ + Kondisi/Alasan Mortalitas + + * + + | ++ Jumlah + + * + + | + {type !== 'detail' &&Action | } +
|---|---|---|---|
|
+
+
+ |
+ )}
+
+ |
+
+ |
+ {type !== 'detail' && (
+
+
+
+
+ |
+ )}
+