update chicken weight to have chicken_area data as well
This commit is contained in:
1 parent
a6d4ddac65
commit
6bad900cf0
13 files changed
+132
-21
No files matched your search
@@ -86,6 +86,15 @@ const DailyDetailPanel: React.FC<DailyDetailPanelProps> = ({ row, docWeight }) =
|
||||
value={`${formatNumber(row.chicken_count, 0)} ekor`}
|
||||
icon={<i className="fa-solid fa-users"></i>}
|
||||
/>
|
||||
<DetailCard
|
||||
label="Luas Ayam (IOT)"
|
||||
value={
|
||||
row.chicken_area && row.chicken_area > 0
|
||||
? `${formatNumber(row.chicken_area, 2, 0, true)} cm²`
|
||||
: '-'
|
||||
}
|
||||
icon={<i className="fa-solid fa-vector-square"></i>}
|
||||
/>
|
||||
{deviation != null && (
|
||||
<DetailCard
|
||||
label="Deviasi vs Target"
|
||||
|
||||
Reference in new issue
Block a user