From eea76e77a899104bbef2066de5b36e3ab7d0aa7a Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Mon, 5 Jan 2026 13:42:20 +0700 Subject: [PATCH] chore: update displayed data --- .../ClosingProductionDataTabContent.tsx | 111 ++++++++++++++---- 1 file changed, 90 insertions(+), 21 deletions(-) diff --git a/src/components/pages/closing/ClosingProductionDataTabContent.tsx b/src/components/pages/closing/ClosingProductionDataTabContent.tsx index bffe1707..aabf48de 100644 --- a/src/components/pages/closing/ClosingProductionDataTabContent.tsx +++ b/src/components/pages/closing/ClosingProductionDataTabContent.tsx @@ -96,11 +96,6 @@ const ClosingProductionDataTabContent = ({ value={formatNumber(purchase.feed_used)} unit='Kg' /> - @@ -124,14 +119,12 @@ const ClosingProductionDataTabContent = ({ /> @@ -148,17 +141,17 @@ const ClosingProductionDataTabContent = ({ /> @@ -191,17 +184,37 @@ const ClosingProductionDataTabContent = ({ /> + + + + - + + {/* Laying Specific Fields */} + {performance.hen_day_act !== undefined && ( + <> + + + + )} + + {performance.egg_mass !== undefined && ( + <> + + + + )} + + {performance.egg_weight !== undefined && ( + <> + + + + )} + + {performance.hen_housed_act !== undefined && ( + <> + + + + )}