1 Commits

Author SHA1 Message Date
Chever John
6b835b933c
feat(plans): separate textile and washing plan data in plan overview
WHY: The purchaser plan overview page showed the same production_plans
data under both textile and washing tabs. Washing plans are a separate
entity (washing_plans table) with different fields like planned_meters,
washing_price, and shrinkage_rate, but were never displayed.

HOW:
- Add useWashingPlanData hook to fetch washing plans via existing API
- Add WashingPlanCard component with washing-specific fields display
- Update PlanOverview to use separate data sources per tab
- Add washingStatusMap for washing plan status UI styling
- Add seed SQL with 3 demo washing plans (pending/in_progress/completed)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-07 18:56:04 +08:00