mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
codex/fix: invisible depletion and egg <= 0
This commit is contained in:
@@ -620,7 +620,7 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
||||
loadMore: loadMoreDepletionProducts,
|
||||
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', 'search', {
|
||||
limit: '100',
|
||||
available_only: 'true',
|
||||
available_only: 'false',
|
||||
location_id: depletionProductsLocationId,
|
||||
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
|
||||
type: 'AYAM',
|
||||
@@ -688,8 +688,8 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
|
||||
loadMore: loadMoreEggProducts,
|
||||
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', 'search', {
|
||||
limit: '100',
|
||||
available_only: 'false',
|
||||
type: 'TELUR',
|
||||
available_only: 'true',
|
||||
location_id: eggProductsLocationId,
|
||||
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user