fix(dashboard): exclude service items from physical unit calculation #143
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
Exclude service items (
type === "Service") from the physical stock unit calculation on the dashboard, preventing inflated unit counts.Acceptance Criteria
apps/management/app/(dashboard)/page.tsx,physicalUnitscalculation filters out items wheretype === "Service".pnpm --filter garage typecheck,pnpm --filter garage lint, andpnpm --filter garage test lib app.