1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 17:29:58 +01:00

feat(tui): Produktionschargen und Bestandsverwaltung in TUI einbauen

Chargen: Liste mit Statusfilter, Planen, Starten, Verbrauch erfassen,
Abschließen und Stornieren. Bestände: Liste, Anlegen, Detailansicht
mit Chargen sperren/entsperren/entfernen. Types, API-Client, Hooks,
Navigation und Screens für beide Bounded Contexts vollständig ergänzt.
This commit is contained in:
Sebastian Frick 2026-02-23 16:10:57 +01:00
parent b2b3b59ce9
commit 5fe0dfc139
21 changed files with 2385 additions and 31 deletions

View file

@ -45,6 +45,14 @@ import { RecipeCreateScreen } from './components/production/RecipeCreateScreen.j
import { RecipeDetailScreen } from './components/production/RecipeDetailScreen.js';
import { AddProductionStepScreen } from './components/production/AddProductionStepScreen.js';
import { AddIngredientScreen } from './components/production/AddIngredientScreen.js';
import { BatchListScreen } from './components/production/BatchListScreen.js';
import { BatchDetailScreen } from './components/production/BatchDetailScreen.js';
import { BatchPlanScreen } from './components/production/BatchPlanScreen.js';
import { RecordConsumptionScreen } from './components/production/RecordConsumptionScreen.js';
import { CompleteBatchScreen } from './components/production/CompleteBatchScreen.js';
import { StockListScreen } from './components/inventory/StockListScreen.js';
import { StockDetailScreen } from './components/inventory/StockDetailScreen.js';
import { StockCreateScreen } from './components/inventory/StockCreateScreen.js';
function ScreenRouter() {
const { isAuthenticated, loading } = useAuth();
@ -108,6 +116,9 @@ function ScreenRouter() {
{current === 'storage-location-detail' && <StorageLocationDetailScreen />}
{current === 'stock-batch-entry' && <StockBatchEntryScreen />}
{current === 'stock-add-batch' && <AddBatchScreen />}
{current === 'stock-list' && <StockListScreen />}
{current === 'stock-detail' && <StockDetailScreen />}
{current === 'stock-create' && <StockCreateScreen />}
{/* Produktion */}
{current === 'production-menu' && <ProductionMenu />}
{current === 'recipe-list' && <RecipeListScreen />}
@ -115,6 +126,11 @@ function ScreenRouter() {
{current === 'recipe-detail' && <RecipeDetailScreen />}
{current === 'recipe-add-production-step' && <AddProductionStepScreen />}
{current === 'recipe-add-ingredient' && <AddIngredientScreen />}
{current === 'batch-list' && <BatchListScreen />}
{current === 'batch-detail' && <BatchDetailScreen />}
{current === 'batch-plan' && <BatchPlanScreen />}
{current === 'batch-record-consumption' && <RecordConsumptionScreen />}
{current === 'batch-complete' && <CompleteBatchScreen />}
</MainLayout>
);
}