Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deskripsi
Overview
Commit ini mengimplementasikan fitur lengkap untuk manajemen Data Sarana dengan total 19 file yang dimodifikasi, menambah 922 baris kode dan menghapus 627 baris kode.
Perubahan Utama
1. Backend Components
app/Http/Controllers/Data/DataSaranaController.php- 115 baris diubahapp/Models/DataSarana.php- 17 baris diubahapp/Models/DataDesa.php- 5 baris ditambahapp/Enums/KategoriSarana.php- 144 baris baru (kategori sarana lengkap)app/Http/Requests/DataSaranaRequest.php- 63 baris baruapp/Http/Requests/DataSaranaImportRequest.php- 59 baris baru2. Import/Export Functionality
app/Exports/ExportDataSarana.php- 5 baris diubahapp/Imports/ImportDataSarana.php- 21 baris diubahstorage/app/public/template_upload/Format_Upload_Data_Sarana.xlsx- File template baru (5,794 bytes)3. Database
database/migrations/2026_02_04_115608_create_saranas_table.php- 7 baris diubah4. Frontend Views
resources/views/data/data_sarana/index.blade.php- 85 baris diubahresources/views/data/data_sarana/create.blade.php- 115 baris diubahresources/views/data/data_sarana/edit.blade.php- 121 baris diubahresources/views/data/data_sarana/form.blade.php- 45 baris baruresources/views/data/data_sarana/import.blade.php- 243 baris diubah5. Layout Components
resources/views/layouts/fragments/list-desa.blade.php- 11 baris diubahresources/views/layouts/fragments/select-desa.blade.php- 21 baris baru6. Routing
routes/web.php- 3 baris diubah (penambahan route data sarana)7. Testing
tests/Feature/DataSaranaControllerTest.php- 469 baris diubah (penambahan test komprehensif)Fitur yang Diimplementasikan
Kategori Sarana yang Tersedia
Masalah Terkait (Related Issue)
Langkah untuk mereproduksi (Steps to Reproduce)
Daftar Periksa (Checklist)
Tangkapan Layar (Screenshot)