Files
kasir-grosir/docs/menu_notes.md

3.1 KiB

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.
  1. 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.
  1. 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.
  1. 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.
  1. Suppliers
  • Created: placeholder screen
  • Next tasks:
    • Implement supplier master and contact details.
    • PO creation & send (PDF export) flow.
  1. 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.
  1. Accounts Receivable (AR)
  • Created: placeholder screen
  • Next tasks:
    • Invoice model, payment entries, aging calculation.
    • UI to record partial payments and generate receipts.
  1. Inventory
  • Created: placeholder screen
  • Next tasks:
    • Stock movements log, multi-warehouse support.
    • Stock adjustment & opname UI.
    • Low-stock alerts and reorder suggestions.
  1. Reports
  • Created: placeholder screen
  • Next tasks:
    • Export CSV reports: sales, inventory valuation, AR aging.
    • Add filters (date range, product, customer).
  1. Settings
  • Created: placeholder screen
  • Next tasks:
    • Store profile, tax settings, printer config screen (pair/select device).
    • Backup & restore options (CSV export, Google Drive integration).
  1. Users
  • Created: placeholder screen
  • Next tasks:
    • Local auth (PIN) and role based access (admin/kasir/gudang/sales).
    • User activity log for audit.
  1. 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.