# 21. Changelog

Catatan perubahan penting pada sistem Smart Order OS.

Format: [Tanggal] — Deskripsi perubahan.

---

## 2026-02-17

### ✨ Fitur Baru
- **Integrasi Midtrans (QRIS):** Pembayaran online via Midtrans Snap di POS.
  - File baru: `MidtransService.php`, `MidtransController.php`.
  - Tombol "Bayar QRIS (Midtrans)" di POS (dengan feature toggle).
  - Webhook otomatis untuk update status pembayaran.
- **Feature Flag `midtrans`:** Ditambahkan di `config/features.php`, bisa di-toggle per outlet.

### 📝 Dokumentasi
- **18-PAYMENT-GATEWAY-INTEGRATION.md:** Panduan lengkap integrasi payment gateway.
- **19-MULTI-TENANT-SAAS.md:** Strategi multi-tenant, billing, dan data privacy.
- **20-LOKALISASI-INDONESIA.md:** Lokalisasi bahasa, pajak, regulasi, dan target pasar Indonesia.
- **21-CHANGELOG.md:** File changelog ini.
- **22-COMPETITIVE-ANALYSIS.md:** Analisis kompetitif vs ESB Order dan kompetitor lain.

---

## Sebelum 2026-02-17 (Phase 1 & 2 Completed)

### ✅ Phase 1 — Foundation
- Auth & User (login, RBAC, multi-outlet)
- Outlet & Settings (CRUD, jam operasional, pajak, perangkat)
- Menu & Product (kategori, produk, modifier, recipe)
- Order (lifecycle, status log, dine-in/takeaway/delivery)
- POS (shift, keranjang, pembayaran manual, struk)
- KDS (station, timer, status cooking)
- Database schema & migration

### ✅ Phase 2 — Operational Power
- Inventory (stok, movement, supplier, PO)
- Customer & Loyalty (database, poin, tier, feedback)
- Promotion (voucher, aturan promo buy-x-get-y)
- Reporting (penjualan, laporan harian, konsolidasi)
- QR Order (order dari meja via QR code)
- Floor Plan & Peta Meja (editor drag-n-drop)
- Notification system (in-app, bell icon, mark read)
- API external (API key, OpenAPI/Swagger docs)
- Activity Log (audit trail)
- Billing & Subscription (plan management)

---

*Update changelog ini setiap kali ada perubahan signifikan pada sistem.*
