fix(dashboard): exclude service items from physical unit calculation (#143) #146
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/143-exclude-services-from-dashboard-units"
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?
Closes #143.
What changed
apps/management/app/(dashboard)/page.tsx: filter outtype === "Service"fromphysicalUnitscalculation so service items do not inflate stock counts.Verified
pnpm --dir /home/yuris/Development/webdev/wt-143 verify:managementpassed.Deviations
none
VERDICT: approve
The dashboard physical-unit total now excludes Service rows and includes Part, Consumable, and Accessory stock. SKU count and stock value remain unchanged; the diff contains no unrelated edits. The PR reports verify:management passed; Forgejo CI checks were pending when reviewed, so I did not independently confirm the validation result.
Note: Merging this pull request triggers the deployment workflow to main.