From afb79b0589696fcff895ea30558ad3d33d91fa74 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Wed, 31 Dec 2025 08:50:51 +0700 Subject: [PATCH] feat(FE-441): Format and display intake, hand house, and totals --- .../recording/form/RecordingForm.tsx | 43 ++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) diff --git a/src/components/pages/production/recording/form/RecordingForm.tsx b/src/components/pages/production/recording/form/RecordingForm.tsx index eec9156c..552cd98f 100644 --- a/src/components/pages/production/recording/form/RecordingForm.tsx +++ b/src/components/pages/production/recording/form/RecordingForm.tsx @@ -1570,7 +1570,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { FCR - {initialValues.fcr_value?.toFixed(2) || '-'} + {formatNumber(initialValues.fcr_value || 0)} - @@ -1586,6 +1586,15 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { {formatNumber(initialValues.feed_intake_std || 0)} + + Cum. Intake (KG) + + + {formatNumber(initialValues.cum_intake || 0)} + + + - + @@ -1653,6 +1662,38 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => { {initialValues.cum_depletion_rate?.toFixed(2) || '-'} + + + + {formatNumber(initialValues.hand_house || 0)} + + + + {initialValues.hand_house_std !== undefined + ? `${initialValues.hand_house_std}%` + : '-'} + + + - + + + + + Total Ayam + + + {formatNumber(initialValues.total_chick_qty || 0)} + +