5 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
github-actions[bot]
e604317c7f sync: Add files via upload (A@90dbd4d185c93e599be85a4cb190f35d45c1495f) 2026-06-04 15:09:31 +00:00
github-actions[bot]
3f7377b142 sync: Add files via upload (A@87b0a27431d8596edf55a7e623f944ca2f39f234) 2026-05-28 05:54:23 +00:00
github-actions[bot]
37ecf1a056 sync: Add files via upload (A@f25beaaf2f1fcd0c8fca85fa622d846392968047) 2026-05-27 03:17:46 +00:00
github-actions[bot]
6517a3f4cd sync: update auto sync (A@67794d69b70f7d291333020c5ffd071a7836d177) 2026-05-26 05:15:10 +00:00