adjust value query param get product warehouses

This commit is contained in:
MacBook Air M1
2026-04-14 15:05:08 +07:00
parent 178c659b58
commit 2a33fdbbbe
@@ -611,7 +611,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', 'search', { } = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', 'search', {
flags: 'PAKAN,OVK', flags: 'PAKAN,OVK',
limit: '100', limit: '100',
available_only: 'true', available_only: 'false',
location_id: stockProductsLocationId, location_id: stockProductsLocationId,
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}), ...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
}); });