refactorF(FE-441): Display formatted fcr_std in RecordingForm

This commit is contained in:
rstubryan
2025-12-31 09:20:49 +07:00
parent 2bf764a05c
commit d8daf09844
2 changed files with 6 additions and 1 deletions
@@ -1576,7 +1576,11 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
: '-'} : '-'}
</span> </span>
</td> </td>
<td className='text-center py-3 text-gray-600'>-</td> <td className='text-center py-3 text-gray-600'>
{initialValues.fcr_std && initialValues.fcr_std > 0
? formatNumber(initialValues.fcr_std)
: '-'}
</td>
</tr> </tr>
<tr> <tr>
<td className='py-3 font-medium'>Feed Intake (KG)</td> <td className='py-3 font-medium'>Feed Intake (KG)</td>
+1
View File
@@ -6,6 +6,7 @@ export type ProductionMetrics = {
cum_depletion_rate: number; cum_depletion_rate: number;
cum_intake: number; cum_intake: number;
fcr_value: number; fcr_value: number;
fcr_std?: number;
total_chick_qty: number; total_chick_qty: number;
hand_day?: number; hand_day?: number;
hand_house?: number; hand_house?: number;