feat: Introduce product grid page with server-side data fetching for suppliers, stores, and nomenclature, supporting initial selection.

This commit is contained in:
Michael committed 2026-02-27 13:37:18 +01:00
1 parent d86eacaef7
commit 81fbe35e55
2 files changed
+17 -4

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ export default async function GridPage({ searchParams }: GridPageProps) {
const [fournisseurs, magasins, nomenclature] = await Promise.all([
getFournisseurs(),
getMagasins(),
getAvailableNomenclature()
getAvailableNomenclature(codeFournisseur, magasin)
]);
// 2. If no supplier selected, show compact selection UI