# Verifikasi Dokumentasi vs Sistem

Dokumen ini memetakan **isi folder docs** dengan **status implementasi** di sistem (codebase).

---

## 1. Daftar dokumen (semua ada di folder `docs/`)

| No | File | Ada | Keterangan |
|----|------|-----|------------|
| 1 | 01-VISION-AND-PRINCIPLES.md | ✅ | Visi & prinsip — referensi desain |
| 2 | 02-ARCHITECTURE-HIGH-LEVEL.md | ✅ | Arsitektur layer — diikuti (Auth, Order, POS, Menu, Inventory, Kitchen, Customer) |
| 3 | 03-MODULE-STRUCTURE.md | ✅ | Struktur modul — modules/Auth, konvensi PSR-4 |
| 4 | 04-MODULE-BLUEPRINTS.md | ✅ | Blueprint tiap modul — checklist mengacu ke sini |
| 5 | 05-DATA-AND-INTEGRATION.md | ✅ | Data, event, queue — sebagian (belum event/queue) |
| 6 | 06-SECURITY-GOVERNANCE.md | ✅ | RBAC, audit — RBAC sudah (role, permission, policy) |
| 7 | 07-ROADMAP-IMPLEMENTATION.md | ✅ | Phase 1–4 — Phase 1 selesai, Phase 2 sebagian |
| 8 | 08-API-DESIGN.md | ✅ | REST, versioning — API Order mengikuti |
| 9 | 09-DATABASE-SCHEMA-CONCEPTS.md | ✅ | Skema konseptual — tabel inti sudah ada (+ customers, kitchen, ingredients) |
| 10 | 10-TESTING-STRATEGY.md | ✅ | Unit, feature — PHPUnit, RefreshDatabase, feature test critical path |
| 11 | 11-DEPLOYMENT-STRATEGY.md | ✅ | Env, CI/CD — referensi |
| 12 | 12-MICROSERVICE-EVOLUTION.md | ✅ | Evolusi microservice — referensi Phase 4 |
| 13 | 13-UI-UX-DESIGN-SYSTEM.md | ✅ | Token, komponen — resources/css/app.css @theme, layout app/guest |
| 14 | 14-QUALITY-STANDARDS.md | ✅ | Naming, controller — diikuti |
| 15 | 15-FEATURE-MODULE-CHECKLIST.md | ✅ | Status per modul — sumber kebenaran implementasi |
| 16 | 16-API-ORDER-REFERENCE.md | ✅ | Endpoint Order — GET/POST /api/orders, auth session |
| 17 | 17-PETA-MEJA-DAN-TEMPAT.md | ✅ | Operasional: tempat, meja, floor plan. |
| 18 | 18-PAYMENT-GATEWAY-INTEGRATION.md | ✅ | Arsitektur Midtrans/QRIS, setup, webhook, keamanan. |
| 19 | 19-MULTI-TENANT-SAAS.md | ✅ | Multi-tenant, isolasi data, billing plan, evolusi tenant. |
| 20 | 20-LOKALISASI-INDONESIA.md | ✅ | Bahasa, pajak PPN, mata uang IDR, regulasi UU PDP, target pasar. |
| 21 | 21-CHANGELOG.md | ✅ | Catatan perubahan penting per tanggal. |
| 22 | 22-COMPETITIVE-ANALYSIS.md | ✅ | Perbandingan vs ESB Order, Majoo, Moka POS; positioning. |

**Kesimpulan:** Semua 16 dokumen ada. Implementasi mengacu ke checklist (15) dan roadmap (07); gap yang masih "Belum" tercatat di 15-FEATURE-MODULE-CHECKLIST.md.
**Total dokumen:** 25 file (22 bernomor + README, DOCS-VS-SISTEM, openapi.yaml).

---

## 2. Gap utama (sesuai checklist)

- **Phase 2** selesai: Loyalty, riwayat transaksi, CRUD Tier, API Auth sudah diimplementasi.
- **Phase 1/2 tambahan:** Jam operasional, Recipe mapping, Event, dan OutletDevice (CRUD perangkat outlet: printer/KDS/display + config) sudah diimplementasi.

---

## 3. Prioritas lanjutan (sesuai roadmap 07)

1. ~~**Milestone 2.3 – Promotion**~~ — Sudah: Voucher CRUD, apply di POS, discount di order/receipt.
2. ~~**Milestone 2.5 – Delivery**~~ — Sudah: Order type delivery, alamat, HP, ongkir (manual), status delivery (preparing → on_the_way → delivered); POS form, order show, receipt, API Order store.
3. ~~**Milestone 2.4 – Loyalty**~~ — Sudah: Poin earn (order completed), redeem di POS; loyalty_tiers + point logs; setting per outlet (points_per_amount, redeem_value_per_point); tampilan poin di pelanggan & order/receipt.

---

*Terakhir diperbarui: 17 Februari 2026. Mengacu 15-FEATURE-MODULE-CHECKLIST.md dan 07-ROADMAP-IMPLEMENTATION.md.*
