From 856d1f5c0c529a9452e2f4bc650135ec0ffa9e97 Mon Sep 17 00:00:00 2001 From: rstubryan Date: Fri, 19 Dec 2025 14:05:50 +0700 Subject: [PATCH] feat(FE): Filter supplier options by SAPRONAK category --- .../report/logistic-stock/tab/PurchasesPerSupplierTab.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx b/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx index dac2d02e..c01eeb61 100644 --- a/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx +++ b/src/components/pages/report/logistic-stock/tab/PurchasesPerSupplierTab.tsx @@ -71,7 +71,9 @@ const PurchasesPerSupplierTab = () => { ); const { options: supplierOptions, isLoadingOptions: isLoadingSuppliers } = - useSelect(SupplierApi.basePath, 'id', 'name', 'search'); + useSelect(SupplierApi.basePath, 'id', 'name', 'search', { + category: 'SAPRONAK', + }); const { options: productOptions, isLoadingOptions: isLoadingProducts } = useSelect(ProductApi.basePath, 'id', 'name', 'search');