feat(ui): stock card with withdraw and inventory count, production batches
- Bottling detail shows Abgefüllt / Webshop verkauft / Entnommen / Rest (negative rest flagged "Prüfen") and the full movement list; buttons "Entnehmen" (reason, note) and "Inventur korrigieren" (counted quantity, difference booked). - Rest column in the bottling list. - New pages for production batches (list, create, detail with the same stock card), sidebar entry with its own permission. - Products get "Art" (honey vs. manufactured goods) and the webshop category; bottlings only offer honey articles. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
1 parent
04f93e954a
commit
f57db97578
21 files changed
+1151
-5
No files matched your search
@@ -9,6 +9,8 @@ export interface BottlingBatch {
|
||||
bestBeforeDate: string;
|
||||
lotNumber: string;
|
||||
createdAt: string;
|
||||
/** jarCount plus all stock movements (shop sales, withdrawals, ...). */
|
||||
remainingCount: number;
|
||||
honeyBatch: { id: string; batchNumber: string };
|
||||
product: { id: string; name: string } | null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user