Commit Graph

12 Commits

Author SHA1 Message Date
micko samawa 00dc5b4a96 fix(mobile): resolve fake gallery item urls with their main photo path (uploads/kontrakan and uploads/Laundry) instead of forcing uploads/galeri path 2026-06-28 13:59:27 +07:00
micko samawa 5f54fe7db9 fix(mobile): use full absolute foto_url from API for Kontrakan and Laundry 2026-06-28 13:29:31 +07:00
micko samawa d26c52a5c9 Improve recommendation and laundry UI 2026-06-28 11:06:18 +07:00
micko samawa cf4435580d final update web and mobile 2026-06-12 22:46:44 +07:00
micko samawa e29c87645b feat: laundry UI — chips, presets, antar/jemput; remove rating; placeholder fixes; keep criteria visible 2026-05-19 16:52:14 +07:00
micko samawa 605e92bbd9 Fix: Reset super admin, fix User model role attribute, remove rate limiting for development
- Added new super admin account (mikoadmin@gmail.com)
- Fixed User model getRoleLabelAttribute() to handle null role
- Fixed AuthController to refresh user after creation
- Removed rate limiting from register/login endpoints for development
- Added migration to ensure role and phone columns exist
- Updated app config with correct IP (10.192.233.99:8000)
- Fixed API response to include all required fields for Flutter
2026-05-19 08:01:07 +07:00
micko samawa 1a277067f4 Fix favorites system: improve error handling, type safety, and UI feedback
- Rewrite favorite_service.dart with proper error handling, auth checks, and timeouts
- Add error state UI to favorites_screen.dart with retry button
- Add SnackBar feedback on toggle failures in home/search/detail screens
- Type-safe parsing with per-item error handling to prevent crashes
- Clean orphan favorite records from database
- Add debugPrint logging for troubleshooting
- All changes maintain backward compatibility
2026-03-07 00:45:30 +07:00
micko samawa 73e8f197f2 Add laundry open/close times and status fields
Features:
- Laundry: Add jam_buka, jam_tutup, status (buka/tutup) fields to database
- Web forms: Add opening/closing times and status dropdown to create/edit views
- Controller: Validate and save new fields in store() and update()
- Mobile: Parse time strings to remove seconds, display status and hours
- Mobile: Add cache clearing to auto-refresh image data from server
- Mobile: Fix photo priority (prefer 'foto' field over galeri entries)

Changes:
- spk_kontrakan/app/Models/Laundry.php: Update fillable
- spk_kontrakan/app/Http/Controllers/LaundryController.php: Add validation and storage
- spk_kontrakan/resources/views/Laundry/create.blade.php: Add form fields
- spk_kontrakan/resources/views/Laundry/edit.blade.php: Add form fields
- spk_mobile/lib/models/laundry.dart: Time parsing, photo priority fix
- spk_mobile/lib/models/kontrakan.dart: Photo priority fix
- spk_mobile/pubspec.yaml: Add flutter_cache_manager
- Mobile screens: Add cache clearing on data refresh
2026-02-27 03:56:39 +07:00
micko samawa d94e7db501 feat: add listing favorites + WhatsApp contact (manifest + model + UI) 2026-02-23 10:20:19 +07:00
micko samawa 5886d148ab Rewrite ProfileScreen: professional UI & navigation; add EditProfile and ChangePassword screens 2026-02-22 20:46:44 +07:00
micko samawa 5fe31899db feat: implement booking system and SAW improvements for mobile
- Add BookingFormScreen with date picker, duration selection, and cost calculation
- Wire up booking button in kontrakan detail screen with auth check
- Add auto-balance bobot system ensuring total always equals 100 percent
- Replace preset profiles with jenis_layanan selection for laundry SAW
- Fix kontrakan status display (tersedia/available) in cards
- Add isAvailable helper in Kontrakan model
- Add jenis_layanan parameter to API SAWController
- Update getNilaiLaundry to filter by specific service type
- Add intl package for date formatting in booking form
2026-02-20 22:57:21 +07:00
micko samawa fd956653ea Initial commit: SPK Rekomendasi Kontrakan & Laundry dengan Flutter dan Laravel 11 2026-02-10 21:20:48 +07:00