Menambahkan tombol cetak dan filter tahun pada infrastruktur #898
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.
Perbaikan issue #896
Membutuhkan PR https://github.com/OpenSID/API-Database-Gabungan/pull/288
Summary Perubahan Branch dev-896 vs rilis-dev
Ringkasan Umum
Total file yang berubah: 8 file
Detail Perubahan per File
1. app/Http/Controllers/DataPokokController.php
Perubahan: Menambahkan method baru
cetakInfrastruktur2. resources/views/components/filter-tahun.blade.php (File Baru)
Perubahan: Membuat komponen filter tahun baru
3. resources/views/data_pokok/infrastruktur/cetak.blade.php (File Baru)
Perubahan: Membuat halaman cetak untuk data infrastruktur
4. resources/views/data_pokok/infrastruktur/data.blade.php (File Dihapus)
Perubahan: Menghapus file yang tidak lagi digunakan
5. resources/views/data_pokok/infrastruktur/grafik.blade.php
Perubahan: Refactoring kode grafik untuk modularitas
tampilKondisiChart()untuk menampilkan grafik kondisi transportasitampilkanSanitasiChart()untuk menampilkan grafik sanitasichartData6. resources/views/data_pokok/infrastruktur/index.blade.php
Perubahan: Peningkatan signifikan pada halaman utama data infrastruktur
<x-filter-tahun /><x-print-button />7. resources/views/data_pokok/infrastruktur/pie.blade.php (File Dihapus)
Perubahan: Menghapus file yang tidak lagi digunakan
8. routes/web.php
Perubahan: Menambahkan route baru untuk cetak infrastruktur
/data-pokok/infrastruktur/cetakdengan methodcetakInfrastrukturdatapokok-infrastruktur-readAnalisis Perubahan
Fokus Utama Perubahan:
Impact pada Aplikasi:
Rekomendasi untuk Review:
simplescreenrecorder-2026-01-12_11.38.27.mp4