Keterangan: Sistem Pengaduan adalah sebuah platform yang dirancang untuk memfasilitasi masyarakat dalam menyampaikan keluhan, masukan, dan pengaduan terkait berbagai aspek layanan dan kondisi di suatu wilayah. Sistem ini bertujuan untuk meningkatkan transparansi, akuntabilitas, dan responsivitas pemerintah dalam menangani isu-isu yang dihadapi oleh warga, serta memperkuat hubungan antara pemerintah dan masyarakat.
Dengan menggunakan Sistem Pengaduan, warga dapat dengan mudah mengajukan pengaduan melalui situs web resmi. Mekanisme ini memberikan akses yang lebih luas dan fleksibel bagi masyarakat untuk menyampaikan masukan mereka, tanpa harus datang langsung ke kantor pemerintah.
**Ketentuan**:
1. |v| Implementasikan database seeder untuk insert data dummy category
2. |v| Implementasikan Laravel Media Library Package untuk upload bukti laporan
3. |v| Buat tabel laporan menggunakan Yajra DataTables
4. |v| Buat halaman riwayat perubahan status dari laporan (report tracker)
5. |v| Buat halaman report log menggunakan Laravel Activity Log Package
6. |v| Buat dokumentasi, sertakan gambar dari halaman atau fitur yang dibuat
7. |v| Upload ke GitLab
8. |v| Batas akhir pengumpulan 04/09/2023 17:00 WIB (http://adslink.id/TaskSubmission)
Route::get('login', [IndexController::class, 'masterLogin'])->name("login");
Route::get('register', [IndexController::class, 'masterRegister'])->name("register");
Route::post('doLlogin', [IndexController::class, 'doLogin'])->name("doLogin");
Route::post('doRegister', [IndexController::class, 'doRegister'])->name("doRegister");
Route::get('logout', [IndexController::class, 'logout'])->name("logout");
Route::prefix('admin')->group(function () {
Route::get('dashboard', [AdminController::class, 'masterDashboard'])->name("admin.dashboard");
Route::prefix('report')->group(function () {
Route::get('/', [AdminController::class, 'openReport'])->name("admin.open-report");
Route::get('/{id}', [AdminController::class, 'masterReport'])->name("admin.master-report");
Route::post('proseslaporan/{id}', [AdminController::class, 'processReport']);
});
Route::get('activity', [AdminController::class, 'masterActivity'])->name("admin.activity");
});
Route::prefix('reporter')->group(function () {
Route::get('dashboard', [ReporterController::class, 'reportDashboard'])->name("reporter.dashboard");
Route::get('form', [ReporterController::class, 'reportForm'])->name('report-form');
Route::post('form', [ReporterController::class, 'submitReport'])->name('submit-report');
Route::get('report/{id}', [ReporterController::class, 'masterReport'])->name("reporter.master-report");
});
Authentication :
Pelapor pada awalnya akan melakukan registrasi, setelah akun terbuat, maka pelapor akan masuk menggunakan email mereka.
![image](https://private-user-images.githubusercontent.com/99940538/265277445-8f75b8d5-534c-49fd-8b1e-f9b5ebd5b982.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc0NDUtOGY3NWI4ZDUtNTM0Yy00OWZkLThiMWUtZjliNWViZDViOTgyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTA5MDQ5ZDM0YmI1OTBiNzM5MjM0NzE5MTMwNmM1MWI2ZmQ3MTA3NjM5NWE4YjUzNjJmZTVhMjM1NzJhYmViZWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xAR1HIqvGzxIXsMLlOK9ESUrVta-kR7jWsVRwxhwzMY)
![image](https://private-user-images.githubusercontent.com/99940538/265277439-f364045e-4d11-4c25-b62e-bd51946bbb30.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc0MzktZjM2NDA0NWUtNGQxMS00YzI1LWI2MmUtYmQ1MTk0NmJiYjMwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTkyM2Y3NzQ1OWMwYzJiYzJmNjRlZmQxM2Q1YjFiMWY5MmM5MTEyZDQ0YmE4M2ZiZDRjOGI0NjVkNGJlMGIwZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.onet7bwDj8Mpc342SWXzjTJAM1I73DqBwK0z8m4gHXk)
Halaman Reporter : Pelapor memiliki 3 page yaitu:
- dashboard dimana pelapor dapat melihat Laporan yang telah mereka ajukan
- form dimana pelapor dapat mengisi form dan mengajukan laporan mereka
- report-detail dimana pelapor dapat melihat detail Laporan yang telah mereka ajukan
![image](https://private-user-images.githubusercontent.com/99940538/265277700-ac2810ee-7887-485f-9ab7-b8df6a89e92f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc3MDAtYWMyODEwZWUtNzg4Ny00ODVmLTlhYjctYjhkZjZhODllOTJmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxMDQ2ZDA4MzIwN2Y4ZTJkNGY0OTUyMTBmOWJkNzQwMzU0MmUwMWI5OTJmNDJmNjBmMzk3OWFjMDQ0OTI4ZWImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ECeJZ0vIHxd_LkNTpVqF6FaeJ7LioNah33AF4TkmhK0)
![image](https://private-user-images.githubusercontent.com/99940538/265277716-282f8436-22df-4f7f-b492-99cc52b9c2c7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc3MTYtMjgyZjg0MzYtMjJkZi00ZjdmLWI0OTItOTljYzUyYjljMmM3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWFiOWI0ODU1NjU4YmFhNmU2NWRlZTVhNjM5NTQ5MjQ2NGVhZmI1MWJkOWZkNWY2ODg5YTg4YjlmZGQ3NWVhN2EmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.d0-8drj_nhHDhkFAyEdHjf_y9LO230oSMQqkpvzdu6Q)
![image](https://private-user-images.githubusercontent.com/99940538/265277725-0efcb0ca-71ba-4559-a592-67518e5d81be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc3MjUtMGVmY2IwY2EtNzFiYS00NTU5LWE1OTItNjc1MThlNWQ4MWJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTY5Y2E1YzRiYTYxNmM3MDE2YTNmYmNjNGEyMTExMjc1MWU2MGMzODJjMTZkOTJhY2RhNzM5MDA3NTMyOGYxMDQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mvoTaapB5UAYI196LPyMuyX-pHL-UnmhWnEdPoMEg7E)
Halaman Admin : Admin memiliki 3 page yaitu:
- dashboard dimana admin dapat melihat semua laporan yang ada
- report-detail dimana admin dapat memproses laporan yang ada apabila status pending atau admin merupakan penanggung jawab laporan
- activity dimana admin dapat melihat semua activity admin yang ada
![image](https://private-user-images.githubusercontent.com/99940538/265277872-9dee10b0-0a8b-45f5-b566-8d67be5c951c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc4NzItOWRlZTEwYjAtMGE4Yi00NWY1LWI1NjYtOGQ2N2JlNWM5NTFjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIzZjJlMzIxYTQ1NzQ2NDYzYWYxN2VhZGRlNDBkYjVkZDFmZWMzZTM5YTBmODY3YTU5N2I5OWI5ZmJmMWY1ZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.URfEZcTr5-gnbBoLC3D-jqOafiPhAbdNjZNHbJreMvs)
![image](https://private-user-images.githubusercontent.com/99940538/265277893-01ef8409-8369-4e35-a030-d0e98d4ebb21.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc4OTMtMDFlZjg0MDktODM2OS00ZTM1LWEwMzAtZDBlOThkNGViYjIxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgzMGY1NTAwZDkwNTAxNDMyNzg4MTlhMWNjZmNiZTBhYzkxYjA4ODE4MTUzNjMzNDk0NzlhNGZiYmM1OWJmY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.UdyqUYNuWQB1XWK529BgWFGYxJItk5DJVmGk-62IBrc)
![image](https://private-user-images.githubusercontent.com/99940538/265277955-caafc52e-bb66-4555-a2ff-79e7f97fff6f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ3NDAxNzMsIm5iZiI6MTcyNDczOTg3MywicGF0aCI6Ii85OTk0MDUzOC8yNjUyNzc5NTUtY2FhZmM1MmUtYmI2Ni00NTU1LWEyZmYtNzllN2Y5N2ZmZjZmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI3VDA2MjQzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI4OWYyODI3YjVlNTU0NWZmY2MxMWMyNDI2MmRmOGY1Y2YzODExOTY1MWFhMzYyYmY0NmI1MWU0OWIwN2M4ZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.y9sQI_td4ZatY2wk8ZigBUV4tX2XGBRfc-QwGNz-vvI)