MENU NOTES - Kasir Grosir Starter Dokumen ini menjelaskan catatan untuk setiap menu yang dibuat sebagai dasar pengembangan lebih lanjut. 1. Dashboard - Created: placeholder screen - Next tasks: - Implement local aggregation for today's sales using SQLite. - Add simple charts (bar/day) and widget shortcuts. - Add caching strategy and refresh controls. 2. POS - Created: placeholder screen - Next tasks: - Design local cart model (CartItem: productId, qty, unit, price, discount). - Implement product search (local DB) + barcode scanner integration (ML Kit or barcode_scan2). - Implement checkout flow: cash, partial payment, credit. - Connect printing module (ESC/POS) via plugin (blue_thermal_printer or esc_pos_printer) - Save sale to local DB and generate invoice id (UUID) for reconciliation. 3. Products - Created: placeholder screen - Next tasks: - Define Product entity (id, sku, barcode, name, price tiers, cost, stock, unit conversion). - Implement CRUD screens + image upload. - Implement CSV import/export for bulk uploads. 4. Customers - Created: placeholder screen - Next tasks: - Customer entity with price_tier, credit_limit, term_days, contacts. - Implement quick select in POS and customer ledger view. 5. Suppliers - Created: placeholder screen - Next tasks: - Implement supplier master and contact details. - PO creation & send (PDF export) flow. 6. Purchase Orders - Created: placeholder screen - Next tasks: - PO entity, receive flow (partial/full), update stock and cost. - Link to supplier and create inbound stock transactions. 7. Accounts Receivable (AR) - Created: placeholder screen - Next tasks: - Invoice model, payment entries, aging calculation. - UI to record partial payments and generate receipts. 8. Inventory - Created: placeholder screen - Next tasks: - Stock movements log, multi-warehouse support. - Stock adjustment & opname UI. - Low-stock alerts and reorder suggestions. 9. Reports - Created: placeholder screen - Next tasks: - Export CSV reports: sales, inventory valuation, AR aging. - Add filters (date range, product, customer). 10. Settings - Created: placeholder screen - Next tasks: - Store profile, tax settings, printer config screen (pair/select device). - Backup & restore options (CSV export, Google Drive integration). 11. Users - Created: placeholder screen - Next tasks: - Local auth (PIN) and role based access (admin/kasir/gudang/sales). - User activity log for audit. 12. Utilities - Created: placeholder screen - Next tasks: - CSV templates for import, bulk label printing, background backup tasks. General development notes & priorities: - Priority MVP: Products CRUD, POS (local cart & checkout cash), basic printing, backup CSV. - Use local-first approach: SQLite (drift/sqlite) for now, keep export/import endpoints to ease migration. - Keep all TODOs and next tasks tracked in this file; update after each development sprint. Change history: - 2026-01-17: Initial scaffold and menu placeholders created. - Files added: lib/main.dart, lib/screens/*, pubspec.yaml, README.md, docs/menu_notes.md End of notes.