+ {/* Left Column */}
+
+ {/* Purchase Section */}
+
+
+ Pembelian
+
+
+
+
+
+
+
+
+
-
- {/* Left Column */}
-
- {/* Purchase Section */}
-
-
- Pembelian
-
-
-
-
-
-
-
-
-
-
- {/* Sales Section */}
-
-
- Penjualan
-
-
- {/* Chicken Sales */}
-
-
-
-
-
-
-
- {/* Egg Sales (if available) */}
- {sales.egg && (
- <>
-
+ {/* Sales Section */}
+
+
+ Penjualan
+
+
+ {/* Chicken Sales */}
- >
- )}
+
+ {/* Egg Sales (if available) */}
+ {sales.egg && (
+ <>
+
+
+
+
+
+
+
+ >
+ )}
+
+
-
-
- {/* Divider Line (Absolute centered) */}
-
+ {/* Divider Line (Absolute centered) */}
+
- {/* Right Column */}
-
- {/* Performance Section */}
-
-
- Performance
-
-
-
-
-
-
-
- {/*
-
*/}
-
-
-
-
-
+ {/* Right Column */}
+
+ {/* Performance Section */}
+
+
+ Performance
+
+
+
+
+
+
+
+ {/*
+ */}
+
+
+
+
+
- {/* Laying Specific Fields */}
- {performance.hen_day_act !== undefined && (
- <>
-
-
- >
- )}
+ {/* Laying Specific Fields */}
+ {performance.hen_day_act !== undefined && (
+ <>
+
+
+ >
+ )}
- {performance.egg_mass !== undefined && (
- <>
-
-
- >
- )}
+ {performance.egg_mass !== undefined && (
+ <>
+
+
+ >
+ )}
- {performance.egg_weight !== undefined && (
- <>
-
-
- >
- )}
+ {performance.egg_weight !== undefined && (
+ <>
+
+
+ >
+ )}
- {performance.hen_housed_act !== undefined && (
- <>
-
-
- >
- )}
+ {performance.hen_housed_act !== undefined && (
+ <>
+
+
+ >
+ )}
+
+
-
+
-
+
);
};
diff --git a/src/components/pages/closing/table/SalesClosingTable.tsx b/src/components/pages/closing/table/SalesClosingTable.tsx
index 0ebd5f2f..5105d965 100644
--- a/src/components/pages/closing/table/SalesClosingTable.tsx
+++ b/src/components/pages/closing/table/SalesClosingTable.tsx
@@ -6,11 +6,7 @@ import Table from '@/components/Table';
import Card from '@/components/Card';
import { formatCurrency, formatNumber, formatDate } from '@/lib/helper';
import { isResponseSuccess } from '@/lib/api-helper';
-import {
- BaseClosingSales,
- BaseSales,
- ClosingSalesSummary,
-} from '@/types/api/closing';
+import { BaseSales, ClosingSalesSummary } from '@/types/api/closing';
import { Product } from '@/types/api/master-data/product';
import { Customer } from '@/types/api/master-data/customer';
import { Kandang } from '@/types/api/master-data/kandang';