1.2 KiB
1.2 KiB
Plan: Fix and Improve UMKM Module
Objectives
- Implement delete confirmation modal for UMKM sales histori.
- Improve data handling (null safety) in UMKM and Produk forms.
- Fix field mapping in Produk edit page.
- Enhance UMKM Dashboard KPI calculation.
- Implement stock validation for new sales.
- Fix WhatsApp link formatting across the application.
- Add product ordering functionality for public users.
- Translate and simplify CLAUDE.md.
Proposed Changes
- Admin State: Update
umkmStateto includedelfor sales and refine form schemas. - Admin UI:
- Add
ModalKonfirmasiHapusto Penjualan page. - Fix card height in Dashboard.
- Refine Edit/Create pages for UMKM and Produk.
- Add
- API:
- Refactor
kpi.tsfor more accurate reporting. - Add stock check in
create.tsfor sales.
- Refactor
- Public UI:
- Update Produk detail page with order modal and WhatsApp integration.
- Fix WhatsApp links in various pages.
- Documentation: Update
CLAUDE.md. - Maintenance: Increment version in
package.json.
Verification Plan
- Run
bun run buildto ensure no compile errors. - Manual verification of delete functionality.
- Manual verification of ordering flow.