formatting

This commit is contained in:
Adnan Zahir
2026-04-01 11:07:05 +07:00
parent 8b1546a305
commit 3d7a2073b0
@@ -607,9 +607,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
flags: 'PAKAN,OVK',
limit: '100',
location_id: stockProductsLocationId,
...(selectedKandangId
? { kandang_id: selectedKandangId.toString() }
: {}),
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
});
const {
@@ -619,9 +617,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', '', {
limit: '100',
location_id: depletionProductsLocationId,
...(selectedKandangId
? { kandang_id: selectedKandangId.toString() }
: {}),
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
type: 'AYAM',
});
@@ -689,9 +685,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
limit: '100',
type: 'TELUR',
location_id: eggProductsLocationId,
...(selectedKandangId
? { kandang_id: selectedKandangId.toString() }
: {}),
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
});
const approvedProjectFlockKandangsUrl = useMemo(() => {