Merge branch 'fix/system' into 'development'

[FIX][FE]: adjust get detail recording

See merge request mbugroup/lti-web-client!458
This commit is contained in:
Rivaldi A N S
2026-05-04 05:21:35 +00:00
@@ -636,21 +636,13 @@ const RecordingForm = ({ type = 'add', initialValues }: RecordingFormProps) => {
rawData: stockProductsPW,
isLoadingOptions: isLoadingStockProductsPW,
loadMore: loadMoreStockProductsPW,
} = useSelect(
isMigrationMode ? null : ProductWarehouseApi.basePath,
'id',
'product.name',
'search',
{
flags: 'PAKAN,OVK',
limit: '100',
available_only: 'false',
location_id: stockProductsLocationId,
...(selectedKandangId
? { kandang_id: selectedKandangId.toString() }
: {}),
}
);
} = useSelect(ProductWarehouseApi.basePath, 'id', 'product.name', 'search', {
flags: 'PAKAN,OVK',
limit: '100',
available_only: 'false',
location_id: stockProductsLocationId,
...(selectedKandangId ? { kandang_id: selectedKandangId.toString() } : {}),
});
const {
setInputValue: setStockMasterInputValue,