Commit Graph

9 Commits

Author SHA1 Message Date
mwpn
c9928c5a6e Add debug script to check why total_amount is not calculated in hourly summary 2025-12-17 17:49:41 +07:00
mwpn
1aa462d9da Fix hourly summary: default to today for realtime updates, add hour parameter for efficient updates 2025-12-17 17:41:27 +07:00
mwpn
a87d29c228 chore: Normalize Origin header in CORS middleware dan update test_cors 2025-12-17 14:25:29 +07:00
mwpn
e59bf9d981 feat: Tambah script test_cors.php untuk debug CORS middleware 2025-12-17 14:07:45 +07:00
mwpn
bae1da324b fix: Perbaiki CORS middleware agar selalu add headers jika wildcard diizinkan, tambah script check_cors.php 2025-12-17 14:02:49 +07:00
mwpn
b10d590649 Fix: Remove created_at/updated_at from daily/hourly summary INSERT - Production database doesn't have these columns - Update DailySummaryService and HourlySummaryService - Add daily_summary and hourly_summary structure check to check_database.php 2025-12-17 13:38:36 +07:00
mwpn
ca3b1bd0d7 Fix: Change 'amount' to 'price' to match database schema - Database uses 'price' column, not 'amount' - Update all queries in DailySummaryService, HourlySummaryService - Update RetribusiWriteService (SELECT, INSERT, UPDATE) - Update Validator to use 'price' field - Update check_database.php and TROUBLESHOOTING.md 2025-12-17 13:36:29 +07:00
mwpn
56403469ef Add: Database verification scripts and troubleshooting guide 2025-12-17 13:35:03 +07:00
mwpn
39f23388a7 Initial commit: Slim Framework 4 API Retribusi dengan modular architecture 2025-12-17 10:43:03 +07:00